{% extends 'layout.html' %}
{% block title %}Cluster NGO{% endblock %}
{% block body %}
{% set host = '{}:{}'.format(conf['host']['domain'], conf['host']['port']) if conf['host']['port'] != '443' else conf['host']['domain'] %}
{% set app = conf['apps']['sahana'] %}
{% if app['visible'] and is_service_started('sahana') %}
<div class="portal-box portal-box-double-width">
    <h2><a href="https://sahana.{{ host }}/eden/"><img src="static/img/EDEN.png" alt="Sahana EDEN" title="Sahana EDEN">Sahana EDEN</a></h2>
    <p><strong>Registr kontaktů</strong> asociací, organizací, jednotek zaměstnanců, dobrovolníků, <strong>Registr prostředků</strong>, materiálních zdrojů určených pro činnost v krizových situacích, <strong>logistika</strong> krizového zboží ve skladištích, úkrytech, <strong>organizace lidských zdrojů</strong>, diobrovolníků, <strong>mapová vizualizace</strong> pro lokalizaci a popis krizové události a <strong>mnoho dalších funkcí</strong>.</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 %}

{% set app = conf['apps']['sahana-demo'] %}
{% if app['visible'] and is_service_started('sahana-demo') %}
<div class="portal-box">
    <h2><a href="https://sahana-demo.{{ host }}/eden/"><img src="static/img/EDEN.png" alt="Sahana EDEN DEMO" title="Sahana EDEN DEMO">Sahana EDEN DEMO</a></h2>
    <p>Přístup určený k bezpečnému vyzkoušení aplikace. Zde můžete přidávat i mazat testovací data.</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 %}

{% set app = conf['apps']['sambro'] %}
{% if app['visible'] and is_service_started('sambro') %}
<div class="portal-box">
    <h2><a href="https://sambro.{{ host }}/eden/"><img src="static/img/EDEN.png" alt="Sahana EDEN SAMBRO" title="Sahana EDEN SAMBRO">Sahana EDEN SAMBRO</a></h2>
    <p>Samostatná instance Sahana EDEN s šablonou SAMBRO.</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>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/EDEN.png" alt="SAMBRO Mobile" title="SAMBRO Mobile">SAMBRO Mobile</a></h2>
    <p>Mobilní klient k aplikaci Sahana EDEN.<br>
        <a href="https://itunes.apple.com/us/app/sambro-mobile/id1127251669"><img src="static/img/icons/iOS.png" class="ico" alt="IOS">IOS 6.0 a vyšší</a><br>
        <a href="https://apkpure.com/sambro-mobile/io.sahana.sambro.mobile"><img src="static/img/icons/Android.png" class="ico" alt="Android">Android 4.0 a vyšší</a>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">https://sambro.{{ host }}/eden/</span></li>
    </ul>
</div>
{% endif %}

{% set app = conf['apps']['crisiscleanup'] %}
{% if app['visible'] and is_service_started('crisiscleanup') %}
<div class="portal-box">
    <h2><a href="https://cc.{{ host }}"><img src="static/img/Crisis_Cleanup.png" alt="Crisis Cleanup" title="Crisis Cleanup">Crisis Cleanup</a></h2>
    <p><strong>Mapování krizové pomoci</strong> při odstraňování následků katastrof a koordinaci práce. Jde o majetek, ne o lidi.</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 %}

{% set app = conf['apps']['ckan'] %}
{% if app['visible'] and is_service_started('ckan') %}
<div class="portal-box">
    <h2><a href="https://ckan.{{ host }}"><img src="static/img/CKAN.png" alt="CKAN" title="CKAN">CKAN</a></h2>
    <p><strong>Repository</strong> management a datová analýza pro vytváření otevřených dat.</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 %}

{% set app = conf['apps']['opendatakit-build'] %}
{% if app['visible'] and is_service_started('opendatakit-build') %}
<div class="portal-box">
    <h2><a href="https://odkbuild.{{ host }}"><img src="static/img/ODK.png" alt="Open Data Kit" title="Open Data Kit">ODK Build</a></h2>
    <p><strong>Sběr dat s pomocí smartphone</strong>.<br>Aplikace pro návrh formulářů<br>
        <p><a href="https://opendatakit.org/xiframe/">XLSForm</a> - online konverter XLS.<br>
        <a href="https://opendatakit.org/downloads/download-info/odk-formuploader/"><img src="static/img/icons/Java.png" class="ico" alt="ODK Form Uploader">ODK Form Uploader</a><br>
        <a href="https://opendatakit.org/downloads/download-info/odk-validate-2/"><img src="static/img/icons/Java.png" class="ico" alt="ODK Validate">ODK Validate</a></p>
