This commit is contained in:
Michele Artini 2022-12-01 10:44:09 +01:00
parent 092bd008e3
commit 6e3700ba31
1 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
<div class="card-body">
<h5 class="card-title">{{section.name}}</h5>
<table class="table table-striped table-sm small">
<table class="table table-striped table-sm small" style="table-layout: fixed;">
<thead ng-if="section.name == 'Modules'">
<tr>
<th>Group ID</th>
@ -31,8 +31,8 @@
</thead>
<tbody>
<tr ng-repeat="r in section.data|filter:infoFilter" ng-if="section.name != 'Modules'">
<th style="width:30%">{{r.k}}</th>
<td><pre style="margin: 0">{{r.v}}</pre></td>
<th style="width: 25%;">{{r.k}}</th>
<td style="overflow-x:auto;"><pre style="margin: 0;">{{r.v}}</pre></td>
</tr>
<tr ng-repeat="r in section.data|filter:infoFilter" ng-if="section.name == 'Modules'" ng-class="{'table-warning' : r.files.length > 1}">
<td>{{r.group}}</td>
@ -63,7 +63,7 @@
angular.forEach(res.data, function(section) {
if (section.name != 'Modules') {
angular.forEach(section.data, function(r) {
if (r.k.toLowerCase().includes('path')) {
if (r.k.toLowerCase().endsWith('path') || r.k.toLowerCase().endsWith('.dirs')) {
r.v = r.v.replaceAll(':', ':\n');
}
});