Added an global index page

This commit is contained in:
Raphael Michel
2015-11-09 21:32:37 +01:00
parent f883097627
commit d33e015919
3 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
{% load i18n %}
{% load compress %}
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<title>{{ settings.PRETIX_INSTANCE_NAME }}</title>
{% compress css %}
<link rel="stylesheet" type="text/less" href="{% static "pretixpresale/less/index.less" %}"/>
{% endcompress %}
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="container">
<img src="{% static "pretixbase/img/pretix-logo.svg" %}" class="logo"/>
<h1>{% trans "Hello!" %}</h1>
<p>
{% with "href='http://pretix.eu'" as a_attr %}
{% blocktrans trimmed %}
This is a ticket presale system powered by <a {{ a_attr }}>pretix</a>.
{% endblocktrans %}
{% endwith %}
</p>
<p>
{% trans "There is nothing to see here yet." %}
</p>
</div>
</body>
</html>