</div>
{% endif %}

{% set app = conf['apps']['opendatakit'] %}
{% if app['visible'] and is_service_started('opendatakit') %}
<div class="portal-box">
    <h2><a href="#"><img src="static/img/ODK_Collect.png" alt="Open Data Kit" title="Open Data Kit">ODK Collect</a></h2>
    <p>Mobilní aplikace<br>
        <a href="https://play.google.com/store/apps/details?id=org.odk.collect.android"><img src="static/img/icons/Android.png" class="ico" alt="ODK Collect">ODK Collect pro Android</a><br>
        <a href="https://opendatakit.org/downloads/download-info/odk-briefcase/"><img src="static/img/icons/Java.png" class="ico" alt="ODK Briefcase">ODK Briefcase</a><br>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">https://odk.{{ host }}</span></li>
    </ul>
</div>

<div class="portal-box">
    <h2><a href="https://odk.{{ host }}/"><img src="static/img/ODK.png" alt="Open Data Kit" title="Open Data Kit">ODK Aggregate</a></h2>
    <p><strong>Sběr dat s pomocí smartphone</strong>.<br>
        <a href="http://geoodk.com">GeoODK Collect</a> - náhrada papírových dotazníků smartphonem.
    </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 %}

{% set app = conf['apps']['openmapkit'] %}
{% if app['visible'] and is_service_started('openmapkit') %}
<div class="portal-box">
    <h2><a href="https://omk.{{ host }}"><img src="static/img/OMK.png" alt="Open Map Kit" title="Open Map Kit">OpenMapKit Server</a></h2>
    <p><strong>Sběr dat s pomocí smartphone</strong>.<br>
    <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>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/GeoODK_Collect.png" alt="GeoODK Collect" title="GeoODK Collect">GeoODK Collect</a></h2>
    <p>Mobilní aplikace<br>
        <a href="https://play.google.com/store/apps/details?id=com.geoodk.collect.android"><img src="static/img/icons/Android.png" class="ico" alt="GeoODK Collect">GeoODK Collect pro Android</a>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">https://omk.{{ host }}</span></li>
    </ul>
</div>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/OMK.png" alt="Open Map Kit" title="Open Map Kit">OpenMapKit</a></h2>
    <p>Mobilní aplikace<br>
        <a href="https://play.google.com/store/apps/details?id=org.odk.collect.android"><img src="static/img/icons/Android.png" class="ico" alt="ODK Collect">ODK Collect pro Android</a><br>
        <a href="https://play.google.com/store/apps/details?id=org.redcross.openmapkit"><img src="static/img/icons/Android.png" class="ico" alt="Android">OpenMapKit pro Android 4.1 a vyšší</a>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">https://omk.{{ host }}</span></li>
    </ul>
</div>
{% endif %}

{% set app = conf['apps']['frontlinesms'] %}
{% if app['visible'] and is_service_started('frontlinesms') %}
<div class="portal-box">
    <h2><a href="https://sms.{{ host }}"><img src="static/img/FrontlineSMS.png" alt="FrontlineSMS" title="FrontlineSMS">FrontlineSMS</a></h2>
    <p><strong>SMS messaging</strong> přes veřejné datové brány</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>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/FrontlineSync.png" alt="FrontlineSync" title="FrontlineSync">FrontlineSync</a></h2>
    <p>Mobilní aplikace pro<br>
        <a href="https://play.google.com/store/apps/details?id=com.simlab.frontlinesync"><img src="static/img/icons/Android.png" class="ico" alt="Android">Android 2.3 a vyšší</a>
    </p>
</div>
{% endif %}

