Fixed main tabs to respond correctly, or at least better, to medium and small viewports.

This commit is contained in:
Chris Houseknecht 2014-04-25 09:36:58 -04:00
parent d34d0378fa
commit dda9cbda2d
5 changed files with 24 additions and 12 deletions

View File

@ -25,18 +25,21 @@ angular.module('CredentialsListDefinition', [])
fields: {
name: {
key: true,
label: 'Name'
label: 'Name',
columnClass: 'col-md-3 col-sm-9 col-xs-9'
},
description: {
label: 'Description',
excludeModal: true
excludeModal: true,
columnClass: 'col-md-3 hidden-sm hidden-xs'
},
kind: {
label: 'Type',
searchType: 'select',
searchOptions: [], // will be set by Options call to credentials resource
excludeModal: true,
nosort: true
nosort: true,
columnClass: 'col-md-3 hidden-sm hidden-xs'
}
},

View File

@ -44,7 +44,8 @@ angular.module('InventoriesListDefinition', [])
},
name: {
key: true,
label: 'Name'
label: 'Name',
columnClass: 'col-md-4 col-sm-6 col-xs-6'
},
organization: {
label: 'Organization',
@ -52,7 +53,8 @@ angular.module('InventoriesListDefinition', [])
linkTo: '/#/organizations/{{ inventory.organization }}',
sourceModel: 'organization',
sourceField: 'name',
excludeModal: true
excludeModal: true,
columnClass: 'col-md-4 hidden-sm hidden-xs'
},
has_inventory_sources: {
label: 'Cloud sourced?',

View File

@ -22,7 +22,8 @@ angular.module('OrganizationListDefinition', [])
fields: {
name: {
key: true,
label: 'Name'
label: 'Name',
columnClass: 'col-sm-8 col-xs-8'
},
description: {
label: 'Description',

View File

@ -23,16 +23,19 @@ angular.module('TeamsListDefinition', [])
fields: {
name: {
key: true,
label: 'Name'
label: 'Name',
columnClass: 'col-md-4 col-sm-9 col-xs-9'
},
description: {
label: 'Description'
label: 'Description',
columnClass: 'col-md-3 hidden-sm hidden-xs'
},
organization: {
label: 'Organization',
ngBind: 'team.organization_name',
sourceModel: 'organization',
sourceField: 'name'
sourceField: 'name',
columnClass: 'col-md-3 hidden-sm hidden-xs'
}
},

View File

@ -24,13 +24,16 @@ angular.module('UserListDefinition', [])
fields: {
username: {
key: true,
label: 'Username'
label: 'Username',
columnClass: 'col-md-3 col-sm-3 col-xs-9'
},
first_name: {
label: 'First Name'
label: 'First Name',
columnClass: 'col-md-3 col-sm-3 hidden-xs'
},
last_name: {
label: 'Last Name'
label: 'Last Name',
columnClass: 'col-md-3 col-sm-3 hidden-xs'
}
},