summaryrefslogtreecommitdiff
path: root/cgi/templates/layouts/default.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates/layouts/default.html.ep')
-rw-r--r--cgi/templates/layouts/default.html.ep140
1 files changed, 0 insertions, 140 deletions
diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep
deleted file mode 100644
index 8600b8f..0000000
--- a/cgi/templates/layouts/default.html.ep
+++ /dev/null
@@ -1,140 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title><%= $title %></title>
- <meta charset="utf-8">
-% if ($self->stash('refresh_interval')) {
- <meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/>
-% }
-
-
- %= stylesheet '/default.css'
- %= javascript '/jquery-1.10.2.min.js'
- %= javascript '/marquee.js'
- %= javascript begin
- $(function () { $('marquee').marquee() });
- % end
-</head>
-<body style="<%= ($hide_opts ? 'margin: 0; padding: 0;' : q{}) %>">
-
-% if (my $error = stash 'error') {
-<div class="error">Received an error from the backend service:</div>
-<div>
-<pre>
-%= $error
-</pre>
-</div>
-% }
-
-%= content
-
-% if (not $hide_opts) {
-<div class="input-field">
-
-
-%= form_for _redirect => begin
-<div>
- <div class="field">
- <div class="desc">Station name</div>
- <div>
-% if (stash('stationlist')) {
- %= select_field station => stash('stationlist')
-% }
-% else {
- %= text_field 'station'
-% }
- %= submit_button 'Display'
- </div>
- </div>
- <div class="break"></div>
- <span class="optional">optional:</span>
- <div class="field">
- <div class="desc">
- only display routes via
- </div>
- <div>
- %= text_field 'via'
- </div>
- </div>
- <div class="field">
- <div class="desc">
- on platforms
- </div>
- <div>
- %= text_field 'platforms'
- </div>
- </div>
- <div class="field">
- <div class="desc">
- hide delay &lt; 5 minutes
- </div>
- <div>
- %= check_box 'hidelowdelay' => 1
- </div>
- </div>
- <div class="field">
- <div class="desc">
- display type
- </div>
- <div>
- %= select_field mode => [['combined' => 'multi'], ['platform' => 'single'], ['non-DB' => 'clean']]
- </div>
- </div>
- <div class="field">
- <div class="desc">
- backend
- </div>
- <div>
- %= select_field backend => [['RIS' => 'ris'], ['IRIS' => 'iris']]
- </div>
- </div>
- <div class="field">
- <div class="desc">
- hide input fields
- </div>
- <div>
- %= check_box 'hide_opts' => 1
- </div>
- </div>
-</div>
-% end
-
-</div> <!-- input-field -->
-
-<div class="notes">
-<span class="notes">notes:</span>
-<ul>
-<li>Umlauts do not work reliably. Try either ä → ae or ä → a</li>
-</ul>
-</div> <!-- notes -->
-
-<div class="notes">
-<span class="notes">examples:</span>
-<ul>
-<li><a href="/Essen%20Hbf">Essen HBf</a> (RIS, combined table)</li>
-<li><a href="/Dortmund/Bochum%7CHamm">Dortmund HBf</a> (RIS, combined table,
-only routes via Bochum or Hamm)</li>
-<li><a href="/Dortmund%20Uni?mode=clean&backend=iris">Dortmund Universit&auml;t</a> (IRIS, mobile view)</li>
-<li><a href="/KD?mode=single&backend=iris">D&uuml;sseldorf HBf</a> (IRIS, platform view)</li>
-</ul>
-</div>
-
-<div class="notes">
-<span class="notes">see also:</span>
-<ul>
-<li><a href="http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn">DeutscheBahn RIS</a></li>
-<li><a href="https://iris.noncd.db.de/wbt/js/index.html?typ=ab&amd;style=qrab&amp;bhf=EE&amp;SecLang=&amp;Zeilen=40&amp;footer=0&amp;disrupt=1"
->DeutscheBahn IRIS</a> (see <a href="http://www.db-netz.de/file/2361656/data/betriebsstellen.pdf">betriebsstellen.pdf</a>)</li>
-<li><a href="http://www.frubi.net/iris/?station=Essen%20HBf">frubi.net arrival/departure monitor</a></li>
-<li><a href="http://vrrf.finalrewind.org/">vrr-fakedisplay</a></li>
-</ul>
-</div> <!-- notes -->
-
-<div class="about">
-<a href="http://finalrewind.org/projects/db-fakedisplay/">db-fakedisplay</a>
-v<%= $version %>
-</div>
-% }
-
-</body>
-</html>