summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimon Rettberg2015-03-04 18:43:06 +0100
committerSimon Rettberg2015-03-04 18:43:06 +0100
commit7b17223904214024018f626715926fa729941d3c (patch)
tree6d9fd93915726600ed6c430d1e2e64af87528ef1 /templates
parentThird Commit (diff)
downloadbwlp-webadmin-7b17223904214024018f626715926fa729941d3c.tar.gz
bwlp-webadmin-7b17223904214024018f626715926fa729941d3c.tar.xz
bwlp-webadmin-7b17223904214024018f626715926fa729941d3c.zip
Fourth Commit
Diffstat (limited to 'templates')
-rw-r--r--templates/main/guest.html2
-rw-r--r--templates/main/logged-in-testacc.html53
2 files changed, 54 insertions, 1 deletions
diff --git a/templates/main/guest.html b/templates/main/guest.html
index 76b77ab..14cc902 100644
--- a/templates/main/guest.html
+++ b/templates/main/guest.html
@@ -1,7 +1,7 @@
<div class="form-narrow">
Sie sind nicht authentifiziert. Bitte wählen Sie:
<ul>
- <li><a href="shib/">Anmelden oder Registrieren über bwIDM</a></li>
+ <li><a href="shib/">Anmelden oder registrieren über bwIDM</a></li>
<li><a href="?do=Login">Anmelden mit einem bwLehrpool-Testaccount</a></li>
</ul>
</div>
diff --git a/templates/main/logged-in-testacc.html b/templates/main/logged-in-testacc.html
new file mode 100644
index 0000000..a9e6f28
--- /dev/null
+++ b/templates/main/logged-in-testacc.html
@@ -0,0 +1,53 @@
+<p>
+ Sie sind mit Ihrem Test-Account <b>{{login}}</b> angemeldet. Sie können Ihr Passwort oder Ihre e-Mail-Adresse ändern.
+</p>
+
+<form method="post" action="?do=Edit">
+ <input type="hidden" name="token" value="{{token}}">
+ <div class="form-narrow">
+
+ <div class="group-group">
+ <div class="input-group">
+ <span class="input-group-addon slx-ga">
+ Einrichtung
+ </span>
+ <span class="form-control">{{organization}}</span>
+ </div>
+ <div class="input-group">
+ <span class="input-group-addon slx-ga">
+ Vorname
+ </span>
+ <span class="form-control">{{firstname}}</span>
+ </div>
+ <div class="input-group">
+ <span class="input-group-addon slx-ga">
+ Nachname
+ </span>
+ <span class="form-control">{{lastname}}</span>
+ </div>
+ <div class="input-group">
+ <span class="input-group-addon slx-ga">
+ Mail
+ </span>
+ <input class="form-control" type="text" name="email" value="{{email}}" pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}">
+ </div>
+ <div class="input-group">
+ <span class="input-group-addon slx-ga">
+ Passwort
+ </span>
+ <input class="form-control" type="password" name="pass1">
+ </div>
+ <div class="input-group">
+ <span class="input-group-addon slx-ga">
+ Wiederholen
+ </span>
+ <input class="form-control" type="password" name="pass2">
+ </div>
+ </div>
+
+ <div class="pull-right">
+ <button type="submit" class="btn btn-primary">Speichern</button>
+ </div>
+
+ </div>
+</form>