mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Split hooks and apps on backup create page.
This commit is contained in:
parent
f682bcfbf0
commit
6a0fb94a3c
1 changed files with 32 additions and 17 deletions
|
@ -1,13 +1,17 @@
|
|||
<div class="btn-breadcrumb">
|
||||
<a href="#/"><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
||||
<a href="#/backup">{{t 'backup'}}</a>
|
||||
<a href="#/backup/{{storage.id}}">{{storage.name}}</a>
|
||||
<a href="#/backup/{{storage.id}}">{{t storage.name}}</a>
|
||||
<a href="#/backup/{{storage.id}}/create">{{t 'backup_create'}}</a>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<form action="#/backup/{{storage.id}}" method="POST" class="form-horizontal">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title"><span class="fa-fw fa-cube"></span> {{t 'system'}}</h2>
|
||||
</div>
|
||||
<div class="list-group">
|
||||
{{#each hooks}}
|
||||
<div class="list-group-item">
|
||||
|
@ -17,14 +21,25 @@
|
|||
<p class="list-group-item-text">{{description}}</p>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title"><span class="fa-fw fa-cubes"></span> {{t 'applications'}}</h2>
|
||||
</div>
|
||||
<div class="list-group">
|
||||
{{#each apps}}
|
||||
<div class="list-group-item">
|
||||
<input type="checkbox" id="{{id}}" name="apps" value="{{id}}" checked class="nice-checkbox">
|
||||
<label for="{{id}}" class="pull-right"><span class="sr-only">{{t 'check'}}</span></label>
|
||||
<h2 class="list-group-item-heading">{{name}} <small>{{id}}</small></h2>
|
||||
<p class="list-group-item-text">{{description}}</p>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<!--<div class="panel panel-default">
|
||||
|
|
Loading…
Reference in a new issue