1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-28 10:55:30 +03:00

Removed uppercasing from resource names in titles

This commit is contained in:
Michael Abashian 2017-03-08 17:35:20 -05:00
parent 3679e9b00c
commit d65d505862
63 changed files with 77 additions and 82 deletions

View File

@ -40,7 +40,6 @@
.Form-title{
flex: 0 1 auto;
text-transform: uppercase;
color: @list-header-txt;
font-size: 14px;
font-weight: bold;
@ -50,6 +49,10 @@
margin-bottom: 20px;
}
.Form-title--uppercase {
text-transform: uppercase;
}
.Form-secondaryTitle{
color: @default-icon;
padding-bottom: 20px;

View File

@ -147,7 +147,6 @@ table, tbody {
font-size: 14px;
font-weight: bold;
margin-right: 10px;
text-transform: uppercase;
}
.List-actionHolder {

View File

@ -7,7 +7,7 @@
<div class="tab-pane" id="configuration-panel">
<div ng-cloak id="htmlTemplate" class="Panel">
<div class="Form-header">
<div class="Form-title" translate>Configure Tower</div>
<div class="Form-title" translate>CONFIGURE TOWER</div>
</div>
<div class="row Form-tabRow">
<div class="col-lg-12">

View File

@ -10,8 +10,8 @@ export default [ 'i18n', function(i18n){
name: 'hosts',
iterator: 'host',
selectTitle: i18n._('Add Existing Hosts'),
editTitle: i18n._('Hosts'),
listTitle: i18n._('Hosts'),
editTitle: i18n._('HOSTS'),
listTitle: i18n._('HOSTS'),
index: false,
hover: true,
well: true,

View File

@ -22,7 +22,7 @@ export default
return {
name: 'activity',
editTitle: i18n._('Activity Detail'),
editTitle: i18n._('ACTIVITY DETAIL'),
well: false,
'class': 'horizontal-narrow',
formFieldSize: 'col-lg-10',

View File

@ -15,7 +15,7 @@ export default
.factory('CredentialForm', ['i18n', function(i18n) {
return {
addTitle: i18n._('Create Credential'), //Legend in add mode
addTitle: i18n._('CREATE CREDENTIAL'), //Legend in add mode
editTitle: '{{ name }}', //Legend in edit mode
name: 'credential',
// the top-most node of generated state tree

View File

@ -14,7 +14,7 @@ export default
angular.module('GroupFormDefinition', [])
.value('GroupFormObject', {
addTitle: 'Create Group',
addTitle: 'CREATE GROUP',
editTitle: '{{ name }}',
showTitle: true,
name: 'group',

View File

@ -14,7 +14,7 @@ export default
angular.module('HostGroupsFormDefinition', [])
.value('HostGroupsForm', {
editTitle: 'Host Groups',
editTitle: 'HOST GROUPS',
name: 'host',
well: false,
formLabelSize: 'col-lg-3',

View File

@ -15,7 +15,7 @@ export default
.factory('HostForm', ['i18n', function(i18n) {
return {
addTitle: i18n._('Create Host'),
addTitle: i18n._('CREATE HOST'),
editTitle: '{{ host.name }}',
name: 'host',
basePath: 'hosts',

View File

@ -15,7 +15,7 @@ angular.module('InventoryFormDefinition', [])
.factory('InventoryForm', ['i18n', function(i18n) {
return {
addTitle: i18n._('New Inventory'),
addTitle: i18n._('NEW INVENTORY'),
editTitle: '{{ inventory_name }}',
name: 'inventory',
basePath: 'inventory',

View File

@ -3,7 +3,7 @@
*
* All Rights Reserved
*************************************************/
/**
* @ngdoc function
* @name forms.function:InventoryStatus
@ -14,7 +14,7 @@ export default
.value('InventoryStatusForm', {
name: 'inventory_update',
editTitle: 'Inventory Status',
editTitle: 'INVENTORY STATUS',
well: false,
'class': 'horizontal-narrow',

View File

@ -17,7 +17,7 @@ export default
.factory('JobTemplateFormObject', ['i18n', function(i18n) {
return {
addTitle: i18n._('New Job Template'),
addTitle: i18n._('NEW JOB TEMPLATE'),
editTitle: '{{ name }}',
name: 'job_template',
breadcrumbName: i18n._('JOB TEMPLATE'),

View File

@ -15,7 +15,7 @@ export default
.factory('OrganizationFormObject', ['i18n', function(i18n) {
return {
addTitle: i18n._('New Organization'), //Title in add mode
addTitle: i18n._('NEW ORGANIZATION'), //Title in add mode
editTitle: '{{ name }}', //Title in edit mode
name: 'organization', //entity or model name in singular form
stateTree: 'organizations',

View File

@ -3,7 +3,7 @@
*
* All Rights Reserved
*************************************************/
/**
* @ngdoc function
* @name forms.function:ProjectStatus
@ -15,7 +15,7 @@ export default
.value('ProjectStatusForm', {
name: 'project_update',
editTitle: 'SCM Status',
editTitle: 'SCM STATUS',
well: false,
'class': 'horizontal-narrow',

View File

@ -15,7 +15,7 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition'])
.factory('ProjectsFormObject', ['i18n', function(i18n) {
return {
addTitle: i18n._('New Project'),
addTitle: i18n._('NEW PROJECT'),
editTitle: '{{ name }}',
name: 'project',
basePath: 'projects',

View File

@ -15,7 +15,7 @@ export default
.factory('TeamForm', ['i18n', function(i18n) {
return {
addTitle: i18n._('New Team'), //Legend in add mode
addTitle: i18n._('NEW TEAM'), //Legend in add mode
editTitle: '{{ name }}', //Legend in edit mode
name: 'team',
// the top-most node of generated state tree

View File

@ -15,7 +15,7 @@ export default
.factory('UserForm', ['i18n', function(i18n) {
return {
addTitle: i18n._('New User'),
addTitle: i18n._('NEW USER'),
editTitle: '{{ username }}',
name: 'user',
// the top-most node of generated state tree

View File

@ -16,7 +16,7 @@ export default
.factory('WorkflowFormObject', ['i18n', function(i18n) {
return {
addTitle: i18n._('New Workflow Job Template'),
addTitle: i18n._('NEW WORKFLOW JOB TEMPLATE'),
editTitle: '{{ name }}',
name: 'workflow_job_template',
breadcrumbName: i18n._('WORKFLOW'),

View File

@ -97,7 +97,7 @@ angular.module('inventory', [
'@': {
templateProvider: function(ScheduleList, generateList, ParentObject) {
// include name of parent resource in listTitle
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('Schedules');
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('SCHEDULES');
let html = generateList.build({
list: ScheduleList,
mode: 'edit'

View File

@ -12,7 +12,7 @@
export default function() {
return {
addTitle: 'Execute Command',
addTitle: 'EXECUTE COMMAND',
name: 'adhoc',
well: true,
forceListeners: true,

View File

@ -13,7 +13,7 @@
export default ['i18n', function(i18n) {
return {
addTitle: i18n._('New Custom Inventory'),
addTitle: i18n._('NEW CUSTOM INVENTORY'),
editTitle: '{{ name }}',
name: 'inventory_script',
basePath: 'inventory_scripts',

View File

@ -9,7 +9,7 @@
export default ['i18n', function(i18n){
return {
name: 'inventory_scripts' ,
listTitle: i18n._('Inventory Scripts'),
listTitle: i18n._('INVENTORY SCRIPTS'),
iterator: 'inventory_script',
index: false,
hover: false,

View File

@ -57,7 +57,6 @@
font-size: 14px;
font-weight: bold;
margin-right: 10px;
text-transform: uppercase;
}
.JobDetail-panelHeaderText:hover{

View File

@ -37,7 +37,6 @@
font-size: 14px;
font-weight: bold;
margin-right: 10px;
text-transform: uppercase;
}
.JobSubmission-titleLockup {
margin-left: 4px;

View File

@ -13,7 +13,7 @@ export default
name: 'jobs',
basePath: 'unified_jobs',
iterator: 'job',
editTitle: i18n._('All Jobs'),
editTitle: i18n._('ALL JOBS'),
index: false,
hover: true,
well: false,

View File

@ -14,7 +14,7 @@ export default
name: 'cloudcredentials',
iterator: 'cloudcredential',
selectTitle: 'Add Cloud Credentials',
editTitle: 'Cloud Credentials',
editTitle: 'CLOUD CREDENTIALS',
selectInstructions: '<p>Select existing credentials by clicking each credential or checking the related checkbox. When finished, click the blue ' +
'<em>Select</em> button, located bottom right.</p> <p>Create a brand new credential by clicking the <i class=\"fa fa-plus"></i> button.</p>',
index: false,

View File

@ -15,7 +15,7 @@ export default
name: 'completed_jobs',
basePath: 'api/v1/job_templates/{{$stateParams.job_template_id}}/jobs/?or__status=successful&or__status=failed&or__status=error&or__status=canceled',
iterator: 'completed_job',
editTitle: i18n._('Completed Jobs'),
editTitle: i18n._('COMPLETED JOBS'),
index: false,
hover: true,
well: false,

View File

@ -15,8 +15,8 @@ export default
name: 'credentials',
iterator: 'credential',
selectTitle: i18n._('Add Credentials'),
editTitle: i18n._('Credentials'),
listTitle: i18n._('Credentials'),
editTitle: i18n._('CREDENTIALS'),
listTitle: i18n._('CREDENTIALS'),
selectInstructions: "<p>Select existing credentials by clicking each credential or checking the related checkbox. When " +
"finished, click the blue <em>Select</em> button, located bottom right.</p> <p>Create a brand new credential by clicking ",
index: false,

View File

@ -13,8 +13,8 @@ export default
name: 'inventories',
iterator: 'inventory',
selectTitle: i18n._('Add Inventories'),
editTitle: i18n._('Inventories'),
listTitle: i18n._('Inventories'),
editTitle: i18n._('INVENTORIES'),
listTitle: i18n._('INVENTORIES'),
selectInstructions: i18n.sprintf(i18n._("Click on a row to select it, and click Finished when done. Click the %s button to create a new inventory."), "<i class=\"icon-plus\"></i> "),
index: false,
hover: true,

View File

@ -11,7 +11,7 @@ export default
name: 'groups',
iterator: 'group',
editTitle: '{{ inventory.name }}',
listTitle: 'Groups',
listTitle: 'GROUPS',
searchSize: 'col-lg-12 col-md-12 col-sm-12 col-xs-12',
showTitle: false,
well: true,

View File

@ -11,7 +11,7 @@ export default
name: 'hosts',
iterator: 'host',
editTitle: '{{ selected_group }}',
listTitle: 'Hosts',
listTitle: 'HOSTS',
searchSize: 'col-lg-12 col-md-12 col-sm-12 col-xs-12',
showTitle: false,
well: true,

View File

@ -12,7 +12,7 @@ export default
name: 'workflow_inventory_sources',
iterator: 'inventory_source',
basePath: 'inventory_sources',
listTitle: 'Inventory Sources',
listTitle: 'INVENTORY SOURCES',
index: false,
hover: true,

View File

@ -12,7 +12,7 @@ export default
name: 'jobevents',
iterator: 'jobevent',
editTitle: i18n._('Job Events'),
editTitle: i18n._('JOB EVENTS'),
index: false,
hover: true,
"class": "condensed",

View File

@ -11,7 +11,7 @@ export default
name: 'jobhosts',
iterator: 'jobhost',
editTitle: 'All summaries',
editTitle: 'ALL SUMMARIES',
"class": "table-condensed",
index: false,
hover: true,

View File

@ -11,7 +11,7 @@ export default
name: 'jobs',
iterator: 'job',
editTitle: 'Jobs',
editTitle: 'JOBS',
'class': 'table-condensed',
index: false,
hover: true,

View File

@ -15,7 +15,7 @@ export default
selectInstructions: '<p>Select existing organizations by clicking each organization or checking the related checkbox. When finished, ' +
'click the blue <em>Select</em> button, located bottom right.</p><p>Create a new organization by clicking the ' +
'<i class=\"fa fa-plus\"></i> button.</p>',
editTitle: 'Organizations',
editTitle: 'ORGANIZATIONS',
hover: true,
index: false,

View File

@ -12,8 +12,8 @@ export default
name: 'job_templates',
iterator: 'job_template',
editTitle: i18n._('Job Templates'),
listTitle: i18n._('Job Templates'),
editTitle: i18n._('JOB TEMPLATES'),
listTitle: i18n._('JOB TEMPLATES'),
index: false,
hover: true,
well: true,

View File

@ -12,11 +12,11 @@ export default
name: 'jobs',
iterator: 'job',
editTitle: i18n._('Jobs'),
editTitle: i18n._('JOBS'),
index: false,
hover: true,
well: true,
listTitle: i18n._('Jobs'),
listTitle: i18n._('JOBS'),
emptyListText: i18n._('There are no jobs to display at this time'),
fields: {

View File

@ -13,8 +13,8 @@ export default
iterator: 'project',
basePath: 'projects',
selectTitle: i18n._('Add Project'),
editTitle: i18n._('Projects'),
listTitle: i18n._('Projects'),
editTitle: i18n._('PROJECTS'),
listTitle: i18n._('PROJECTS'),
selectInstructions: '<p>Select existing projects by clicking each project or checking the related checkbox. When finished, click the blue ' +
'<em>Select</em> button, located bottom right.</p><p>Create a new project by clicking the <i class=\"fa fa-plus\"></i> button.</p>',
index: false,

View File

@ -12,7 +12,7 @@ export default
name: 'schedules',
iterator: 'schedule',
editTitle: i18n._('Scheduled Jobs'),
editTitle: i18n._('SCHEDULED JOBS'),
hover: true,
well: false,
emptyListText: i18n._('No schedules exist'),

View File

@ -13,8 +13,8 @@ export default
name: 'schedules',
iterator: 'schedule',
selectTitle: '',
editTitle: 'Schedules',
listTitle: '{{parentObject}} || Schedules',
editTitle: 'SCHEDULES',
listTitle: '{{parentObject}} || SCHEDULES',
index: false,
hover: true,

View File

@ -13,8 +13,8 @@ export default
name: 'activities',
iterator: 'activity',
basePath: 'activity_stream',
editTitle: i18n._('Activity Stream'),
listTitle: i18n._('Activity Stream') + '<span ng-show="streamSubTitle"><div class="List-titleLockup"></div>{{streamSubTitle}}<span>',
editTitle: i18n._('ACTIVITY STREAM'),
listTitle: i18n._('ACTIVITY STREAM') + '<span ng-show="streamSubTitle"><div class="List-titleLockup"></div>{{streamSubTitle}}<span>',
listTitleBadge: false,
emptyListText: i18n._('There are no events to display at this time'),
selectInstructions: '',

View File

@ -13,8 +13,8 @@ export default
name: 'teams',
iterator: 'team',
selectTitle: i18n._('Add Team'),
editTitle: i18n._('Teams'),
listTitle: i18n._('Teams'),
editTitle: i18n._('TEAMS'),
listTitle: i18n._('TEAMS'),
selectInstructions: i18n.sprintf(i18n._("Click on a row to select it, and click Finished when done. Click the %s button to create a new team."), "<i class=\"icon-plus\"></i> "),
index: false,
hover: true,

View File

@ -14,8 +14,8 @@ export default
iterator: 'template',
basePath: 'unified_job_templates',
selectTitle: i18n._('Template'),
editTitle: i18n._('Templates'),
listTitle: i18n._('Templates'),
editTitle: i18n._('TEMPLATES'),
listTitle: i18n._('TEMPLATES'),
selectInstructions: i18n.sprintf(i18n._("Click on a row to select it, and click Finished when done. Use the %s button to create a new job template."), "<i class=\"icon-plus\"></i> "),
index: false,
hover: true,

View File

@ -17,8 +17,8 @@ export default
},
iterator: 'user',
selectTitle: i18n._('Add Users'),
editTitle: i18n._('Users'),
listTitle: i18n._('Users'),
editTitle: i18n._('USERS'),
listTitle: i18n._('USERS'),
selectInstructions: '<p>Select existing users by clicking each user or checking the related checkbox. When finished, click the blue ' +
'<em>Select</em> button, located bottom right.</p> <p>When available, a brand new user can be created by clicking the ' +
'<i class=\"fa fa-plus\"></i> button.</p>',

View File

@ -2,7 +2,7 @@
<div class="tab-pane Panel" id="management_jobs">
<div class="List-title">
<div class="List-titleText" translate>
Management Jobs
MANAGEMENT JOBS
</div>
<span class="badge List-titleBadge ng-binding">
{{ mgmtCards.length }}

View File

@ -39,7 +39,6 @@
.MgmtCards-label {
margin-top: 0px;
text-transform: uppercase;
font-size: 14px;
font-weight: bold;
color: @default-interface-txt;

View File

@ -10,7 +10,7 @@ export default function(){
iterator: 'configure_job',
index: false,
hover: true,
listTitle: 'Management Jobs',
listTitle: 'MANAGEMENT JOBS',
fields: {
name: {

View File

@ -29,7 +29,7 @@ angular.module('managementJobScheduler', [])
'@': {
templateProvider: function(ScheduleList, generateList, ParentObject) {
// include name of parent resource in listTitle
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('Schedules');
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('SCHEDULES');
let html = generateList.build({
list: ScheduleList,
mode: 'edit'

View File

@ -1,7 +1,7 @@
<div id="htmlTemplate" class=" SchedulerFormPanel Panel" ng-hide="hideForm">
<div class="Form-header">
<div class="Form-title" ng-show="!isEdit">{{ schedulerName || "Add Schedule"}}</div>
<div class="Form-title" ng-show="isEdit">{{ schedulerName || "Edit Schedule"}}</div>
<div class="Form-title" ng-show="!isEdit">{{ schedulerName || "ADD SCHEDULE"}}</div>
<div class="Form-title" ng-show="isEdit">{{ schedulerName || "EDIT SCHEDULE"}}</div>
<div class="Form-header--fields"></div>
<div class="Form-exitHolder">
<button class="Form-exit" ng-click="formCancel()">

View File

@ -13,7 +13,7 @@
export default ['i18n', function(i18n) {
return {
addTitle: i18n._('New Notification Template'),
addTitle: i18n._('NEW NOTIFICATION TEMPLATE'),
editTitle: '{{ name }}',
name: 'notification_template',
// I18N for "CREATE NOTIFICATION_TEMPLATE"

View File

@ -11,7 +11,7 @@
export default ['i18n', function(i18n){
return {
name: 'notification_templates' ,
listTitle: i18n._('Notification Templates'),
listTitle: i18n._('NOTIFICATION TEMPLATES'),
iterator: 'notification_template',
index: false,
hover: false,

View File

@ -5,7 +5,7 @@
<div class="AddUsers-header">
<div class="List-header">
<div class="List-title">
<div class="List-titleText ng-binding">{{ $parent.organization_name }}<div class="List-titleLockup"></div><span translate>Add</span> {{ addType | capitalize}}
<div class="List-titleText ng-binding">{{ $parent.organization_name }}<div class="List-titleLockup"></div><span translate>ADD</span> {{ addType | capitalize}}
</div>
</div>
<div class="Form-exitHolder">

View File

@ -58,8 +58,8 @@
.OrgCards-label {
margin-top: 0px;
text-transform: uppercase;
font-size: 14px;
height: 17px;
font-weight: bold;
color: @default-interface-txt;
margin-bottom: 25px;

View File

@ -4,7 +4,7 @@
<div class="List-header">
<div class="List-title">
<div class="List-titleText">
organizations
ORGANIZATIONS
</div>
<span class="badge List-titleBadge">
{{ orgCount }}
@ -59,4 +59,4 @@
</div>
<div id="pagination-container" ng-hide="organization_num_pages < 2">
</div>
</div>
</div>

View File

@ -71,7 +71,7 @@ export default
'@': {
templateProvider: function(ScheduleList, generateList, ParentObject){
// include name of parent resource in listTitle
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('Schedules');
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('SCHEDULES');
let html = generateList.build({
list: ScheduleList,
mode: 'edit'
@ -164,7 +164,7 @@ export default
'@': {
templateProvider: function(ScheduleList, generateList, ParentObject){
// include name of parent resource in listTitle
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('Schedules');
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('SCHEDULES');
let html = generateList.build({
list: ScheduleList,
mode: 'edit'
@ -254,7 +254,7 @@ export default
'@': {
templateProvider: function(ScheduleList, generateList, ParentObject){
// include name of parent resource in listTitle
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('Schedules');
ScheduleList.listTitle = `${ParentObject.name}<div class='List-titleLockup'></div>` + N_('SCHEDULES');
let html = generateList.build({
list: ScheduleList,
mode: 'edit'

View File

@ -1,7 +1,7 @@
<div id="htmlTemplate" class=" SchedulerFormPanel Panel" ng-hide="hideForm">
<div class="Form-header">
<div class="Form-title" ng-show="!isEdit">{{ schedulerName || "Add Schedule"}}</div>
<div class="Form-title" ng-show="isEdit">{{ schedulerName || "Edit Schedule"}}</div>
<div class="Form-title" ng-show="!isEdit">{{ schedulerName || "ADD SCHEDULE"}}</div>
<div class="Form-title" ng-show="isEdit">{{ schedulerName || "EDIT SCHEDULE"}}</div>
<div class="Form-header--fields"></div>
<div class="Form-exitHolder">
<button class="Form-exit" ng-click="formCancel()">

View File

@ -52,6 +52,5 @@
font-size: 14px;
font-weight: bold;
margin-right: 10px;
text-transform: uppercase;
display: flex;
}

View File

@ -48,7 +48,6 @@
font-size: 14px;
font-weight: bold;
margin-right: 10px;
text-transform: uppercase;
display: flex;
}

View File

@ -2,7 +2,7 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header Form-header">
<div class="Form-title">Select {{list.iterator}}</div>
<div class="Form-title Form-title--uppercase">Select {{list.iterator}}</div>
<!-- optional: transclude header fields -->
<div class="Form-header--fields"></div>
<div class="Form-exitHolder">

View File

@ -13,8 +13,8 @@
export default
{
addTitle: 'Add Survey Prompt',
editTitle: 'Edit Survey Prompt',
addTitle: 'ADD SURVEY PROMPT',
editTitle: 'EDIT SURVEY PROMPT',
titleClass: 'Form-secondaryTitle',
base: 'survey_question',
name: 'survey_question',

View File

@ -24,7 +24,6 @@
font-size: 14px;
font-weight: bold;
margin-right: 10px;
text-transform: uppercase;
max-width: 75%;
}
.SurveyMaker-titleLockup {

View File

@ -15,7 +15,6 @@
font-size: 14px;
font-weight: bold;
margin-right: 10px;
text-transform: uppercase;
}
.WorkflowMaker-exitHolder {
justify-content: flex-end;