diff options
author | Simon Rettberg | 2014-05-21 18:41:25 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-05-21 18:41:25 +0200 |
commit | 04123643da499bac9eed8e8d1198a4c69148075f (patch) | |
tree | 7da0dd36344624df67926b5f6312f11eca24e040 /templates | |
parent | JS Stuff for Taskmanager interaction (diff) | |
download | slx-admin-04123643da499bac9eed8e8d1198a4c69148075f.tar.gz slx-admin-04123643da499bac9eed8e8d1198a4c69148075f.tar.xz slx-admin-04123643da499bac9eed8e8d1198a4c69148075f.zip |
Server Setup page
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main-menu.html | 7 | ||||
-rw-r--r-- | templates/page-serversetup.html | 30 |
2 files changed, 34 insertions, 3 deletions
diff --git a/templates/main-menu.html b/templates/main-menu.html index 733f901f..71800915 100644 --- a/templates/main-menu.html +++ b/templates/main-menu.html @@ -16,13 +16,14 @@ <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Einstellungen<b class="caret"></b></a> <ul class="dropdown-menu"> + <li class="dropdown-header">Client</li> <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=iPxe">iPXE</a></li> <li class="divider"></li> - <li class="dropdown-header">Nav header</li> - <li><a href="#">1</a></li> + <li class="dropdown-header">Server</li> + <li><a href="?do=ServerSetup">Grundkonfiguration</a></li> + <li><a href="?do=iPxe">iPXE</a></li> </ul> </li> </ul> diff --git a/templates/page-serversetup.html b/templates/page-serversetup.html new file mode 100644 index 00000000..2f900a03 --- /dev/null +++ b/templates/page-serversetup.html @@ -0,0 +1,30 @@ +<div class="panel panel-default"> + <div class="panel-heading"> + Boot-Adresse des Servers + </div> + <div class="panel-body"> + <p> + Bitte wählen Sie die IP-Adresse, über die der Server von den Clients zum Booten angesprochen werden soll. + </p> + <form method="post"> + <input type="hidden" name="token" value="{{token}}"> + <table> + {{#ips}} + <tr> + <td>{{ip}}</td> + {{#default}} + <td> + <span class="btn btn-success btn-xs"><span class="glyphicon glyphicon-ok"></span> Aktiv</span> + </td> + {{/default}} + {{^default}} + <td> + <button class="btn btn-primary btn-xs" name="ip" value="{{ip}}"><span class="glyphicon glyphicon-flag"></span> Setzen</button> + </td> + {{/default}} + </tr> + {{/ips}} + </table> + </form> + </div> +</div>
\ No newline at end of file |