UI Audit updates

This commit is contained in:
Ken Hoes
2016-06-13 13:07:50 -04:00
parent 9e56913893
commit d1a8b6493c
19 changed files with 48 additions and 61 deletions

View File

@@ -922,7 +922,6 @@ select.page-size {
*/ */
/* end */ /* end */
.greeting { .greeting {
padding-right: 22px; padding-right: 22px;
} }
@@ -1978,7 +1977,7 @@ tr td button i {
.nvtooltip { .nvtooltip {
border-radius: 4px; border-radius: 4px;
padding: 10px; padding: 5px;
} }
.nvtooltip td.value { .nvtooltip td.value {

View File

@@ -64,7 +64,6 @@
color: @default-interface-txt; color: @default-interface-txt;
background-color: @default-list-header-bg; background-color: @default-list-header-bg;
border-radius: 5px; border-radius: 5px;
border: 1px solid @btn-bord;
font-size: 10px; font-size: 10px;
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;

View File

@@ -117,6 +117,11 @@ table.ui-datepicker-calendar {
} }
} }
.ui-dialog-buttonpane > .ui-dialog-buttonset {
button {
margin-left: 20px;
}
}
.ui-dialog-buttonset { .ui-dialog-buttonset {
text-transform: uppercase; text-transform: uppercase;

View File

@@ -150,7 +150,6 @@ table, tbody {
.List-header { .List-header {
display: flex; display: flex;
align-items: center;
min-height: 34px; min-height: 34px;
} }

View File

@@ -443,6 +443,11 @@ export function ProjectsAdd(Refresh, $scope, $rootScope, $compile, $location, $l
input_type: "radio" input_type: "radio"
}); });
CreateSelect2({
element: '#local-path-select',
multiple: false
});
// Save // Save
$scope.formSave = function () { $scope.formSave = function () {
var i, fld, url, data={}; var i, fld, url, data={};

View File

@@ -119,6 +119,7 @@
box-shadow: none; box-shadow: none;
text-transform: uppercase; text-transform: uppercase;
cursor: pointer; cursor: pointer;
border-color: @d7grey;
} }
.DashboardGraphs-periodDropdown, .DashboardGraphs-periodDropdown,

View File

@@ -239,7 +239,6 @@ export default
}, },
class: 'Form-textAreaLabel Form-formGroup--fullWidth', class: 'Form-textAreaLabel Form-formGroup--fullWidth',
elementClass: 'Form-monospace', elementClass: 'Form-monospace',
hintText: "{{ key_hint }}",
addRequired: false, addRequired: false,
editRequired: false, editRequired: false,
awDropFile: true, awDropFile: true,

View File

