summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSimon Rettberg2015-03-02 16:51:04 +0100
committerSimon Rettberg2015-03-02 16:51:04 +0100
commitab23338fe9f1b3ed21455867f1c032d7b146ceb8 (patch)
tree33d27fd848e25ae24a57b309348b5d73a811f223 /templates
downloadbwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.tar.gz
bwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.tar.xz
bwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.zip
Initial Commit
Diffstat (limited to 'templates')
-rw-r--r--templates/logout/_page.html8
-rw-r--r--templates/main-menu.html34
-rw-r--r--templates/main/_page.html3
-rw-r--r--templates/main/deploy.html42
-rw-r--r--templates/messagebox-error.html1
-rw-r--r--templates/messagebox-info.html1
-rw-r--r--templates/messagebox-success.html1
-rw-r--r--templates/messagebox-warning.html1
8 files changed, 91 insertions, 0 deletions
diff --git a/templates/logout/_page.html b/templates/logout/_page.html
new file mode 100644
index 0000000..a1fc870
--- /dev/null
+++ b/templates/logout/_page.html
@@ -0,0 +1,8 @@
+<div class="panel panel-default">
+ <div class="panel-heading">
+ Abmelden
+ </div>
+ <div class="panel-body">
+ Zum abmelden schließen Sie bitte dieses Browser-Fenster.
+ </div>
+</div>
diff --git a/templates/main-menu.html b/templates/main-menu.html
new file mode 100644
index 0000000..29ded4b
--- /dev/null
+++ b/templates/main-menu.html
@@ -0,0 +1,34 @@
+<!-- Fixed navbar -->
+<div class="navbar navbar-default navbar-fixed-top">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="?do=Main">bwLehrstuhl</a>
+ </div>
+ <div class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+ <li>
+ <a href="#">Hallo</a>
+ </li>
+ </ul>
+ <ul class="nav navbar-nav navbar-right">
+ {{#user}}
+ <li>
+ <span>
+ <b>{{user}}</b>
+ <a class="btn btn-default btn-xs" href="?do=Logout">Abmelden</a>
+ </span>
+ </li>
+ {{/user}}
+ {{^user}}
+ <li><a href="?do=Session&amp;action=login">Anmelden</a></li>
+ {{/user}}
+ </ul>
+ </div>
+ </div>
+</div>
+
diff --git a/templates/main/_page.html b/templates/main/_page.html
new file mode 100644
index 0000000..2e5525c
--- /dev/null
+++ b/templates/main/_page.html
@@ -0,0 +1,3 @@
+<h1>Guten Morgen, Chefingenieur Dr. {{user}}</h1>
+
+
diff --git a/templates/main/deploy.html b/templates/main/deploy.html
new file mode 100644
index 0000000..976d2b0
--- /dev/null
+++ b/templates/main/deploy.html
@@ -0,0 +1,42 @@
+<div class="form-narrow">
+ <form method="post" action="?do=Register">
+ <input type="hidden" name="token" value="{{token}}">
+
+ <p>
+ Hier können Sie sich für den bwLehrpool-Dienst freischalten. Da die Nutzung dieses Dienstes
+ unter Umständen Ihre persönlichen Daten speichert. Cool oder?
+ </p>
+
+ <div class="input-group">
+ <span class="input-group-addon">
+ <input name="agb" type="checkbox" id="agb">
+ </span>
+ <span class="form-control"><label for="agb">Ich stimme den <a>Nutzungsbedingungen</a> zu</label></span>
+ </div>
+
+ <p>
+ Möchten Sie Virtuelle Maschinen mit anderen Hochschulen austauschen? Dazu werden Ihr Name und Ihre e-Mail-Adresse zentral gespeichert und für Dozenten anderer Hochschulen auffindbar gemacht. Sie können diese Einstellung später jederzeit ändern.
+ </p>
+
+ <div class="input-group">
+ <span class="input-group-addon">
+ <input name="share" type="checkbox" id="share">
+ </span>
+ <span class="form-control"><label for="share">Am landesweiten VM-Austausch teilnehmen</label></span>
+ </div>
+
+ <div class="pull-right">
+ <button type="submit" class="btn btn-primary">Registrieren</button>
+ </div>
+
+ <div id="deploydata">
+ <div class="input-group">
+ <span class="input-group-addon">
+ Vorname
+ </span>
+ <input class="form-control" name="firstname">
+ </div>
+ </div>
+
+ </form>
+</div> \ No newline at end of file
diff --git a/templates/messagebox-error.html b/templates/messagebox-error.html
new file mode 100644
index 0000000..63f59a9
--- /dev/null
+++ b/templates/messagebox-error.html
@@ -0,0 +1 @@
+<div class="alert alert-danger">{{{message}}}</div>
diff --git a/templates/messagebox-info.html b/templates/messagebox-info.html
new file mode 100644
index 0000000..7136298
--- /dev/null
+++ b/templates/messagebox-info.html
@@ -0,0 +1 @@
+<div class="alert alert-info">{{{message}}}</div>
diff --git a/templates/messagebox-success.html b/templates/messagebox-success.html
new file mode 100644
index 0000000..3fa263e
--- /dev/null
+++ b/templates/messagebox-success.html
@@ -0,0 +1 @@
+<div class="alert alert-success">{{{message}}}</div>
diff --git a/templates/messagebox-warning.html b/templates/messagebox-warning.html
new file mode 100644
index 0000000..48a95b4
--- /dev/null
+++ b/templates/messagebox-warning.html
@@ -0,0 +1 @@
+<div class="alert alert-warning">{{{message}}}</div>