diff options
author | Simon Rettberg | 2013-11-16 16:32:43 +0100 |
---|---|---|
committer | Simon Rettberg | 2013-11-16 16:32:43 +0100 |
commit | 8102576e930a839540c0e8b2c9e18fdf37d30b24 (patch) | |
tree | 60248ead9b0221c38232ae1928f87595ae04cbf8 /templates | |
parent | Fixed two stupid messups (diff) | |
download | slx-admin-8102576e930a839540c0e8b2c9e18fdf37d30b24.tar.gz slx-admin-8102576e930a839540c0e8b2c9e18fdf37d30b24.tar.xz slx-admin-8102576e930a839540c0e8b2c9e18fdf37d30b24.zip |
Notify about missing options/files/actions on dashboard
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main-menu.html | 2 | ||||
-rw-r--r-- | templates/page-baseconfig.html | 2 | ||||
-rw-r--r-- | templates/page-main.html | 14 | ||||
-rw-r--r-- | templates/page-remote-tgz-list.html | 5 | ||||
-rw-r--r-- | templates/page-tgz-list.html | 14 |
5 files changed, 33 insertions, 4 deletions
diff --git a/templates/main-menu.html b/templates/main-menu.html index 799d92be..6e1ef51d 100644 --- a/templates/main-menu.html +++ b/templates/main-menu.html @@ -19,7 +19,7 @@ <li><a href="?do=minilinux">MiniLinux</a></li> <li><a href="?do=baseconfig">KonfigurationsVariablen</a></li> <li><a href="?do=sysconfig">SystemKonfiguration</a></li> - <li><a href="?do=printconfig">Drucken</a></li> + <li><a href="?do=ipxe">iPXE</a></li> <li class="divider"></li> <li class="dropdown-header">Nav header</li> <li><a href="#">1</a></li> diff --git a/templates/page-baseconfig.html b/templates/page-baseconfig.html index c7e4cd18..308461bb 100644 --- a/templates/page-baseconfig.html +++ b/templates/page-baseconfig.html @@ -9,7 +9,7 @@ <textarea name="setting[{{setting}}]" class="form-control" cols="30" rows="3">{{value}}</textarea> {{/big}} {{^big}} - <input type="text" name="setting[{{setting}}]" class="form-control" size="30" value="{{value}}"> + <input type="text" name="setting[{{setting}}]" class="form-control" size="30" value="{{value}}" placeholder="{{defaultvalue}}"> {{/big}} </div> <div class="col-md-6"> diff --git a/templates/page-main.html b/templates/page-main.html index 25f6cea6..6d35b9f3 100644 --- a/templates/page-main.html +++ b/templates/page-main.html @@ -1,11 +1,23 @@ <div class="jumbotron"> <h1>Willkommen, {{user}}</h1> - <p>Dies ist die bwLehrpool Konfigurationsoberfläche, {{user}}</p> + <p>Dies ist die bwLehrpool Konfigurationsoberfläche.</p> {{#ipxe}} <div class="alert alert-warning"> <p>Das iPXE-Modul des Servers ist veraltet oder nicht vorhanden.</p> <a class="btn btn-large btn-primary" href="?do=ipxe">iPXE compilieren</a> </div> {{/ipxe}} + {{#minilinux}} + <div class="alert alert-warning"> + <p>Wichtige Dateien der MiniLinux-Installation fehlen.</p> + <a class="btn btn-large btn-primary" href="?do=minilinux">MiniLinux herunterladen</a> + </div> + {{/minilinux}} + {{#sysconfig}} + <div class="alert alert-warning"> + <p>Es wurde noch keine Systemkonfiguration ausgewählt..</p> + <a class="btn btn-large btn-primary" href="?do=sysconfig">Systemkonfiguration festlegen</a> + </div> + {{/sysconfig}} </div> diff --git a/templates/page-remote-tgz-list.html b/templates/page-remote-tgz-list.html index 7cf08dfd..ef4435db 100644 --- a/templates/page-remote-tgz-list.html +++ b/templates/page-remote-tgz-list.html @@ -1,3 +1,8 @@ +<ol class="breadcrumb"> + <li><a href="?do=main">Start</a></li> + <li><a href="?do=sysconfig">SystemKonfiguration</a></li> + <li class="active">Zentral verfügbare Konfigurationen</li> +</ol> <div class="container"> {{#files}} <div class="panel panel-default"> diff --git a/templates/page-tgz-list.html b/templates/page-tgz-list.html index ac70d510..bcf5ffc0 100644 --- a/templates/page-tgz-list.html +++ b/templates/page-tgz-list.html @@ -1,6 +1,18 @@ +<ol class="breadcrumb"> + <li><a href="?do=main">Start</a></li> + <li class="active">SystemKonfiguration</li> +</ol> <div class="container"> {{#files}} - <div class="row well well-sm">{{file}} <a class="btn btn-primary" href="?do=sysconfig&action=activate&file={{file}}&token={{token}}">Aktivieren</a></div> + <div class="row well well-sm"> + {{file}} + {{^current}} + <a class="btn btn-primary" href="?do=sysconfig&action=activate&file={{file}}&token={{token}}">Aktivieren</a> + {{/current}} + {{#current}} + <span class="btn btn-success">Bereits aktiv</span> + {{/current}} + </div> {{/files}} {{^files}} <div class="row well well-sm">Keine Konfigurationspakete gefunden!</div> |