diff options
author | raul | 2014-07-11 15:14:50 +0200 |
---|---|---|
committer | raul | 2014-07-11 15:14:50 +0200 |
commit | 0f802832400d75a81984d41152137cee119d836a (patch) | |
tree | 42cf503b23795a6689af5544c48e10b05a668197 /templates | |
parent | [i18n] deleted old unnecessary files (diff) | |
parent | [i18n] deleted old unnecessary files (diff) | |
download | slx-admin-0f802832400d75a81984d41152137cee119d836a.tar.gz slx-admin-0f802832400d75a81984d41152137cee119d836a.tar.xz slx-admin-0f802832400d75a81984d41152137cee119d836a.zip |
XMerge branch 'i18n' of gitlab.c3sl.ufpr.br:cdn/slx-admin into i18n
Diffstat (limited to 'templates')
-rw-r--r-- | templates/serversetup/ipaddress.html | 2 | ||||
-rw-r--r-- | templates/serversetup/ipxe.html | 5 | ||||
-rw-r--r-- | templates/sysconfig/_page.html (renamed from templates/page-sysconfig-main.html) | 0 | ||||
-rw-r--r-- | templates/sysconfig/branding-check.html | 29 | ||||
-rw-r--r-- | templates/sysconfig/branding-start.html | 19 |
5 files changed, 50 insertions, 5 deletions
diff --git a/templates/serversetup/ipaddress.html b/templates/serversetup/ipaddress.html index 0352ab90..acfbb408 100644 --- a/templates/serversetup/ipaddress.html +++ b/templates/serversetup/ipaddress.html @@ -10,7 +10,7 @@ <form method="post" action="?do=ServerSetup"> <input type="hidden" name="action" value="ip"> <input type="hidden" name="token" value="{{token}}"> - <table> + <table class="slx-table"> {{#ips}} <tr> <td>{{ip}}</td> diff --git a/templates/serversetup/ipxe.html b/templates/serversetup/ipxe.html index dddc0ecc..772777d1 100644 --- a/templates/serversetup/ipxe.html +++ b/templates/serversetup/ipxe.html @@ -31,11 +31,8 @@ <strong>{{lang_menuCustom}}</strong> <a class="btn btn-default btn-xs" data-toggle="modal" data-target="#help-custom"><span class="glyphicon glyphicon-question-sign"></span></a> <textarea class="form-control" name="custom">{{custom}}</textarea> </div> - - - <br> - <div data-tm-id="{{taskid}}" data-tm-log="error"> Status</div> </div> + <div class="panel-footer"> <button class="btn btn-primary" name="action" value="ipxe">{{lang_bootMenuCreate}}</button> </div> diff --git a/templates/page-sysconfig-main.html b/templates/sysconfig/_page.html index 086ea9af..086ea9af 100644 --- a/templates/page-sysconfig-main.html +++ b/templates/sysconfig/_page.html diff --git a/templates/sysconfig/branding-check.html b/templates/sysconfig/branding-check.html new file mode 100644 index 00000000..93be4f2d --- /dev/null +++ b/templates/sysconfig/branding-check.html @@ -0,0 +1,29 @@ +<p> + Unten sehen Sie zur Kontrolle noch einmal das ausgewählte Logo. Sollten Sie das Logo + nicht sehen können, prüfen Sie bitte, ob Sie ein valides SVG-Bild verwendet haben. + Alternativ ist es möglich, dass beim Verarbeiten des Bildes ein Fehler auftrat. Sie + können daher das Modul trotzdem speichern und testen, ob das Logo im bwLehrpool-System + angezeigt wird. +</p> +<div class="pull-left"> + {{#svg}} + <img src="data:image/svg+xml;base64,{{svg}}" width="192" height="192"> + {{/svg}} +</div> +<div class="pull-right"> + {{#png}} + <img src="data:image/png;base64,{{png}}"> + {{/png}} +</div> +<div class="clearfix"></div> +<div>{{error}}</div> +<div> + <form role="form" enctype="multipart/form-data" method="post" action="?do=SysConfig&action=addmodule&step={{step}}"> + <input type="hidden" name="token" value="{{token}}"> + <div class="form-group"> + <label for="title-id">Titel</label> + <input type="text" name="title" id ="title-id" class="form-control" placeholder="Name des Moduls"> + </div> + <button type="submit" class="btn btn-primary">Speichern</button> + </form> +</div> diff --git a/templates/sysconfig/branding-start.html b/templates/sysconfig/branding-start.html new file mode 100644 index 00000000..d26a5dee --- /dev/null +++ b/templates/sysconfig/branding-start.html @@ -0,0 +1,19 @@ +<p> + Für beste Ergebnisse sollten Sie ihr Einrichtungslogo im SVG Format hochladen. + das SVG-Format ist ein Vektorgrafikformat, was zum Skalieren vorteilhaft ist. + Eine Gute Quelle für SVG-Logos von Unis und Hochschulen ist ihr jeweiliger Wikipedia-Artikel. +</p> +<form role="form" enctype="multipart/form-data" method="post" action="?do=SysConfig&action=addmodule&step={{step}}"> + <input type="hidden" name="token" value="{{token}}"> + <div class="form-group"> + <label for="input-url">Bild von URL laden</label> + <input class="form-control" type="text" name="url" id="input-url"> + </div> + oder + <div class="form-group"> + <label for="input-file">Bild von lokalem Rechner hochladen</label> + <input class="form-control" type="file" name="file" id="input-file"> + </div> + <button type="submit" class="btn btn-primary">Hochladen</button> +</form> + |