mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Remove ng-class-odd and ng-class-even directives
This commit is contained in:
parent
59ff065a65
commit
79791a4fbc
@ -80,10 +80,6 @@ table, tbody {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.List-tableRow--evenRow {
|
||||
background-color: @list-alt-item-bg;
|
||||
}
|
||||
|
||||
.List-tableCell {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
|
||||
@ -21,8 +21,6 @@
|
||||
</th>
|
||||
</tr>
|
||||
<tr class="List-tableRow"
|
||||
ng-class-odd="'List-tableRow--oddRow'"
|
||||
ng-class-even="'List-tableRow--evenRow'"
|
||||
ng-repeat = "template in templates">
|
||||
<td class="DashboardList-nameCell">
|
||||
<a ng-href="#/templates/{{template.type}}/{{template.id}}" class="DashboardList-nameContainer">
|
||||
|
||||
@ -1928,8 +1928,6 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
html += "<tbody>\n";
|
||||
|
||||
html += "<tr class=\"List-tableRow\" ng-repeat=\"" + collection.iterator + " in " + itm + "\" ";
|
||||
html += "ng-class-odd=\"'List-tableRow--oddRow'\" ";
|
||||
html += "ng-class-even=\"'List-tableRow--evenRow'\" ";
|
||||
html += "id=\"{{ " + collection.iterator + ".id }}\">\n";
|
||||
if (collection.index === undefined || collection.index !== false) {
|
||||
html += "<td class=\"List-tableCell";
|
||||
|
||||
@ -294,8 +294,6 @@ export default ['$compile', 'Attr', 'Icon',
|
||||
innerTable += "]\" ";
|
||||
innerTable += "id=\"{{ " + list.iterator + ".id }}\" ";
|
||||
innerTable += "class=\"List-tableRow " + list.iterator + "_class\" ";
|
||||
// innerTable += "ng-class-odd=\"'List-tableRow--oddRow'\" ";
|
||||
// innerTable += "ng-class-even=\"'List-tableRow--evenRow'\" ";
|
||||
innerTable += "ng-repeat=\"" + list.iterator + " in " + list.name;
|
||||
innerTable += (list.trackBy) ? " track by " + list.trackBy : "";
|
||||
innerTable += (list.orderBy) ? " | orderBy:'" + list.orderBy + "'" : "";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user