This commit is contained in:
Lilian Roller 2019-03-18 09:30:09 +01:00
parent 6818ebf883
commit 24aa6e3b3a
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
4 changed files with 6 additions and 6 deletions

View file

@ -79,7 +79,7 @@ L.polygon([
color: 'orange', color: 'orange',
fillColor: 'orange', fillColor: 'orange',
fillOpacity: 0.5 fillOpacity: 0.5
}).addTo(mymap).bindPopup("<aside><b>Toolbox Bodensee e.V.</b><br /><a id='tb-closed' class='special button' style='background: FireBrick;'>Vereinsheim geschlossen!</a><a id='tb-opened' class='special button' style='background-color: LimeGreen !important;'>Vereinsheim offen!</a></aside>"); }).addTo(mymap).bindPopup("<aside><b>Toolbox Bodensee e.V.</b><br /><a id='no-waffles' class='special button' style='background: FireBrick;'>Vereinsheim geschlossen!</a><a id='waffel-available' class='special button' style='background-color: LimeGreen !important;'>Vereinsheim offen!</a></aside>");
L.circle([47.71229545, 9.39956009], 2, { L.circle([47.71229545, 9.39956009], 2, {
color: 'red', color: 'red',

View file

@ -3,7 +3,7 @@
@import 'libs/mixins'; @import 'libs/mixins';
@import url("../css/font-awesome.min.css"); @import url("../css/font-awesome.min.css");
@import url("../fonts/roboto.css"); @import url("../fonts/roboto.css");
@import url("https://toolbox-bodensee.de/css/spacestatus.css"); @import url("https://c3woc.de/css/spacestatus.css");
@import "libs/skel"; @import "libs/skel";
@import 'parts/startpage'; @import 'parts/startpage';

View file

@ -78,7 +78,7 @@ input[type="button"],
opacity: 0.25; opacity: 0.25;
} }
&.tb-opened { &.waffel-available {
background-color: LimeGreen !important; background-color: LimeGreen !important;
&.navbar { &.navbar {
@ -87,7 +87,7 @@ input[type="button"],
} }
} }
.tb-closed { .no-waffles {
color: #d23128ff; color: #d23128ff;
} }

View file

@ -59,7 +59,7 @@
#} #}
<div class="tooltip"> <div class="tooltip">
<a id="tb-opened" class="button tb-opened navbar special" href="{% <a id="waffel-available" class="button waffel-available navbar special" href="{%
if bag('translate', this.alt, 'api_url_open') %}{{ bag('translate', this.alt, 'api_url_open') }}{% if bag('translate', this.alt, 'api_url_open') %}{{ bag('translate', this.alt, 'api_url_open') }}{%
else %}{{ bag('translate', 'de', 'api_url_open') }}{% endif else %}{{ bag('translate', 'de', 'api_url_open') }}{% endif
%}">{% %}">{%
@ -72,7 +72,7 @@
else %}{{ bag('translate', 'de', 'api_open_text') }}{% endif %}</span> else %}{{ bag('translate', 'de', 'api_open_text') }}{% endif %}</span>
</div> </div>
<div class="tooltip"> <div class="tooltip">
<a id="tb-closed" class="tb-closed" href="{% if bag('translate', this.alt, 'api_url') %}{{ bag('translate', this.alt, 'api_url') }}{% <a id="no-waffles" class="no-waffles" href="{% if bag('translate', this.alt, 'api_url') %}{{ bag('translate', this.alt, 'api_url') }}{%
else %}{{ bag('translate', 'de', 'api_url') }}{% endif else %}{{ bag('translate', 'de', 'api_url') }}{% endif
%}">{% %}">{%
if bag('translate', this.alt, 'api_space') %}{{ bag('translate', this.alt, 'api_space') }}{% if bag('translate', this.alt, 'api_space') %}{{ bag('translate', this.alt, 'api_space') }}{%