This commit is contained in:
parent
092bd008e3
commit
6e3700ba31
|
@ -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');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue