summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-08 18:08:59 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-08 18:08:59 +0200
commit49c9f8e285a9d75e08207ee697a81ac09c88a947 (patch)
tree49eb667d73ce2616c137b0d2e36a9c4147185689 /ishtar_common
parent65153029d44bb0a896f4832bc9a05786e696a0d6 (diff)
downloadIshtar-49c9f8e285a9d75e08207ee697a81ac09c88a947.tar.bz2
Ishtar-49c9f8e285a9d75e08207ee697a81ac09c88a947.zip
A default welcome page
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/static/media/style.css5
-rw-r--r--ishtar_common/templates/index.html2
-rw-r--r--ishtar_common/templates/welcome.html11
3 files changed, 17 insertions, 1 deletions
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 %}<div id='welcome'>{% if homepage %}{{homepage|safe}}{% else %}{% include "welcome.html" %}{% endif %}</div>{% 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 %}
+
+<h2>{% trans "Welcome in Ishtar, open source software for management and inventory of archaeological data" %}</h2>
+<p>{% trans "Some useful links:" %}</p>
+<ul>
+ <li><a href='https://ishtar-archeo.net' target="_blank">{% trans "Presentation site and blog" %}</a>{% trans ":"%} {% trans "stay tuned with Ishtar news!" %}</li>
+ <li><a href='{% url 'admin:index' %}' target="_blank">{% trans "Admin interface" %}</a>{% trans ":"%} {% trans "for admin only." %}</li>
+ <li><a href="https://forum.ishtar-archeo.net/" target="_blank">{% trans "Forum" %}</a>{% trans ":"%} {% trans "need help? find a new bug? a fantastic feature to propose? Here is the place to go." %}</li>
+ <li><a href="https://gitlab.com/ishtar/ishtar" target="_blank">{% trans "Source code" %}</a> &ndash; <a href="https://tickets.iggdrasil.net/projects/ishtar" target="_blank">{% trans "tickets" %}</a>{% trans ":"%} {% trans "where the magic happens." %}</li>
+</ul>