-Add new setting "Delete shift"
-Move "Shift" frontend to V1 module
This commit is contained in:
miroman-afk
2022-02-01 01:55:15 +03:00
parent 57949aa89a
commit 5497b611ef
29 changed files with 1359 additions and 3 deletions

View File

@@ -0,0 +1,34 @@
<div class="padding">
<div class="col-md-6">
<div class="row">
<h4 class="text-muted" style="margin-bottom: 40px;" ng-if="modules.length > 0">Доступные обновления модулей</h4>
<h4 class="text-muted" style="margin-bottom: 40px;" ng-if="modules.length === 0">Нет доступных обновлений</h4>
<div ng-if="modules.length > 0">
<div class="box">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th><input type="checkbox" ng-click="toggleAll()" ng-model="isAllSelected"> Выбрать все</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="module in modules">
<td>
<input type="checkbox" ng-model="module.selected" ng-change="optionToggled()">
<strong>{{ module.name }}</strong>
<br> У вас установлена версия {{ module.version }}.
<strong>Обновите до {{ module.l_version }}</strong>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<button class="btn success pull-right" id="btn-download" ng-click="updateModules()">Обновить модули</button>
</div>
</div>
</div>
</div>