1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

All tables (lists and related lists) hightight current row on hover. Hover over a row and the background turns white.

This commit is contained in:
chouseknecht 2013-06-06 19:14:04 -04:00
parent 9a98b4f573
commit e58e80bbad
9 changed files with 15 additions and 7 deletions

View File

@ -280,12 +280,14 @@
padding-bottom: 0; padding-bottom: 0;
} }
/* Jobs page */ /* Enable table-hover to work when table is in a well */
.jobs-table tbody tr:hover > td, .table-hover tbody tr:hover > td,
.jobs-table tbody tr:hover > th { .table-hover tbody tr:hover > th {
background-color: #fff; background-color: #fff;
} }
/* Jobs page */
.job-error, .job-failed, .job-error, .job-failed,
input[type="text"].job-failed, input[type="text"].job-failed,
input[type="text"].job-error input[type="text"].job-error

View File

@ -17,7 +17,7 @@ angular.module('CredentialsListDefinition', [])
selectInstructions: 'Check the Select checkbox next to each credential to be added, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new user.', selectInstructions: 'Check the Select checkbox next to each credential to be added, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new user.',
editInstructions: 'Create a new credential from either the Teams tab or the Users tab. Teams and Users each have an associated set of Credentials.', editInstructions: 'Create a new credential from either the Teams tab or the Users tab. Teams and Users each have an associated set of Credentials.',
index: true, index: true,
index: true, hover: true,
fields: { fields: {
name: { name: {

View File

@ -16,6 +16,7 @@ angular.module('InventoriesListDefinition', [])
editTitle: 'Inventories', editTitle: 'Inventories',
selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.', selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.',
index: true, index: true,
hover: true,
fields: { fields: {
name: { name: {

View File

@ -16,6 +16,7 @@ angular.module('JobTemplatesListDefinition', [])
editTitle: 'Job Templates', editTitle: 'Job Templates',
selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.', selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.',
index: true, index: true,
hover: true,
fields: { fields: {
name: { name: {

View File

@ -14,6 +14,7 @@ angular.module('OrganizationListDefinition', [])
iterator: 'organization', iterator: 'organization',
selectTitle: 'Add Organizations', selectTitle: 'Add Organizations',
editTitle: 'Organizations', editTitle: 'Organizations',
hover: true,
index: true, index: true,
fields: { fields: {

View File

@ -16,6 +16,7 @@ angular.module('ProjectsListDefinition', [])
editTitle: '{{ name }}', editTitle: '{{ name }}',
selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.', selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.',
index: true, index: true,
hover: true,
fields: { fields: {
name: { name: {

View File

@ -16,6 +16,7 @@ angular.module('TeamsListDefinition', [])
editTitle: 'Teams', editTitle: 'Teams',
selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.', selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.',
index: true, index: true,
hover: true,
fields: { fields: {
name: { name: {

View File

@ -16,6 +16,7 @@ angular.module('UserListDefinition', [])
editTitle: 'Users', editTitle: 'Users',
selectInstructions: 'Check the Select checkbox next to each user to be added, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new user.', selectInstructions: 'Check the Select checkbox next to each user to be added, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new user.',
index: true, index: true,
hover: true,
fields: { fields: {
username: { username: {

View File

@ -709,7 +709,7 @@ angular.module('FormGenerator', ['GeneratorHelpers'])
// Start the list // Start the list
html += "<div class=\"list\">\n"; html += "<div class=\"list\">\n";
html += "<table class=\"table table-condensed\">\n"; html += "<table class=\"table table-condensed table-hover\">\n";
html += "<thead>\n"; html += "<thead>\n";
html += "<tr>\n"; html += "<tr>\n";
html += "<th>#</th>\n"; html += "<th>#</th>\n";
@ -863,7 +863,7 @@ angular.module('FormGenerator', ['GeneratorHelpers'])
// Start the list // Start the list
html += "<div class=\"list\">\n"; html += "<div class=\"list\">\n";
html += "<table class=\"table table-condensed\">\n"; html += "<table class=\"table table-condensed table-hover\">\n";
html += "<thead>\n"; html += "<thead>\n";
html += "<tr>\n"; html += "<tr>\n";
html += "<th>#</th>\n"; html += "<th>#</th>\n";