Skip to content

Commit

Permalink
Update ALI table on inventory details page (#4489)
Browse files Browse the repository at this point in the history
update ali table on ininv details page
  • Loading branch information
kflemin authored Jan 18, 2024
1 parent f3771e9 commit df13c21
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions seed/static/seed/partials/inventory_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,18 @@ <h2>
<span ng-repeat="label in labels" class="label label-{$:: label.label $}" style="padding: 4.6px 7px">{$:: label.name $}</span>
</div>
</div>
<div>
<strong style="padding-right:5px;">Access Level Instance</strong>
<div class="access-level-info-section">
<strong style="padding-right:5px;padding-top:10px;">{$:: 'Access Level Instance Information' | translate $}:</strong>
<div>
<table id="ali-detail-table" class="table table-striped" style="width: fit-content">
<table id="ali-detail-table" class="table table-striped table_highlight_first" style="width: fit-content">
<thead>
<tr>
<th ng-repeat="(level, name) in ali_path">{$ level $}</th>
<th ng-repeat="(level, name) in organization.access_level_names">{$:: 'Level' | translate $} {$ level+1 $} - {$ name $}</th>
</tr>
</thead>
<tbody>
<tr>
<th ng-repeat="(level, name) in ali_path">{$ name $}</th>
<td style="border: 1px solid #ddd;" ng-repeat="(level, name) in organization.access_level_names">{$ ali_path[name] $}</td>
</tr>
</tbody>
</table>
Expand Down
5 changes: 5 additions & 0 deletions seed/static/seed/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3886,6 +3886,11 @@ $pairedCellWidth: 60px;
margin-top: 20px;
}

.access-level-info-section {
margin-top: 10px;
padding-right: 5px;
}

.pad-bottom-10 {
padding-bottom: 10px;
}
Expand Down

0 comments on commit df13c21

Please sign in to comment.