mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Externalize more resources, implement Content-Security-Policy headers
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
{% block content %}
|
||||
<h1>{% trans "Attendees" %}</h1>
|
||||
<p>
|
||||
<form class="form-inline" action="" method="get" style="display: inline;">
|
||||
<form class="form-inline helper-display-inline" action="" method="get">
|
||||
<select name="status" class="form-control">
|
||||
<option value="">{% trans "All attendees" %}</option>
|
||||
<option value="p" {% if request.GET.status == "p" %}selected="selected"{% endif %}>{% trans "Paid" %}</option>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
{% compress css %}
|
||||
<link rel="stylesheet" type="text/x-scss" href="{% static "pretixcontrol/scss/main.scss" %}" />
|
||||
{% endcompress %}
|
||||
<script type="text/javascript" src="{% url "javascript-catalog" %}"></script>
|
||||
{% compress js %}
|
||||
<script type="text/javascript" src="{% static "jquery/js/jquery-2.1.1.min.js" %}"></script>
|
||||
<script type="text/javascript" src="{% static "js/jquery.formset.js" %}"></script>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<li>
|
||||
<strong>Method A: Calculate the fee from the subtotal and add it to the bill.</strong> For a ticket price of
|
||||
100 €, this will lead to the following calculation:
|
||||
<table class="table" style="width: auto;">
|
||||
<table class="table helper-width-auto">
|
||||
<tr>
|
||||
<td>Ticket price</td>
|
||||
<td class="text-right">100.00 €</td>
|
||||
@@ -37,7 +37,7 @@
|
||||
<li>
|
||||
<strong>Method B (default): Calculate the fee from the total value including the fee.</strong> For a ticket
|
||||
price of 100 €, this will lead to the following calculation:
|
||||
<table class="table" style="width: auto;">
|
||||
<table class="table helper-width-auto">
|
||||
<tr>
|
||||
<td>Ticket price</td>
|
||||
<td class="text-right">100.00 €</td>
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<dt>{% trans "User" %}</dt>
|
||||
<dd>
|
||||
{{ order.email }}
|
||||
<form class="form-inline" style="display: inline;" method="post"
|
||||
<form class="form-inline helper-display-inline" method="post"
|
||||
action="{% url "control:event.order.resendlink" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}">
|
||||
{% csrf_token %}
|
||||
<button class="btn btn-default btn-xs">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{% block content %}
|
||||
<h1>{% trans "Orders" %}</h1>
|
||||
<p>
|
||||
<form class="form-inline" style="display: inline;"
|
||||
<form class="form-inline helper-display-inline"
|
||||
action="{% url "control:event.orders.go" event=request.event.slug organizer=request.event.organizer.slug %}">
|
||||
<div class="input-group">
|
||||
<input type="text" name="code" class="form-control" placeholder="{% trans "Order code" %}">
|
||||
@@ -13,7 +13,7 @@
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<form class="form-inline" action="" method="get" style="display: inline;">
|
||||
<form class="form-inline helper-display-inline" action="" method="get">
|
||||
<select name="status" class="form-control">
|
||||
<option value="">{% trans "All orders" %}</option>
|
||||
<option value="p" {% if request.GET.status == "p" %}selected="selected"{% endif %}>{% trans "Paid" %}</option>
|
||||
|
||||
Reference in New Issue
Block a user