Commit 64c7c63e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

more prominent warning for IC/EC wagon order

parent 6fbaf22a
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -936,6 +936,28 @@ div.about a {
	text-decoration: none;
}

.notice {
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid #bce8f1;
	border-radius: 4px;
	color: #31708f;
	background-color: #d9edf7;
	margin-left: auto;
	margin-right: auto;
}

.warning {
	padding: 15px;
	margin-bottom: 20px;
	border: 1px solid #faebcc;
	border-radius: 4px;
	color: #8a6d3b;
	background-color: #fcf8e3;
	margin-left: auto;
	margin-right: auto;
}

.error {
	padding: 15px;
	margin-bottom: 20px;
+13 −7
Original line number Diff line number Diff line
@@ -11,6 +11,18 @@
  Zugtyp: <%= $wr->train_subtype // 'IC?' %>
</div>
</div>
% if ($wr->train_type ne 'ICE') {
  <div class="container">
    <div class="warning">
      <strong>⚠ Keine zuverlässigen Daten vorhanden.</strong>
      Das Wagenreihungs-Backend unterstützt derzeit ausschließlich ICE,
      IC/EC-Wagenreihungen sind i.A. Solldaten oder Quatsch.
      Maßgeblich sind die eingetragenen Meldungen sowie Anzeigen und Ansagen am
      Bahnsteig.
    </div>
  </div>
% }
<div class=
<div class="container">
  <div style="position: relative; width: 100%; height: 60ex;">
%   for my $section ($wr->sections) {
@@ -90,13 +102,7 @@
  </div>
-->
  <div>
%   if ($wr->train_type ne 'ICE') {
      Angaben bitte mit Vorsicht genießen. Eigentlich werden vom Backend nur
      ICE unterstützt.
%   }
%   else {
    Angaben ohne Gewähr – Echtzeitdaten sind möglicherweise nicht berücksichtigt.
%   }
  </div>

</div>