summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-27 21:15:35 +0200
committerSimon Rettberg2014-06-27 21:15:35 +0200
commit16aacada0f64240b7ec35026f0e207b7d0fd37df (patch)
tree26f4b434cd8eb7d3cd0c8eaba6cff6d096213761 /templates
parentAdded doxygen comments to Taskmanager class (diff)
downloadslx-admin-16aacada0f64240b7ec35026f0e207b7d0fd37df.tar.gz
slx-admin-16aacada0f64240b7ec35026f0e207b7d0fd37df.tar.xz
slx-admin-16aacada0f64240b7ec35026f0e207b7d0fd37df.zip
New SysConfig module for adding a logo
Diffstat (limited to 'templates')
-rw-r--r--templates/sysconfig/branding-check.html29
-rw-r--r--templates/sysconfig/branding-start.html19
2 files changed, 48 insertions, 0 deletions
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&amp;action=addmodule&amp;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&amp;action=addmodule&amp;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>
+