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: { fields: {
name: { name: {
key: true, key: true,
label: 'Name' label: 'Name',
columnClass: 'col-md-3 col-sm-9 col-xs-9'
}, },
description: { description: {
label: 'Description', label: 'Description',
excludeModal: true excludeModal: true,
columnClass: 'col-md-3 hidden-sm hidden-xs'
}, },
kind: { kind: {
label: 'Type', label: 'Type',
searchType: 'select', searchType: 'select',
searchOptions: [], // will be set by Options call to credentials resource searchOptions: [], // will be set by Options call to credentials resource
excludeModal: true, excludeModal: true,
nosort: true nosort: true,
columnClass: 'col-md-3 hidden-sm hidden-xs'
} }
}, },

View File

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

View File

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

View File

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

View File

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