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,30 +1,45 @@
|
||||||
<div class="btn-breadcrumb">
|
<div class="btn-breadcrumb">
|
||||||
<a href="#/"><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
<a href="#/"><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
||||||
<a href="#/backup">{{t 'backup'}}</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>
|
<a href="#/backup/{{storage.id}}/create">{{t 'backup_create'}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="separator"></div>
|
<div class="separator"></div>
|
||||||
|
|
||||||
<form action="#/backup/{{storage.id}}" method="POST" class="form-horizontal">
|
<form action="#/backup/{{storage.id}}" method="POST" class="form-horizontal">
|
||||||
<div class="list-group">
|
<div class="panel panel-default">
|
||||||
{{#each hooks}}
|
<div class="panel-heading">
|
||||||
<div class="list-group-item">
|
<h2 class="panel-title"><span class="fa-fw fa-cube"></span> {{t 'system'}}</h2>
|
||||||
<input type="checkbox" id="{{@key}}" name="hooks" value="{{value}}" checked class="nice-checkbox">
|
</div>
|
||||||
<label for="{{@key}}" class="pull-right"><span class="sr-only">{{t 'check'}}</span></label>
|
<div class="list-group">
|
||||||
<h2 class="list-group-item-heading">{{name}}</h2>
|
{{#each hooks}}
|
||||||
<p class="list-group-item-text">{{description}}</p>
|
<div class="list-group-item">
|
||||||
</div>
|
<input type="checkbox" id="{{@key}}" name="hooks" value="{{value}}" checked class="nice-checkbox">
|
||||||
{{/each}}
|
<label for="{{@key}}" class="pull-right"><span class="sr-only">{{t 'check'}}</span></label>
|
||||||
{{#each apps}}
|
<h2 class="list-group-item-heading">{{name}}</h2>
|
||||||
<div class="list-group-item">
|
<p class="list-group-item-text">{{description}}</p>
|
||||||
<input type="checkbox" id="{{id}}" name="apps" value="{{id}}" checked class="nice-checkbox">
|
</div>
|
||||||
<label for="{{id}}" class="pull-right"><span class="sr-only">{{t 'check'}}</span></label>
|
{{/each}}
|
||||||
<h2 class="list-group-item-heading">{{name}} <small>{{id}}</small></h2>
|
</div>
|
||||||
</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="separator"></div>
|
||||||
|
|
||||||
<!--<div class="panel panel-default">
|
<!--<div class="panel panel-default">
|
||||||
|
|
Loading…
Reference in a new issue