summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/guest_credits.html7
-rw-r--r--templates/layout.html6
-rw-r--r--templates/maintenance.html2
-rw-r--r--templates/user_shifts.html17
4 files changed, 19 insertions, 13 deletions
diff --git a/templates/guest_credits.html b/templates/guest_credits.html
index ba746d6a..db7fac57 100644
--- a/templates/guest_credits.html
+++ b/templates/guest_credits.html
@@ -20,11 +20,10 @@
<div class="col-md-4">
<h2>Hosting</h2>
<p>
- Webspace, development platform and domain on <a href="https://engelsystem.de">engelsystem.de</a> is currently provided by
- <a href="https://www.wybt.net/">would you buy this?</a> (ichdasich)
+ Webspace, development platform and domain on <a href="https://engelsystem.de">engelsystem.de</a>
+ is currently provided by <a href="https://www.wybt.net/">would you buy this?</a> (ichdasich)
and adminstrated by <a href="http://mortzu.de/">mortzu</a>,
- <a href="http://derf.homelinux.org/">derf</a>
- and ichdasich.
+ <a href="http://derf.homelinux.org/">derf</a> and ichdasich.
</p>
</div>
<div class="col-md-4">
diff --git a/templates/layout.html b/templates/layout.html
index 787b4f22..4b9aa06e 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -22,7 +22,9 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="?"><span class="icon-icon_angel"></span> <strong class="visible-lg-inline">ENGELSYSTEM</strong></a>
+ <a class="navbar-brand" href="%start_page_url%">
+ <span class="icon-icon_angel"></span> <strong class="visible-lg-inline">ENGELSYSTEM</strong>
+ </a>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-1">%menu% %header_toolbar%</div>
</div>
@@ -38,7 +40,7 @@
· <a href="%contact_email%"><span class="glyphicon glyphicon-envelope"></span> Contact</a>
· <a href="https://github.com/engelsystem/engelsystem/issues">Bugs / Features</a>
· <a href="https://github.com/engelsystem/engelsystem/">Development Platform</a>
- · <a href="?p=credits">Credits</a>
+ · <a href="%credits_url%">Credits</a>
</div>
</div>
</div>
diff --git a/templates/maintenance.html b/templates/maintenance.html
index 3f7dae8a..bd73bd74 100644
--- a/templates/maintenance.html
+++ b/templates/maintenance.html
@@ -21,7 +21,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="?">
+ <a class="navbar-brand" href="#">
<span class="icon-icon_angel"></span> <strong class="visible-lg-inline">ENGELSYSTEM</strong>
</a>
</div>
diff --git a/templates/user_shifts.html b/templates/user_shifts.html
index 2b176ef9..c3fb7718 100644
--- a/templates/user_shifts.html
+++ b/templates/user_shifts.html
@@ -4,12 +4,14 @@
var days = document.getElementById(id + '_day').getElementsByTagName(
'option');
for (var i = 0; i < days.length; i++) {
- if (days[i].value == moment().format('YYYY-MM-DD'))
+ if (days[i].value === moment().format('YYYY-MM-DD')) {
days[i].selected = true;
+ }
}
}
</script>
-<form class="form-inline" action="" method="get">
+
+<form class="form-inline" action="">
<input type="hidden" name="p" value="user_shifts">
<div class="row">
<div class="col-md-6">
@@ -17,7 +19,7 @@
<div class="form-group">%start_select%</div>
<div class="form-group">
<div class="input-group">
- <input class="form-control" type="text" id="start_time" name="start_time" size="5"
+ <input class="form-control" id="start_time" name="start_time" size="5"
pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%start_time%">
<div class="input-group-btn">
<button class="btn btn-default" title="Now" type="button" onclick="set_to_now('start');">
@@ -30,7 +32,7 @@
<div class="form-group">%end_select%</div>
<div class="form-group">
<div class="input-group">
- <input class="form-control" type="text" id="end_time" name="end_time" size="5"
+ <input class="form-control" id="end_time" name="end_time" size="5"
pattern="^\d{1,2}:\d{2}$" placeholder="HH:MM" maxlength="5" value="%end_time%">
<div class="input-group-btn">
<button class="btn btn-default" title="Now" type="button" onclick="set_to_now('end');">
@@ -46,8 +48,11 @@
</div>
<div class="row">
<div class="col-md-6">
- <div>%task_notice%</div>
- <input class="btn btn-primary" type="submit" style="width: 75%; margin-bottom: 20px" value="%filter%">
+ <div>%assign_notice%</div>
+ </div>
+ <div class="col-md-6">
+ <div><p>%task_notice%</p></div>
+ <input class="btn btn-primary" type="submit" style="width:75%; margin-bottom: 20px" value="%filter%">
</div>
</div>
</form>