Hardcode SaFire and ShaRe tiles for the time being

This commit is contained in:
Disassembler 2020-06-21 14:10:04 +02:00
parent f5ddc19a07
commit 3fe8ae2735
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 40 additions and 0 deletions

View File

@ -48,6 +48,30 @@
</div> </div>
{% endif %} {% endif %}
{% if 'safire' in visible_apps %}
{% set app = apps['safire'] %}
<div class="portal-box">
<h2><a href="https://{{ app['host'] }}.{{ host }}/eden/"><img src="static/img/EDEN.png" alt="Sahana EDEN SaFiRe" title="Sahana EDEN SaFiRe">Sahana EDEN SaFiRe</a></h2>
<p>Samostatná instance Sahana EDEN s šablonou SaFiRe.</p>
<ul>
<li><strong>Login:</strong> <span class="login">{{ app['login'] }}</span></li>
<li><strong>Heslo:</strong> <span class="password">{{ app['password'] }}</span></li>
</ul>
</div>
{% endif %}
{% if 'share' in visible_apps %}
{% set app = apps['share'] %}
<div class="portal-box">
<h2><a href="https://{{ app['host'] }}.{{ host }}/eden/"><img src="static/img/EDEN.png" alt="Sahana EDEN ShaRe" title="Sahana EDEN ShaRe">Sahana EDEN ShaRe</a></h2>
<p>Samostatná instance Sahana EDEN s šablonou ShaRe.</p>
<ul>
<li><strong>Login:</strong> <span class="login">{{ app['login'] }}</span></li>
<li><strong>Heslo:</strong> <span class="password">{{ app['password'] }}</span></li>
</ul>
</div>
{% endif %}
{% if 'crisiscleanup' in visible_apps %} {% if 'crisiscleanup' in visible_apps %}
{% set app = apps['crisiscleanup'] %} {% set app = apps['crisiscleanup'] %}
<div class="portal-box"> <div class="portal-box">

View File

@ -25,6 +25,22 @@
</div> </div>
{% endif %} {% endif %}
{% if 'safire' in visible_apps %}
{% set app = apps['safire'] %}
<div class="portal-box">
<h2><a href="https://{{ app['host'] }}.{{ host }}/eden/">Řešení nouzových událostí</a></h2>
<p>Samostatná instance s šablonou pro řešení nouzových událostí.</p>
</div>
{% endif %}
{% if 'share' in visible_apps %}
{% set app = apps['share'] %}
<div class="portal-box">
<h2><a href="https://{{ app['host'] }}.{{ host }}/eden/">Úleva a rehabilitace</a></h2>
<p>Samostatná instance s šablonou pro úlevu a rehabilitace.</p>
</div>
{% endif %}
{% if 'crisiscleanup' in visible_apps %} {% if 'crisiscleanup' in visible_apps %}
{% set app = apps['crisiscleanup'] %} {% set app = apps['crisiscleanup'] %}
<div class="portal-box"> <div class="portal-box">