From 49c9f8e285a9d75e08207ee697a81ac09c88a947 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 8 Jun 2016 18:08:59 +0200 Subject: A default welcome page --- ishtar_common/static/media/style.css | 5 +++++ ishtar_common/templates/index.html | 2 +- ishtar_common/templates/welcome.html | 11 +++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 ishtar_common/templates/welcome.html (limited to 'ishtar_common') diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index b42f2fbd9..e74a6d205 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -434,6 +434,11 @@ div#main_menu > ul > li{ } */ +div#welcome{ + text-align:left; + font-size: 1.2em; +} + div#content{ clear:both; margin-top:190px ; diff --git a/ishtar_common/templates/index.html b/ishtar_common/templates/index.html index c28dfd0bb..2b6d7004e 100644 --- a/ishtar_common/templates/index.html +++ b/ishtar_common/templates/index.html @@ -1,3 +1,3 @@ {% extends "base.html" %} {% load i18n %} -{% block content %}{% if homepage %}{{homepage|safe}}{% endif %}{% endblock %} +{% block content %}
{% if homepage %}{{homepage|safe}}{% else %}{% include "welcome.html" %}{% endif %}
{% endblock %} diff --git a/ishtar_common/templates/welcome.html b/ishtar_common/templates/welcome.html new file mode 100644 index 000000000..42935d8f9 --- /dev/null +++ b/ishtar_common/templates/welcome.html @@ -0,0 +1,11 @@ +{% load i18n %} +{% load url from future %} + +

{% trans "Welcome in Ishtar, open source software for management and inventory of archaeological data" %}

+

{% trans "Some useful links:" %}

+ -- cgit v1.2.3