diff --git a/awx/ui/client/legacy-styles/ansible-ui.less b/awx/ui/client/legacy-styles/ansible-ui.less index 8375321a46..c953778157 100644 --- a/awx/ui/client/legacy-styles/ansible-ui.less +++ b/awx/ui/client/legacy-styles/ansible-ui.less @@ -2330,3 +2330,15 @@ html input[disabled] { input[disabled].ui-spinner-input { background-color: @egrey; } + +.CodeMirror-scroll { + margin-bottom: 0; + padding-bottom: 0; + margin-right: 0; + overflow: auto !important; + overflow-y: auto !important; +} + +.CodeMirror-lines { + margin-bottom: 20px; +} diff --git a/awx/ui/client/legacy-styles/codemirror.less b/awx/ui/client/legacy-styles/codemirror.less index 6c402ada5b..a317585460 100644 --- a/awx/ui/client/legacy-styles/codemirror.less +++ b/awx/ui/client/legacy-styles/codemirror.less @@ -9,7 +9,7 @@ .CodeMirror { height: auto; - overflow-x: scroll; + overflow-x: auto; overflow-y: hidden; border: 1px solid @b7grey; } diff --git a/awx/ui/client/legacy-styles/forms.less b/awx/ui/client/legacy-styles/forms.less index a279e5aa2a..7af8a7c322 100644 --- a/awx/ui/client/legacy-styles/forms.less +++ b/awx/ui/client/legacy-styles/forms.less @@ -282,11 +282,21 @@ color: @login-notice-text; } +.Button-primary--hollow { + border: 1px solid @default-link; + color: @default-link; + background: @default-bg; +} +.Button-primary--hollow:hover { + color: @default-link-hov; + border: 1px solid @default-link-hov; +} + .ui-spinner{ height: 30px; - background-color: @field-secondary-bg; + background-color: @field-secondary-bg !important; border-radius: 5px; - border:1px solid @field-border; + border:1px solid @field-border !important; color: @field-input-text; width:100% } diff --git a/awx/ui/client/legacy-styles/lists.less b/awx/ui/client/legacy-styles/lists.less index 20a5bb7a4a..5c90f2eeb9 100644 --- a/awx/ui/client/legacy-styles/lists.less +++ b/awx/ui/client/legacy-styles/lists.less @@ -20,6 +20,7 @@ table, tbody { .List-table{ width: 100%; + margin-top: 20px; table-layout: fixed; } @@ -129,7 +130,7 @@ table, tbody { .List-titleBadge { font-size: 11px; font-weight: normal; - padding: 1px 10px; + padding: 2px 10px; height: 14px; margin: 3px 0; background-color: @list-title-badge; diff --git a/awx/ui/client/legacy-styles/main-layout.less b/awx/ui/client/legacy-styles/main-layout.less index 99c865d737..ac74aa8e22 100644 --- a/awx/ui/client/legacy-styles/main-layout.less +++ b/awx/ui/client/legacy-styles/main-layout.less @@ -21,7 +21,7 @@ body { padding-bottom: 50px; position: relative; background-color: @default-secondary-bg; - padding-top: 96px; + padding-top: 100px; } .container-fluid { diff --git a/awx/ui/client/src/credentials/credentials.list.js b/awx/ui/client/src/credentials/credentials.list.js index dcbe4db556..01842554ad 100644 --- a/awx/ui/client/src/credentials/credentials.list.js +++ b/awx/ui/client/src/credentials/credentials.list.js @@ -26,12 +26,9 @@ export default ['i18n', function(i18n) { key: true, label: i18n._('Name'), columnClass: 'col-md-3 col-sm-9 col-xs-9', - modalColumnClass: 'col-md-11' - }, - description: { - label: i18n._('Description'), - excludeModal: true, - columnClass: 'col-md-3 hidden-sm hidden-xs' + modalColumnClass: 'col-md-11', + awToolTip: '{{credential.description}}', + dataPlacement: 'top' }, kind: { label: i18n._('Type'), diff --git a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less index bd17e39aa8..3f18d18ae9 100644 --- a/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less +++ b/awx/ui/client/src/home/dashboard/graphs/dashboard-graphs.block.less @@ -33,8 +33,6 @@ .DashboardGraphs-graphSection { display: block; flex: 1; - padding-top:20px; - margin-bottom: -20px; } .DashboardGraphs-graphContainer { diff --git a/awx/ui/client/src/home/dashboard/graphs/graph-helpers/auto-size.directive.js b/awx/ui/client/src/home/dashboard/graphs/graph-helpers/auto-size.directive.js index 70226f4f7e..1604d58ba5 100644 --- a/awx/ui/client/src/home/dashboard/graphs/graph-helpers/auto-size.directive.js +++ b/awx/ui/client/src/home/dashboard/graphs/graph-helpers/auto-size.directive.js @@ -20,12 +20,12 @@ function AutoSizeModule($window) { function adjustSize() { if (attrs.graphType === "hostStatus") { if (element.parent().width() > 596) { - element.height(320);//596); + element.height(285);//596); } else { element.height(element.parent().width()); } } else { - element.height(320); + element.height(285); } } diff --git a/awx/ui/client/src/inventories/inventory.list.js b/awx/ui/client/src/inventories/inventory.list.js index cea3ebb79b..e5f0930a8c 100644 --- a/awx/ui/client/src/inventories/inventory.list.js +++ b/awx/ui/client/src/inventories/inventory.list.js @@ -44,7 +44,9 @@ export default ['i18n', function(i18n) { label: i18n._('Name'), columnClass: 'col-md-5 col-sm-5 col-xs-8 List-staticColumnAdjacent', modalColumnClass: 'col-md-11', - linkTo: '/#/inventories/{{inventory.id}}/manage' + linkTo: '/#/inventories/{{inventory.id}}/manage', + awToolTip: "{{ inventory.description }}", + awTipPlacement: "top" }, organization: { label: i18n._('Organization'), diff --git a/awx/ui/client/src/inventory-scripts/inventory-scripts.list.js b/awx/ui/client/src/inventory-scripts/inventory-scripts.list.js index 519b718a53..6c2a9a775b 100644 --- a/awx/ui/client/src/inventory-scripts/inventory-scripts.list.js +++ b/awx/ui/client/src/inventory-scripts/inventory-scripts.list.js @@ -19,12 +19,9 @@ export default ['i18n', function(i18n){ key: true, label: i18n._('Name'), columnClass: 'col-md-3 col-sm-9 col-xs-9', - modalColumnClass: 'col-md-8' - }, - description: { - label: i18n._('Description'), - excludeModal: true, - columnClass: 'col-md-4 hidden-sm hidden-xs' + modalColumnClass: 'col-md-8', + awToolTip: '{{inventory_script.description}}', + dataPlacement: 'top' }, organization: { label: i18n._('Organization'), diff --git a/awx/ui/client/src/management-jobs/management-jobs.list.js b/awx/ui/client/src/management-jobs/management-jobs.list.js index fb071687f9..22474d0461 100644 --- a/awx/ui/client/src/management-jobs/management-jobs.list.js +++ b/awx/ui/client/src/management-jobs/management-jobs.list.js @@ -15,11 +15,9 @@ export default function(){ fields: { name: { label: 'Name', - columnClass: 'col-sm-4 col-xs-4' - }, - description: { - label: 'Description', - columnClass: 'col-sm-6 col-xs-6 hidden-sm hidden-xs' + columnClass: 'col-sm-4 col-xs-4', + awToolTip: '{{configure_job.description}}', + dataPlacement: 'top' } }, actions: { diff --git a/awx/ui/client/src/notifications/notificationTemplates.list.js b/awx/ui/client/src/notifications/notificationTemplates.list.js index 009fc44074..c90b93db5c 100644 --- a/awx/ui/client/src/notifications/notificationTemplates.list.js +++ b/awx/ui/client/src/notifications/notificationTemplates.list.js @@ -31,7 +31,9 @@ export default ['i18n', function(i18n){ key: true, label: i18n._('Name'), columnClass: 'col-md-3 col-sm-9 col-xs-9', - linkTo: '/#/notification_templates/{{notification_template.id}}' + linkTo: '/#/notification_templates/{{notification_template.id}}', + awToolTip: '{{notification_template.description}}', + dataPlacement: 'top' }, notification_type: { label: i18n._('Type'), diff --git a/awx/ui/client/src/organizations/list/organizations-list.partial.html b/awx/ui/client/src/organizations/list/organizations-list.partial.html index e178809328..ed87d6f1f9 100644 --- a/awx/ui/client/src/organizations/list/organizations-list.partial.html +++ b/awx/ui/client/src/organizations/list/organizations-list.partial.html @@ -52,7 +52,11 @@ ng-class="{'OrgCards-card--selected': $stateParams.organization_id == card.id}" ng-repeat="card in orgCards track by card.id">
-

{{ card.name }}

+

+ {{ card.name }} +

-

{{ card.description || "Place organization description here" }}