mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] #19 Add sample backup view, with warning.
This commit is contained in:
parent
8daeb5ed62
commit
5b444d612b
2 changed files with 26 additions and 0 deletions
11
js/app.js
11
js/app.js
|
@ -285,6 +285,7 @@ app = Sammy('#main', function (sam) {
|
|||
{name: "Services", path: '#/services'},
|
||||
{name: "Monitoring", path: '#/monitor'},
|
||||
{name: "Tools", path: '#/tools'},
|
||||
{name: "Backup", path: '#/backup'},
|
||||
]};
|
||||
|
||||
c.view('home', data);
|
||||
|
@ -903,6 +904,16 @@ app = Sammy('#main', function (sam) {
|
|||
});
|
||||
|
||||
|
||||
/**
|
||||
* Backup
|
||||
*
|
||||
*/
|
||||
|
||||
sam.get('#/backup', function (c) {
|
||||
c.view('backup/backup');
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
15
views/backup/backup.ms
Normal file
15
views/backup/backup.ms
Normal file
|
@ -0,0 +1,15 @@
|
|||
<div class="pull-left">
|
||||
<a href="#/" class="btn btn-default slide back">
|
||||
<span class="fa-chevron-left"></span> Menu
|
||||
</a>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<h1 class="view-title">Backup</h1>
|
||||
<div class="br"></div>
|
||||
|
||||
<div class="alert alert-warning">
|
||||
<span class="fa-exclamation-triangle"></span>
|
||||
<strong>The backup system is not implemented yet.</strong>
|
||||
<br>
|
||||
You should take care of backing up your data yourself for now.
|
||||
</div>
|
Loading…
Add table
Reference in a new issue