diff options
Diffstat (limited to 'ishtar_common/templates/index.html')
-rw-r--r-- | ishtar_common/templates/index.html | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/ishtar_common/templates/index.html b/ishtar_common/templates/index.html index c86413380..d1000396a 100644 --- a/ishtar_common/templates/index.html +++ b/ishtar_common/templates/index.html @@ -1,3 +1,24 @@ {% extends "base.html" %} {% load i18n %} -{% block content %}<div id="welcome" class="container">{% if homepage %}{{homepage|safe}}{% else %}{% include "welcome.html" %}{% endif %}</div>{% endblock %} +{% block content %}<div id="welcome" class="container"> + <h2>{% if welcome_title %}{{welcome_title}}{% else %}{% trans "Welcome in Ishtar, open source software for management and inventory of archaeological data" %}{% endif %}</h2> + <div class="row"> + {% if display_random_image %} + {{random_image}} + {% endif %} + <div class="col col-lg-9"> + <div class="card"> + <div class="card-body"> + {% if homepage %}{{homepage|safe}}{% else %}{% include "welcome.html" %}{% endif %} + </div> + </div> + </div> + {% if display_statistics %} + <div class="col col-lg-12 lead mt-4"> + {% for label, number in statistics %} + <span class="badge badge-secondary">{{label}} <span class="badge badge-light">{{number}}</span></span> + {% endfor %} + </div> + {% endif %} + </div> +</div>{% endblock %} |