mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
New content for / index page
This commit is contained in:
@@ -34,6 +34,7 @@ def contextprocessor(request):
|
||||
ctx = {
|
||||
'url_name': url.url_name,
|
||||
'settings': settings,
|
||||
'django_settings': settings,
|
||||
'DEBUG': settings.DEBUG,
|
||||
}
|
||||
_html_head = []
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ settings.PRETIX_INSTANCE_NAME }}</title>
|
||||
<title>{{ django_settings.PRETIX_INSTANCE_NAME }}</title>
|
||||
{% compress css %}
|
||||
<link rel="stylesheet" type="text/x-scss" href="{% static "pretixcontrol/scss/auth.scss" %}"/>
|
||||
{% endcompress %}
|
||||
|
||||
@@ -79,5 +79,6 @@ def contextprocessor(request):
|
||||
ctx['js_time_format'] = get_javascript_format_without_seconds('TIME_INPUT_FORMATS')
|
||||
ctx['js_locale'] = get_moment_locale()
|
||||
ctx['settings'] = pretix_settings
|
||||
ctx['django_settings'] = settings
|
||||
|
||||
return ctx
|
||||
|
||||
@@ -1,30 +1,26 @@
|
||||
{% extends "pretixcontrol/auth/base.html" %}
|
||||
{% load bootstrap3 %}
|
||||
{% load i18n %}
|
||||
{% load compress %}
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ settings.PRETIX_INSTANCE_NAME }}</title>
|
||||
{% compress css %}
|
||||
<link rel="stylesheet" type="text/x-scss" href="{% static "pretixpresale/scss/index.scss" %}"/>
|
||||
{% 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>
|
||||
{% block content %}
|
||||
<div class="form-signin" action="" method="post">
|
||||
<h3>{% trans "Hello!" %}</h3>
|
||||
<p>
|
||||
{% trans "There is nothing to see here yet." %}
|
||||
{% blocktrans trimmed with a_attr="href='http://pretix.eu'" %}
|
||||
This is a self-hosted installation of <a {{ a_attr }}>pretix, your free and open source ticket sales
|
||||
software</a>.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<p>
|
||||
{% with "href='http://pretix.eu'" as a_attr %}
|
||||
{% blocktrans trimmed %}
|
||||
<a {{ a_attr }}>pretix – your free and open source ticket sales software</a>.
|
||||
{% endblocktrans %}
|
||||
{% endwith %}
|
||||
{% blocktrans trimmed %}
|
||||
If you're looking to buy a ticket, you need to follow a direct link to an event or organizer profile.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<p>
|
||||
{% blocktrans trimmed with a_attr="href='/control/'" %}
|
||||
If you're looking to configure this installation, please <a {{ a_attr }}>head over here</a>.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
<p>{% trans "Enjoy!" %}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{% endblock %}
|
||||
|
||||
@@ -44,6 +44,10 @@ footer {
|
||||
h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p:last-child {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.container > .alert {
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
@import "../../bootstrap/scss/_bootstrap.scss";
|
||||
@import "../../fontawesome/scss/font-awesome.scss";
|
||||
@import "../../pretixbase/scss/colors.scss";
|
||||
|
||||
|
||||
body {
|
||||
background: #ececec;
|
||||
text-align: center;
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
.big-rotating-icon {
|
||||
margin-top: 50px;
|
||||
-webkit-animation: fa-spin 8s infinite linear;
|
||||
animation: fa-spin 8s infinite linear;
|
||||
font-size: 200px;
|
||||
color: $brand-primary;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 330px;
|
||||
margin: auto;
|
||||
display: block;
|
||||
margin-top: 10%;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user