{% set app = conf['apps']['seeddms'] %}
{% if app['visible'] and is_service_started('seeddms') %}
<div class="portal-box">
    <h2><a href="https://dms.{{ host }}"><img src="static/img/SeedDMS.png" alt="SeedDMS" title="SeedDMS">SeedDMS</a></h2>
    <p><strong>Dokument management</strong> na dokumentaci a projektovou dokumentaci</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 %}

{% set app = conf['apps']['pandora'] %}
{% if app['visible'] and is_service_started('pandora') %}
<div class="portal-box">
    <h2><a href="https://pandora.{{ host }}"><img src="static/img/Pandora.png" alt="Pan.do/ra" title="Pan.do/ra">Pan.do/ra</a></h2>
    <p><strong>Media management</strong> na foto a video z krizové události. Tvorba metadat, komentářů, lokalizace v čase a na mapě.</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 %}

{% set app = conf['apps']['ushahidi'] %}
{% if app['visible'] and is_service_started('ushahidi') %}
<div class="portal-box">
    <h2><a href="https://ush.{{ host }}"><img src="static/img/Ushahidi.png" alt="Ushahidi" title="Ushahidi">Ushahidi</a></h2>
    <p>Reakce na krizovou událost. Shromažďujte zprávy od obětí a pracovníků v terénu prostřednictvím SMS, e-mailu, webu, Twitteru.</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>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/Ushahidi_mobile.png" alt="Ushahidi" title="Ushahidi">Ushahidi Mobile</a></h2>
    <p>Mobilní aplikace Ushahidi pro<br>
        <a href="https://itunes.apple.com/us/app/ushahidi-mobile/id1205994516?mt=8"><img src="static/img/icons/iOS.png" class="ico" alt="IOS">IOS 9.0 a vyšší</a><br>
        <a href="https://play.google.com/store/apps/details?id=com.ushahidi.mobile"><img src="static/img/icons/Android.png" class="ico" alt="Android">Android 4.4 a vyšší</a>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">ush.{{ host }}</span></li>
    </ul>
</div>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/SMS_Sync.png" alt="SMS Sync Gateway" title="SMS Sync Gateway">SMS Sync Gateway</a></h2>
    <p>Mobilní aplikace pro<br>
        <a href="https://play.google.com/store/apps/details?id=org.addhen.smssync"><img src="static/img/icons/Android.png" class="ico" alt="Android">Android 2.3 a vyšší</a>
    </p>
</div>
{% endif %}

{% set app = conf['apps']['kanboard'] %}
{% if app['visible'] and is_service_started('kanboard') %}
<div class="portal-box">
    <h2><a href="https://kb.{{ host }}"><img src="static/img/Kanboard.png" alt="Kanboard" title="Kanboard">Kanboard</a></h2>
    <p>Usnadňuje tvorbu a řízení projektů s pomocí Kanban metodiky.</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>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/Kanboard.png" alt="Kanboard" title="Kanboard">Kanboard Mobile</a></h2>
    <p>Mobilní aplikace<br>
        <a href="https://play.google.com/store/apps/details?id=eu.it_quality.kanboard"><img src="static/img/icons/Android.png" class="ico" alt="KanBoard">KanBoard client pro Android 4.1 a vyšší</a><br>
        <a href="https://f-droid.org/packages/in.andres.kandroid/"><img src="static/img/icons/Android.png" class="ico" alt="Android">Kandroid pro Android 4.2 a vyšší</a>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">https://kb.{{ host }}</span></li>
    </ul>
</div>
{% endif %}

{% set app = conf['apps']['cts'] %}
{% if app['visible'] and is_service_started('cts') %}
<div class="portal-box">
    <h2><a href="https://cts.{{ host }}"><img src="static/img/CTS.png" alt="CTS" title="CTS">CTS</a></h2>
    <p>Logistika hmotné pomoci pro humanitární potřeby.</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 %}

{% set app = conf['apps']['gnuhealth'] %}
{% if app['visible'] and is_service_started('gnuhealth') %}
<div class="portal-box">
    <h2><a href="https://gh.{{ host }}/index.html"><img src="static/img/GNU_Health.png" alt="GNU Health" title="GNU Health">GNU Health</a></h2>
    <p>Zdravotní a nemocniční informační systém.</p>
    <ul>
        <li><strong>Login:</strong> <span class="login">{{ app['login'] }}</span></li>
        <li><strong>Heslo:</strong> <span class="password">{{ app['password'] }}</span></li>
        <li><strong>Heslo k demu:</strong> <span class="demopassword">gnusolidario</span></li>
    </ul>
