mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 11:57:37 -02:30
#3348 implemented suggested style changes
Signed-off-by: Jose Ariza <l.jlac001@gmail.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
<div></div>
|
<div></div>
|
||||||
<div></div>
|
<div></div>
|
||||||
<div class="d-flex h-100">
|
<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="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" 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>
|
<div class="List-tableHeader List-tableHeader--actions actions-column col-lg-3 text-right" translate>Actions</div>
|
||||||
@@ -71,9 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="List-tableCell name-column InventoryManage-breakWord col-lg-3">
|
<div class="List-tableCell name-column InventoryManage-breakWord col-lg-3">
|
||||||
<div class="host-name">
|
{{host.description }}
|
||||||
<a ui-sref="hosts.edit({host_id:host.id})">{{host.description }}</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="List-tableCell inventory_name-column col-lg-3 elllipsis">
|
<div class="List-tableCell inventory_name-column col-lg-3 elllipsis">
|
||||||
<div class="host-name">
|
<div class="host-name">
|
||||||
|
|||||||
@@ -64,33 +64,27 @@ export default ['i18n', function(i18n) {
|
|||||||
label: i18n._('Hosts'),
|
label: i18n._('Hosts'),
|
||||||
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
||||||
ngClass: "{ 'host-disabled-label': !host.enabled }",
|
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 }}",
|
dataHostId: "{{ host.id }}",
|
||||||
dataType: "host",
|
dataType: "host",
|
||||||
class: 'InventoryManage-breakWord'
|
class: 'InventoryManage-breakWord'
|
||||||
},
|
},
|
||||||
description: {
|
description: {
|
||||||
key: true,
|
|
||||||
label: i18n._('Description'),
|
label: i18n._('Description'),
|
||||||
uiSref: ".edit({inventory_id: host.inventory_id,host_id: host.id})",
|
columnClass: 'd-none d-lg-flex col-lg-3'
|
||||||
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'
|
|
||||||
},
|
},
|
||||||
groups: {
|
groups: {
|
||||||
label: i18n._("Related Groups"),
|
label: i18n._("Related Groups"),
|
||||||
type: 'related_groups',
|
type: 'related_groups',
|
||||||
nosort: true,
|
nosort: true,
|
||||||
showDelete: 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: {
|
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: {
|
edit: {
|
||||||
ngClick: "editHost(host)",
|
ngClick: "editHost(host)",
|
||||||
icon: 'icon-edit',
|
icon: 'icon-edit',
|
||||||
|
|||||||
Reference in New Issue
Block a user