mvc: simplify table string, style fix

This commit is contained in:
Franco Fichtner 2019-12-05 21:35:54 +01:00
parent 388159d5e8
commit 6f3cdeb4fa
3 changed files with 4 additions and 5 deletions

View File

@ -29,7 +29,6 @@
namespace OPNsense\Interfaces\Api;
use \OPNsense\Core\Backend;
use \OPNsense\Base\ApiMutableModelControllerBase;
class LoopbackSettingsController extends ApiMutableModelControllerBase

View File

@ -31,8 +31,8 @@
<table id="grid-addresses" class="table table-condensed table-hover table-striped" data-editDialog="DialogLoopback" data-editAlert="LoopbackChangeMessage">
<thead>
<tr>
<th data-column-id="uuid" data-type="string" data-identifier="true" data-visible="false">{{ lang._('ID') }}</th>
<th data-column-id="deviceId" data-type="string">{{ lang._('DeviceId') }}</th>
<th data-column-id="uuid" data-type="string" data-identifier="true" data-visible="false">{{ lang._('ID') }}</th>
<th data-column-id="deviceId" data-type="string">{{ lang._('Device') }}</th>
<th data-column-id="description" data-type="string">{{ lang._('Description') }}</th>
<th data-column-id="commands" data-width="7em" data-formatter="commands" data-sortable="false">{{ lang._('Commands') }}</th>
</tr>

View File

@ -31,8 +31,8 @@
<table id="grid-addresses" class="table table-condensed table-hover table-striped" data-editDialog="DialogVxlan" data-editAlert="VxLanChangeMessage">
<thead>
<tr>
<th data-column-id="uuid" data-type="string" data-identifier="true" data-visible="false">{{ lang._('ID') }}</th>
<th data-column-id="deviceId" data-type="string">{{ lang._('DeviceId') }}</th>
<th data-column-id="uuid" data-type="string" data-identifier="true" data-visible="false">{{ lang._('ID') }}</th>
<th data-column-id="deviceId" data-type="string">{{ lang._('Device') }}</th>
<th data-column-id="vxlanid" data-type="string">{{ lang._('VNI') }}</th>
<th data-column-id="vxlanlocal" data-type="string">{{ lang._('Source') }}</th>
<th data-column-id="commands" data-width="7em" data-formatter="commands" data-sortable="false">{{ lang._('Commands') }}</th>