mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
#3348 implemented suggested style changes
Signed-off-by: Jose Ariza <l.jlac001@gmail.com>
This commit is contained in:
parent
2a71232dd6
commit
40ead6f9d1
@ -43,7 +43,7 @@
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div class="d-flex h-100">
|
||||
<div class="List-tableHeader" base-path="hosts" collection="hosts" dataset="host_dataset" column-sort="" column-field="name" column-iterator="host" column-no-sort="undefined" column-label="Name" column-custom-class="col-lg-3" query-set="host_queryset"></div>
|
||||
<div class="List-tableHeader" base-path="hosts" collection="hosts" dataset="host_dataset" column-sort="" column-field="name" column-iterator="host" column-no-sort="undefined" column-label="Name" column-custom-class="col-lg-3 col-md-6 col-sm-8 col-xs-7" query-set="host_queryset"></div>
|
||||
<div class="List-tableHeader" base-path="hosts" collection="hosts" dataset="host_dataset" column-sort="" column-field="description" column-iterator="host" column-no-sort="undefined" column-label="Description" column-custom-class="col-lg-3" query-set="host_queryset"></div>
|
||||
<div class="List-tableHeader" base-path="hosts" collection="hosts" dataset="host_dataset" column-sort="" column-field="inventory" column-iterator="host" column-no-sort="undefined" column-label="Inventory" column-custom-class="d-none d-sm-flex col-sm-3 ellipsis" query-set="host_queryset"></div>
|
||||
<div class="List-tableHeader List-tableHeader--actions actions-column col-lg-3 text-right" translate>Actions</div>
|
||||
@ -71,9 +71,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="List-tableCell name-column InventoryManage-breakWord col-lg-3">
|
||||
<div class="host-name">
|
||||
<a ui-sref="hosts.edit({host_id:host.id})">{{host.description }}</a>
|
||||
</div>
|
||||
{{host.description }}
|
||||
</div>
|
||||
<div class="List-tableCell inventory_name-column col-lg-3 elllipsis">
|
||||
<div class="host-name">
|
||||
|
||||
@ -64,33 +64,27 @@ export default ['i18n', function(i18n) {
|
||||
label: i18n._('Hosts'),
|
||||
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
||||
ngClass: "{ 'host-disabled-label': !host.enabled }",
|
||||
columnClass: 'col-lg-3 col-md-3 col-sm-8 col-xs-7',
|
||||
columnClass: 'col-lg-3 col-md-6 col-sm-8 col-xs-7',
|
||||
dataHostId: "{{ host.id }}",
|
||||
dataType: "host",
|
||||
class: 'InventoryManage-breakWord'
|
||||
},
|
||||
description: {
|
||||
key: true,
|
||||
label: i18n._('Description'),
|
||||
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
||||
ngClass: "{ 'host-disabled-label': !host.enabled }",
|
||||
columnClass: 'col-lg-3 col-md-3 col-sm-8 col-xs-7',
|
||||
dataHostId: "{{ host.id }}",
|
||||
dataType: "host",
|
||||
class: 'InventoryManage-breakWord'
|
||||
columnClass: 'd-none d-lg-flex col-lg-3'
|
||||
},
|
||||
groups: {
|
||||
label: i18n._("Related Groups"),
|
||||
type: 'related_groups',
|
||||
nosort: true,
|
||||
showDelete: true,
|
||||
columnClass: 'd-none d-md-flex List-tableCell col-lg-3 col-md-3'
|
||||
columnClass: 'd-none d-lg-flex List-tableCell col-lg-3'
|
||||
}
|
||||
},
|
||||
|
||||
fieldActions: {
|
||||
|
||||
columnClass: 'col-lg-2 col-sm-3 col-xs-5 text-right',
|
||||
columnClass: 'col-lg-3 col-md-6 col-sm-4 col-xs-5 text-right',
|
||||
edit: {
|
||||
ngClick: "editHost(host)",
|
||||
icon: 'icon-edit',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user