@@ -23,6 +23,10 @@
.copyMove-buttons{ .copyMove-buttons{
height: 30px; height: 30px;
margin-top: 10px; margin-top: 10px;
button {
margin-left: 20px;
}
} }
.copyMove-root{ .copyMove-root{
margin-top: 10px; margin-top: 10px;

View File

@@ -15,7 +15,7 @@
<span><input type="checkbox" ng-model="targetRootGroup" ng-change="toggleTargetRootGroup()"> Use the inventory root</span> <span><input type="checkbox" ng-model="targetRootGroup" ng-change="toggleTargetRootGroup()"> Use the inventory root</span>
</div> </div>
<div class="copyMove-buttons"> <div class="copyMove-buttons">
<button type="button" class="pull-right btn btn-sm btn-default Form-cancelButton" ng-click="formCancel()">Cancel</button>
<button type="button" class="pull-right btn btn-sm Form-saveButton" ng-disabled="!selected" ng-click="formSave()">Save</button> <button type="button" class="pull-right btn btn-sm Form-saveButton" ng-disabled="!selected" ng-click="formSave()">Save</button>
<button type="button" class="pull-right btn btn-sm btn-default Form-cancelButton" ng-click="formCancel()">Cancel</button>
</div> </div>
</div> </div>

View File

@@ -10,5 +10,8 @@ export default {
name: 'inventoryJobTemplateAdd', name: 'inventoryJobTemplateAdd',
url: '/inventories/:inventory_id/job_templates/add', url: '/inventories/:inventory_id/job_templates/add',
templateUrl: templateUrl('job-templates/add/job-templates-add'), templateUrl: templateUrl('job-templates/add/job-templates-add'),
controller: 'JobTemplatesAdd' controller: 'JobTemplatesAdd',
ncyBreadcrumb: {
label: "Inventory Job Template Add"
},
}; };

View File

@@ -20,6 +20,7 @@ export default
"finished, click the blue <em>Select</em> button, located bottom right.</p> <p>Create a brand new credential by clicking ", "finished, click the blue <em>Select</em> button, located bottom right.</p> <p>Create a brand new credential by clicking ",
index: false, index: false,
hover: true, hover: true,
emptyListText: 'No Credentials Have Been Created',
fields: { fields: {
name: { name: {

View File

@@ -629,15 +629,15 @@
</div> </div>
<div class="buttons Form-buttons"> <div class="buttons Form-buttons">
<button type="button"
class="btn btn-sm Form-cancelButton"
id="project_cancel_btn"
ng-click="formCancel()">Cancel</button>
<button type="button" <button type="button"
class="btn btn-sm Form-saveButton" class="btn btn-sm Form-saveButton"
id="project_save_btn" id="project_save_btn"
ng-click="saveSchedule()" ng-click="saveSchedule()"
ng-disabled="!schedulerIsValid"> Save</button> ng-disabled="!schedulerIsValid"> Save</button>
<button type="button"
class="btn btn-sm Form-cancelButton"
id="project_cancel_btn"
ng-click="formCancel()">Cancel</button>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -33,9 +33,7 @@
} }
.AddUsers-header { .AddUsers-header {
padding: 20px; padding: 15px 20px 0 20px
padding-bottom: 10px;
padding-top: 15px;
} }
.AddUsers-body { .AddUsers-body {

View File

@@ -21,17 +21,17 @@
</div> </div>
<div class="AddUsers-footer"> <div class="AddUsers-footer">
<div class="buttons Form-buttons AddUsers-buttons"> <div class="buttons Form-buttons AddUsers-buttons">
<button type="button"
class="btn btn-sm Form-cancelButton"
ng-click="closeModal()">
Cancel
</button>
<button type="button" <button type="button"
class="btn btn-sm Form-saveButton" class="btn btn-sm Form-saveButton"
ng-click="updateUsers()" ng-click="updateUsers()"
ng-disabled="!selectedItems || !selectedItems.length"> ng-disabled="!selectedItems || !selectedItems.length">
Save Save
</button> </button>
<button type="button"
class="btn btn-sm Form-cancelButton"
ng-click="closeModal()">
Cancel
</button>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -5,6 +5,7 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
width: 100%; width: 100%;
justify-content: space-between;
} }
.OrgCards-search tag-search{ .OrgCards-search tag-search{
@@ -32,6 +33,7 @@
flex-wrap: wrap; flex-wrap: wrap;
align-items: baseline; align-items: baseline;
margin-top: 20px; margin-top: 20px;
width: 32%
} }
.OrgCards-card--selected { .OrgCards-card--selected {
@@ -95,42 +97,15 @@
margin-right: 10px; margin-right: 10px;
} }
@media (min-width: 1179px) { @media (max-width: 840px) {
.OrgCards-card {
width: ~"calc(25% - 15px)";
margin-right: 20px;
}
.OrgCards-card:nth-child(4n+4) {
margin-right: 0px;
}
}
@media (min-width: 901px) and (max-width: 1178px) {
.OrgCards-card {
width: ~"calc(33% - 11px)";
margin-right: 20px;
}
.OrgCards-card:nth-child(3n+3) {
margin-right: 0px;
}
}
@media (min-width: 616px) and (max-width: 900px) {
.OrgCards-card {
width: ~"calc(50% - 10px)";
margin-right: 20px;
}
.OrgCards-card:nth-child(2n+2) {
margin-right: 0px;
}
}
@media (max-width: 615px) {
.OrgCards-card { .OrgCards-card {
width: 100%; width: 100%;
margin-right: 0px; margin-right: 0px;
} }
} }
@media (min-width: 840px) and (max-width: 1240px) {
.OrgCards-card {
width: ~"calc(50% - 10px)";
}
}

View File

@@ -665,15 +665,15 @@
</div> </div>
</div> </div>
<div class="buttons Form-buttons"> <div class="buttons Form-buttons">
<button type="button"
class="btn btn-sm Form-cancelButton"
id="project_cancel_btn"
ng-click="formCancel()">Cancel</button>
<button type="button" <button type="button"
class="btn btn-sm Form-saveButton" class="btn btn-sm Form-saveButton"
id="project_save_btn" id="project_save_btn"
ng-click="saveSchedule()" ng-click="saveSchedule()"
ng-disabled="!schedulerIsValid"> Save</button> ng-disabled="!schedulerIsValid"> Save</button>
<button type="button"
class="btn btn-sm Form-cancelButton"
id="project_cancel_btn"
ng-click="formCancel()">Cancel</button>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1,5 +1,5 @@
<div class="TagSearch row"> <div class="TagSearch row">
<div ng-class="listConfig.searchSize || 'col-lg-5 col-md-12 col-sm-12 col-xs-12'"> <div ng-class="listConfig.searchSize || 'col-lg-12 col-md-12 col-sm-12 col-xs-12'">
<div class="TagSearch-bar"> <div class="TagSearch-bar">
<div class="TagSearch-typeDropdown" <div class="TagSearch-typeDropdown"
ng-click="toggleTypeDropdown()" ng-click="toggleTypeDropdown()"

View File

@@ -768,7 +768,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
if (field.type === 'alertblock') { if (field.type === 'alertblock') {
html += "<div class=\"row\">\n"; html += "<div class=\"row\">\n";
html += "<div class=\""; html += "<div class=\"";
html += (options.modal || options.id) ? "col-lg-12" : "col-lg-8 col-lg-offset-2"; html += (options.modal || options.id) ? "col-lg-12" : "col-lg-12";
html += "\">\n"; html += "\">\n";
html += "<div class=\"Form-alertblock"; html += "<div class=\"Form-alertblock";
html += (field.closeable === undefined || field.closeable === true) ? " alert-dismissable" : ""; html += (field.closeable === undefined || field.closeable === true) ? " alert-dismissable" : "";

View File

@@ -1,8 +1,7 @@
<section class="SystemTrackingContainer Panel" ng-if="noModuleData"> <section class="SystemTrackingContainer Panel" ng-if="noModuleData">
<section class="FactDataError SystemTrackingContainer-main"> <section class="FactDataError SystemTrackingContainer-main">
<p class="FactDataError-note--full"> <p class="FactDataError-note--full">
To setup or run scan jobs, edit the "<a link-to="inventoryEdit" model="{ inventory_id: inventory }">{{inventory.name}}</a>" inventory and select "Scan Job Templates." To setup or run scan jobs, edit the "<a ui-sref="inventories.edit({ inventory_id: inventory.id })">{{inventory.name}}</a>" inventory and select "Scan Job Templates."
</p> </p>
</section> </section>
</section> </section>