forked from CGM_Public/pretix_original
Added runtime SASS compliation and color settings
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{% extends "pretixcontrol/event/settings_base.html" %}
|
||||
{% load i18n %}
|
||||
{% load bootstrap3 %}
|
||||
{% block inside %}
|
||||
<form action="" method="post" class="form-horizontal" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{% bootstrap_form_errors form %}
|
||||
<fieldset>
|
||||
<legend>{% trans "Display settings" %}</legend>
|
||||
{% bootstrap_field form.primary_color layout="horizontal" %}
|
||||
</fieldset>
|
||||
<div class="form-group submit-group">
|
||||
<button type="submit" class="btn btn-primary btn-save">
|
||||
{% trans "Save" %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
@@ -21,6 +21,11 @@
|
||||
{% trans "Plugins" %}
|
||||
</a>
|
||||
</li>
|
||||
<li {% if "event.settings.display" == url_name %}class="active"{% endif %}>
|
||||
<a href="{% url 'control:event.settings.display' organizer=request.event.organizer.slug event=request.event.slug %}">
|
||||
{% trans "Display" %}
|
||||
</a>
|
||||
</li>
|
||||
<li {% if "event.settings.tickets" == url_name %}class="active"{% endif %}>
|
||||
<a href="{% url 'control:event.settings.tickets' organizer=request.event.organizer.slug event=request.event.slug %}">
|
||||
{% trans "Tickets" %}
|
||||
|
||||
Reference in New Issue
Block a user