diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/guest_credits.html | 58 | ||||
-rw-r--r-- | templates/layout.html | 87 | ||||
-rw-r--r-- | templates/user_shifts.html | 90 |
3 files changed, 126 insertions, 109 deletions
diff --git a/templates/guest_credits.html b/templates/guest_credits.html index 472676db..ffde2fba 100644 --- a/templates/guest_credits.html +++ b/templates/guest_credits.html @@ -1,27 +1,35 @@ <div class="container"> -<h1>Credits</h1> - <div class="row"> - <div class="col-md-4"> - <h2>Source code</h2> - <p> - The original system was written by <a href="https://github.com/cookieBerlin/engelsystem">cookie</a>. It was then completely rewritten and greatly enhanced by <a href="http://notrademark.de/">msquare</a> and <a href="http://mortzu.de/">mortzu</a> of <a href="http://planetcyborg.de">planet - cyborg</a>, <a href="http://jplitza.de/">jplitza</a> and gnomus. - </p> - <p> - Please look at the <a href="https://github.com/engelsystem/engelsystem/graphs/contributors">contributor list on github</a> for a more complete version. - </p> + <h1>Credits</h1> + <div class="row"> + <div class="col-md-4"> + <h2>Source code</h2> + <p> + The original system was written by <a href="https://github.com/cookieBerlin/engelsystem">cookie</a>. + It was then completely rewritten and greatly enhanced by <a href="http://notrademark.de/">msquare</a> + and <a href="http://myigel.name/">MyIgel</a>, + <a href="http://mortzu.de/">mortzu</a> of <a href="http://planetcyborg.de">planet cyborg</a>, + <a href="http://jplitza.de/">jplitza</a> and gnomus. + </p> + <p> + Please look at the <a href="https://github.com/engelsystem/engelsystem/graphs/contributors">contributor + list on github</a> for a more complete version. + </p> + </div> + <div class="col-md-4"> + <h2>Hosting</h2> + <p> + Webspace, development platform and domain is currently provided by + <a href="https://www.wybt.net/">would you buy this?</a> (ichdasich)<br/> + and adminstrated by <a href="http://mortzu.de/">mortzu</a>, + <a href="http://derf.homelinux.org/">derf</a> + and ichdasich. + </p> + </div> + <div class="col-md-4"> + <h2>Translation</h2> + <p> + Many thanks for the german translation: <a href="http://e7p.de">e7p</a> + </p> + </div> </div> - <div class="col-md-4"> - <h2>Hosting</h2> - <p> - Webspace, development platform and domain is currently provided by <a href="https://www.wybt.net/">would you buy this?</a> (ichdasich)<br /> and adminstrated by <a href="http://mortzu.de/">mortzu</a>, <a href="http://derf.homelinux.org/">derf</a> and ichdasich. - </p> - </div> - <div class="col-md-4"> - <h2>Translation</h2> - <p> - Many thanks for the german translation: <a href="http://e7p.de">e7p</a> - </p> - </div> - </div> -</div>
\ No newline at end of file +</div> diff --git a/templates/layout.html b/templates/layout.html index 6a1ddb5d..787b4f22 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -1,53 +1,60 @@ <!DOCTYPE html> <html> <head> -<title>%title% - Engelsystem</title> -<meta charset="UTF-8" /> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<link rel="stylesheet" type="text/css" href="css/theme%theme%.css" /> -<link rel="stylesheet" type="text/css" href="vendor/icomoon/style.css" /> -<link rel="stylesheet" type="text/css" href="vendor/bootstrap-datepicker-1.4.0/css/bootstrap-datepicker3.min.css" /> -<script type="text/javascript" src="vendor/jquery-2.1.1.min.js"></script> -<script type="text/javascript" src="vendor/jquery-ui.min.js"></script> -%atom_link% + <title>%title% - Engelsystem</title> + <meta charset="UTF-8"/> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" type="text/css" href="css/theme%theme%.css"/> + <link rel="stylesheet" type="text/css" href="vendor/icomoon/style.css"/> + <link rel="stylesheet" type="text/css" href="vendor/bootstrap-datepicker-1.4.0/css/bootstrap-datepicker3.min.css"/> + <script type="text/javascript" src="vendor/jquery-2.1.1.min.js"></script> + <script type="text/javascript" src="vendor/jquery-ui.min.js"></script> + %atom_link% </head> <body> - <div class="navbar navbar-default navbar-fixed-top"> +<div class="navbar navbar-default navbar-fixed-top"> <div class="container-fluid"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1"> - <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <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> - </div> - <div class="collapse navbar-collapse" id="navbar-collapse-1">%menu% %header_toolbar%</div> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" + data-toggle="collapse" data-target="#navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <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> + </div> + <div class="collapse navbar-collapse" id="navbar-collapse-1">%menu% %header_toolbar%</div> </div> - </div> - <div class="container-fluid"> +</div> +<div class="container-fluid"> <div class="row">%content%</div> <div class="row"> - <div class="col-md-12"> - <hr /> - <div class="text-center footer" style="margin-bottom: 10px;"> - %event_info% - <a href="%faq_url%">FAQ</a> · <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> + <div class="col-md-12"> + <hr/> + <div class="text-center footer" style="margin-bottom: 10px;"> + %event_info% + <a href="%faq_url%">FAQ</a> + · <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> + </div> </div> - </div> </div> - </div> - <script type="text/javascript" src="vendor/bootstrap/js/bootstrap.min.js"></script> - <script type="text/javascript" src="vendor/bootstrap-datepicker-1.4.0/js/bootstrap-datepicker.min.js"></script> - <script type="text/javascript" src="vendor/bootstrap-datepicker-1.4.0/locales/bootstrap-datepicker.de.min.js"></script> - <script type="text/javascript" src="vendor/Chart.min.js"></script> - <script type="text/javascript" src="js/forms.js"></script> - <script type="text/javascript" src="vendor/moment-with-locales.min.js"></script> - <script type="text/javascript"> - $(function() { - moment.locale("%locale%"); - }); - </script> - <script type="text/javascript" src="js/moment-countdown.js"></script> - <script type="text/javascript" src="js/sticky-headers.js"></script> +</div> +<script type="text/javascript" src="vendor/bootstrap/js/bootstrap.min.js"></script> +<script type="text/javascript" src="vendor/bootstrap-datepicker-1.4.0/js/bootstrap-datepicker.min.js"></script> +<script type="text/javascript" src="vendor/bootstrap-datepicker-1.4.0/locales/bootstrap-datepicker.de.min.js"></script> +<script type="text/javascript" src="vendor/Chart.min.js"></script> +<script type="text/javascript" src="js/forms.js"></script> +<script type="text/javascript" src="vendor/moment-with-locales.min.js"></script> +<script type="text/javascript"> + $(function () { + moment.locale("%locale%"); + }); +</script> +<script type="text/javascript" src="js/moment-countdown.js"></script> +<script type="text/javascript" src="js/sticky-headers.js"></script> </body> </html> diff --git a/templates/user_shifts.html b/templates/user_shifts.html index e4aba6ce..2b176ef9 100644 --- a/templates/user_shifts.html +++ b/templates/user_shifts.html @@ -1,52 +1,54 @@ <script type="text/javascript"> - function set_to_now(id) { - document.getElementById(id + '_time').value = moment().format('HH:mm'); - 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')) - days[i].selected = true; - } - } + function set_to_now(id) { + document.getElementById(id + '_time').value = moment().format('HH:mm'); + 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')) + days[i].selected = true; + } + } </script> <form class="form-inline" action="" method="get"> - <input type="hidden" name="p" value="user_shifts"> - <div class="row"> - <div class="col-md-6"> - <h1>%title%</h1> - <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" 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');"> - <span class="glyphicon glyphicon-time"></span> - </button> - </div> + <input type="hidden" name="p" value="user_shifts"> + <div class="row"> + <div class="col-md-6"> + <h1>%title%</h1> + <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" + 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');"> + <span class="glyphicon glyphicon-time"></span> + </button> + </div> + </div> + </div> + – + <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" + 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');"> + <span class="glyphicon glyphicon-time"></span> + </button> + </div> + </div> + </div> </div> - </div> - – - <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" 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');"> - <span class="glyphicon glyphicon-time"></span> - </button> - </div> + <div class="col-md-2">%room_select%</div> + <div class="col-md-2">%type_select%</div> + <div class="col-md-2">%filled_select%</div> + </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> - </div> </div> - <div class="col-md-2">%room_select%</div> - <div class="col-md-2">%type_select%</div> - <div class="col-md-2">%filled_select%</div> - </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> - </div> </form> %shifts_table% %ical_text% |