From b224f0abcec0c74437b74248d802e73affc147e8 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 15 Oct 2014 17:07:05 -0400 Subject: [PATCH] adding css/less files and html files for portal adding css and html files for the portal mode --- awx/ui/static/less/ansible-ui.less | 3 ++- awx/ui/static/less/portal.less | 39 ++++++++++++++++++++++++++++++ awx/ui/static/partials/portal.html | 27 +++++++++++++++++++-- 3 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 awx/ui/static/less/portal.less diff --git a/awx/ui/static/less/ansible-ui.less b/awx/ui/static/less/ansible-ui.less index ffdcd28cb4..ac576f7138 100644 --- a/awx/ui/static/less/ansible-ui.less +++ b/awx/ui/static/less/ansible-ui.less @@ -60,7 +60,8 @@ @import "lists.less"; @import "new-dashboard.less"; @import "jPushMenu.less"; -@import "survey-maker.less"; +@import "survey-maker.less"; +@import "portal.less"; /* Bootstrap fix that's causing a right margin to appear whenver a modal is opened */ diff --git a/awx/ui/static/less/portal.less b/awx/ui/static/less/portal.less new file mode 100644 index 0000000000..c8f7728731 --- /dev/null +++ b/awx/ui/static/less/portal.less @@ -0,0 +1,39 @@ +/********************************************* + * Copyright (c) 2014 AnsibleWorks, Inc. + * + * portal.css + * + * custom styles for poral mode + * + */ + + + + + +.portal-container{ + border: 1px solid @grey; + border-radius: 4px; + padding: 5px; +} + +.portal-header{ + margin: 5px; + margin-left: 10px; + font-size: 14px; + font-weight: bold; +} + +#portal-jobs{ + margin-top: 20px; +} + @media (min-width: 769px) { + .left-side { + padding-right: 7px; + } + + .right-side { + padding-left: px; + } +} + diff --git a/awx/ui/static/partials/portal.html b/awx/ui/static/partials/portal.html index 19904b434b..e6ea4d3ced 100644 --- a/awx/ui/static/partials/portal.html +++ b/awx/ui/static/partials/portal.html @@ -1,3 +1,26 @@ -
-
+
+
+
+
+
+
+
+
+
+
+
+ Job Templates +
+
+
+
+
+
+ Jobs +
+
+
+
+
+
\ No newline at end of file