diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/download-complete.html | 1 | ||||
-rw-r--r-- | templates/main-menu.html | 2 | ||||
-rw-r--r-- | templates/remote-tgz-list.html | 11 | ||||
-rw-r--r-- | templates/tgz-list.html | 10 |
4 files changed, 23 insertions, 1 deletions
diff --git a/templates/download-complete.html b/templates/download-complete.html new file mode 100644 index 00000000..619f2551 --- /dev/null +++ b/templates/download-complete.html @@ -0,0 +1 @@ +<div class="alert alert-success">Download von {{file}} abgeschlossen</div> diff --git a/templates/main-menu.html b/templates/main-menu.html index d3d88d0f..021daf6d 100644 --- a/templates/main-menu.html +++ b/templates/main-menu.html @@ -17,7 +17,7 @@ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Einstellungen<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="?do=baseconfig">Basis</a></li> - <li><a href="?do=authconfig">Authentifizierung</a></li> + <li><a href="?do=sysconfig">System</a></li> <li><a href="?do=printconfig">Drucken</a></li> <li class="divider"></li> <li class="dropdown-header">Nav header</li> diff --git a/templates/remote-tgz-list.html b/templates/remote-tgz-list.html new file mode 100644 index 00000000..e7abc78a --- /dev/null +++ b/templates/remote-tgz-list.html @@ -0,0 +1,11 @@ +<div class="container"> + {{#files}} + <div class="panel panel-default"> + <div class="panel-heading"><h4><a class="btn btn-success" href="#" onclick="this.style.display='none';loadContent('#download{{id}}', 'api.php?do=download&type=tgz&file={{file}}&id={{id}}')">Download</a> » {{file}}</h4></div> + <div class="panel-body" id="download{{id}}">{{description}}</div> + </div> + {{/files}} + {{^files}} + <div class="row well well-sm">Keine Konfigurationspakete gefunden!</div> + {{/files}} +</div> diff --git a/templates/tgz-list.html b/templates/tgz-list.html new file mode 100644 index 00000000..fec5af63 --- /dev/null +++ b/templates/tgz-list.html @@ -0,0 +1,10 @@ +<div class="container"> + {{#files}} + <div class="row well well-sm">{{file}}</div> + {{/files}} + {{^files}} + <div class="row well well-sm">Keine Konfigurationspakete gefunden!</div> + {{/files}} + <a class="btn btn-lg btn-primary" href="?do=sysconfig&action=remotelist">Konfigurationen herunterladen</a> + <a class="btn btn-lg btn-primary" href="?do=sysconfig&action=upload">Eigene Konfiguration hochladen</a> +</div> |