forked from CGM_Public/pretix_original
New content for / index page
This commit is contained in:
@@ -34,6 +34,7 @@ def contextprocessor(request):
|
|||||||
ctx = {
|
ctx = {
|
||||||
'url_name': url.url_name,
|
'url_name': url.url_name,
|
||||||
'settings': settings,
|
'settings': settings,
|
||||||
|
'django_settings': settings,
|
||||||
'DEBUG': settings.DEBUG,
|
'DEBUG': settings.DEBUG,
|
||||||
}
|
}
|
||||||
_html_head = []
|
_html_head = []
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ settings.PRETIX_INSTANCE_NAME }}</title>
|
<title>{{ django_settings.PRETIX_INSTANCE_NAME }}</title>
|
||||||
{% compress css %}
|
{% compress css %}
|
||||||
<link rel="stylesheet" type="text/x-scss" href="{% static "pretixcontrol/scss/auth.scss" %}"/>
|
<link rel="stylesheet" type="text/x-scss" href="{% static "pretixcontrol/scss/auth.scss" %}"/>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
|
|||||||
@@ -79,5 +79,6 @@ def contextprocessor(request):
|
|||||||
ctx['js_time_format'] = get_javascript_format_without_seconds('TIME_INPUT_FORMATS')
|
ctx['js_time_format'] = get_javascript_format_without_seconds('TIME_INPUT_FORMATS')
|
||||||
ctx['js_locale'] = get_moment_locale()
|
ctx['js_locale'] = get_moment_locale()
|
||||||
ctx['settings'] = pretix_settings
|
ctx['settings'] = pretix_settings
|
||||||
|
ctx['django_settings'] = settings
|
||||||
|
|
||||||
return ctx
|
return ctx
|
||||||
|
|||||||
@@ -1,30 +1,26 @@
|
|||||||
|
{% extends "pretixcontrol/auth/base.html" %}
|
||||||
|
{% load bootstrap3 %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load compress %}
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
<!DOCTYPE html>
|
{% block content %}
|
||||||
<html>
|
<div class="form-signin" action="" method="post">
|
||||||
<head>
|
<h3>{% trans "Hello!" %}</h3>
|
||||||
<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>
|
|
||||||
<p>
|
<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>
|
||||||
<p>
|
<p>
|
||||||
{% with "href='http://pretix.eu'" as a_attr %}
|
{% blocktrans trimmed %}
|
||||||
{% blocktrans trimmed %}
|
If you're looking to buy a ticket, you need to follow a direct link to an event or organizer profile.
|
||||||
<a {{ a_attr }}>pretix – your free and open source ticket sales software</a>.
|
{% endblocktrans %}
|
||||||
{% endblocktrans %}
|
|
||||||
{% endwith %}
|
|
||||||
</p>
|
</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>
|
</div>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -44,6 +44,10 @@ footer {
|
|||||||
h3 {
|
h3 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p:last-child {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container > .alert {
|
.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