users permission upd, logo, live alarms upd
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<img src="../img/argus.png">
|
||||
<h1>Аргус</h1>
|
||||
<h2><span>/</span> {{Organisation}}</h2>
|
||||
</header>
|
||||
@ -69,12 +70,16 @@
|
||||
</div>
|
||||
<nav>
|
||||
<a class="selected" href="/devices">Список устройств</a>
|
||||
{{#if EditTransport}}
|
||||
<a href="/devices/groups">Группы</a>
|
||||
{{/if}}
|
||||
<!-- <a href="/devices/drivers">Водители</a> -->
|
||||
<!-- <a href="/devices/newdevice">Добавить устройство</a> -->
|
||||
<!-- <a href="/devices/newdriver">Добавить водителя</a> -->
|
||||
|
||||
{{#if Update}}
|
||||
<a class="update" href="/devices/update">Обновление ПО</a>
|
||||
{{/if}}
|
||||
</nav>
|
||||
<section class="bg">
|
||||
<section class="content">
|
||||
@ -116,7 +121,9 @@
|
||||
<th>Номер SIM-карты</th>
|
||||
<th>IP-адрес</th>
|
||||
<th>Порт</th>
|
||||
<th><button id="delete-device-all" value="delete-device-all" class="trash"></button></th>
|
||||
<th>{{#if DeleteTransport}}
|
||||
<button id="delete-device-all" value="delete-device-all" class="trash"></button>
|
||||
{{/if}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -523,6 +530,15 @@
|
||||
},
|
||||
{{/each}}
|
||||
];
|
||||
|
||||
let EditTransport = false;
|
||||
{{#if EditTransport}}
|
||||
EditTransport = true;
|
||||
{{/if}}
|
||||
let DeleteTransport = false;
|
||||
{{#if DeleteTransport}}
|
||||
DeleteTransport = true;
|
||||
{{/if}}
|
||||
</script>
|
||||
|
||||
<script src="../scripts/table.js"></script>
|
||||
|
Reference in New Issue
Block a user