summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-05-07 10:31:56 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-05-07 10:31:56 +0200
commita0193ca6ec2b67db360eb3f20dfad69940c0f6a1 (patch)
tree1ad5fb98c0dc21f59de5d3c0264334e167634ee3
parent4a4d7f4ba8ebc8719c536ea07f89c6848d542f90 (diff)
add developer notes
-rw-r--r--public/static/default.css2
-rw-r--r--templates/layouts/default.html.ep16
2 files changed, 16 insertions, 2 deletions
diff --git a/public/static/default.css b/public/static/default.css
index fc2a488..e18d705 100644
--- a/public/static/default.css
+++ b/public/static/default.css
@@ -445,7 +445,7 @@ input, select {
}
div.notes {
- margin-top: 4em;
+ margin-top: 2em;
}
div.notes ul {
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 7e89c5f..2fae2be 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -179,12 +179,26 @@ nur Züge via Bochum oder Hamm)</li>
<ul>
<li><a href="http://reiseauskunft.bahn.de/bin/bhftafel.exe/dn">DB RIS</a>
(<a href="http://mobile.bahn.de/bin/mobil/bhftafel.exe/dox">mobil</a>)</li>
-<li><a href="http://marudor.de/">Alternatives Interface</a> von <a href="https://twitter.com/marudor">@marudor</a></li>
<li><a href="http://data.deutschebahn.com/datasets/betriebsstellen/">Betriebsstellenliste</a></li>
<li><a href="https://vrrf.finalrewind.org/">vrr-infoscreen</a></li>
</ul>
</div> <!-- notes -->
+<div class="notes">
+<span class="notes">Developers Developers Developers Developers:</span>
+<ul>
+<li>Diese Seite kann gerne als iframe in eigene Infoscreens o.ä. eingebunden werden.
+ Das App/Infoscreen-Template kann dazu (falls nötig) mit
+ <span style="font-family: monospace;">force_mobile=1</span> bzw.
+ <span style="font-family: monospace;">force_mobile=0</span> auf die mobile
+ bzw. die Desktopversion festgelegt werden</li>
+<li>Die Parameter <span style="font-family: monospace;">mode=marudor&amp;version=2</span>
+ liefern ein JSON-Interface. Die route-Elemente können zusätzlich
+ die Felder "isAdditional" oder "isCancelled" enthalten, der Rest sollte
+ selbsterklärend sein</li>
+</ul>
+</div> <!-- notes -->
+
<div class="about">
<a href="https://finalrewind.org/projects/db-fakedisplay/">db-infoscreen</a>
v<%= stash('version') // '???' %><br/>