</div>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/GNU_Health.png" alt="GNU Health" title="GNU Health">GNU Health klienti</a></h2>
    <p>Klientské aplikace platformy Tryton GNU Health pro<br>
        <a href="https://downloads.tryton.org/4.2/tryton-last.exe"><img src="static/img/icons/Windows.png" class="ico" alt="Windows">Windows</a><br>
        <a href="https://downloads.tryton.org/4.2/tryton-last.dmg"><img src="static/img/icons/MacOS.png" class="ico" alt="MacOS">MacOS</a><br>
        <a href="https://downloads.tryton.org/4.2/tryton-last.tar.gz"><img src="static/img/icons/Linux.png" class="ico" alt="Linux">Linux</a>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">gh.{{ host }}</span></li>
    </ul>
</div>
{% endif %}

{% set app = conf['apps']['sigmah'] %}
{% if app['visible'] and is_service_started('sigmah') %}
<div class="portal-box">
    <h2><a href="https://sigmah.{{ host }}/sigmah/"><img src="static/img/Sigmah.png" alt="Sigmah" title="Sigmah">Sigmah</a></h2>
    <p>Rozpočtování získávání finančních prostředků.</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 %}

{% set app = conf['apps']['motech'] %}
{% if app['visible'] and is_service_started('motech') %}
<div class="portal-box">
    <h2><a href="https://motech.{{ host }}/"><img src="static/img/Motech.png" alt="Motech" title="Motech">Motech</a></h2>
    <p>Integrace zdravotnických a komunikačních služeb.</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 %}

{% set app = conf['apps']['mifosx'] %}
{% if app['visible'] and is_service_started('mifosx') %}
<div class="portal-box">
    <h2><a href="https://mifosx.{{ host }}/"><img src="static/img/MifosX.png" alt="Mifos X" title="Mifos X">Mifos X</a></h2>
    <p>Nástroj na rozvojovou, humanitární pomoc a mikrofinancování.</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>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/MifosX_Mobile.png" alt="Mifos X" title="Mifos X">Mifos X</a></h2>
    <p>Mobilní aplikace<br>
        <a href="https://github.com/openMF/android-client/releases"><img src="static/img/icons/Android.png" class="ico" alt="Mifos X">Mifos X client pro Android 3.0 a vyšší</a><br>
    </p>
    <ul>
        <li><strong>URL:</strong> <span class="clienturl">mifosx.{{ host }}</span></li>
        <li><strong>Tenant ID:</strong> <span>default</span></li>
    </ul>
</div>
{% endif %}

{% if false %}
<div class="portal-box">
    <h2><a href="#"><img src="static/img/Diaspora.png" alt="diaspora*" title="diaspora*">diaspora*</a></h2>
    <p>Autonomní sociání síť s možností propojení do cizích sociálních sítí.</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>

<div class="portal-box">
    <h2><a href="https://openid.net"><img src="static/img/OpenID.png" alt="OpenID" title="OpenID">OpenID</a></h2>
    <p>Pro ověření identity budete potřebovat účet OpenID. Zaregistrujte se. Registraci využijete v software Sahana EDEN.</p>
</div>

<div class="portal-box">
    <h2><a href="#"><img src="static/img/POSM.png" alt="POSM" title="POSM">POSM</a></h2>
    <p><strong>Portable Open Street Map</strong> - softwarový balík na offline používání OpenStreet Map v samostatné virtuální image.</p>
</div>
{% endif %}

<div class="portal-box">
    <h2><a href="http://spotter.ngo"><img src="static/img/Cluster_Spotter.png" alt="Cluster Spotter" title="Cluster Spotter">Cluster Spotter</a></h2>
    <p>Info o Misi a Vizi projektu, včetně kontaktu. Zachovejte data bezpečná a neposkytujte je nepovolaným osobám.<br>
        <small>CC 4.0 CZ by <a href="http://trendspotter.cz">TS</a>. Content is based on PD, CC, GNU/GPL. Brand names, trademarks belong to their respective holders.</small>
    </p>
</div>
{% endblock %}
