Add pricing page

This commit is contained in:
Tobias 2018-09-29 21:19:25 +12:00
parent 43f48c7c36
commit c47c22d617
6 changed files with 241 additions and 29 deletions

View file

@ -103,5 +103,20 @@
1
]
}
},
{
"model": "flatpages.flatpage",
"pk": 8,
"fields": {
"url": "/attend/tickets/",
"title": "Tickets & Prices -- LCA2019",
"content": "",
"enable_comments": false,
"template_name": "flatpages/tickets_prices.html",
"registration_required": false,
"sites": [
1
]
}
}
]

View file

@ -1143,7 +1143,6 @@
"enabling_category": 2,
"products": [],
"categories": [
1,
3,
4,
5,

View file

@ -374,7 +374,7 @@
"access_restricted": false,
"access_perm_type": 1,
"parent": 37,
"sort_order": 36,
"sort_order": 38,
"access_permissions": []
}
},
@ -398,7 +398,7 @@
"access_restricted": false,
"access_perm_type": 1,
"parent": 37,
"sort_order": 30,
"sort_order": 36,
"access_permissions": []
}
},
@ -546,30 +546,6 @@
"access_permissions": []
}
},
{
"model": "sitetree.treeitem",
"pk": 36,
"fields": {
"title": "Call for Papers",
"hint": "",
"url": "/call-for-papers/",
"urlaspattern": false,
"tree": 1,
"hidden": true,
"alias": null,
"description": "",
"inmenu": true,
"inbreadcrumbs": true,
"insitetree": true,
"access_loggedin": false,
"access_guest": false,
"access_restricted": false,
"access_perm_type": 1,
"parent": null,
"sort_order": 24,
"access_permissions": []
}
},
{
"model": "sitetree.treeitem",
"pk": 37,
@ -593,5 +569,29 @@
"sort_order": 31,
"access_permissions": []
}
},
{
"model": "sitetree.treeitem",
"pk": 38,
"fields": {
"title": "Tickets & Prices",
"hint": "",
"url": "/attend/tickets/",
"urlaspattern": false,
"tree": 1,
"hidden": false,
"alias": null,
"description": "",
"inmenu": true,
"inbreadcrumbs": true,
"insitetree": true,
"access_loggedin": false,
"access_guest": false,
"access_restricted": false,
"access_perm_type": 1,
"parent": 37,
"sort_order": 30,
"access_permissions": []
}
}
]

View file

@ -0,0 +1,162 @@
{% extends "site_base.html" %}
{% block head_title %}{{ flatpage.title }}{% endblock head_title %}
{% block body_class %}text-primary{% endblock body_class %}
{% block main_class %}container{% endblock main_class %}
{% block content %}
<div class="row">
<div class="col-md-1"></div>
<div class="col-12 col-md-10 content text-page ticket-page">
<h1>Tickets <br/>&amp; Prices</h1>
<div>
<h2>Purchase your tickets
<a id="register-link" class="btn btn-secondary border-primary text-primary float-right" href="/dashboard/">Register</a>
</h2>
</div>
<hr />
<div>
<h2>Key Dates</h2>
<div class="card-group key-dates">
<div class="card">
<div class="card-body">
<p class="card-title"><strong>Early Bird <br />Registrations Close</strong></p>
</div>
<div class="card-footer bg-secondary">October 31st 2018</div>
</div>
<div class="card">
<div class="card-body">
<p class="card-title"><strong>Regular <br />Registrations Close</strong></p>
</div>
<div class="card-footer bg-secondary">January 15th 2019</div>
</div>
<div class="card">
<div class="card-body">
<p class="card-title"><strong>Extended <br />Registrations Close</strong></p>
</div>
<div class="card-footer bg-secondary">January 22nd 2019</div>
</div>
</div>
</div>
<hr />
<div>
<h2>Prices &amp; Inclusions</h2>
<p>All prices are in New Zealand Dollars and include 15&percnt; New Zealand Goods and Services Tax (GST).</p>
<table class="table table-striped" style="border: 0;">
<thead>
<tr>
<th></th>
<th>Professional</th>
<th>Hobbyist</th>
<th>Student</th>
</tr>
</thead>
<tbody>
<tr>
<th>Early Bird Price</th>
<td>$899</td>
<td>$399</td>
<td>n/a</td>
</tr>
<tr>
<th>Regular Price</th>
<td>$1099</td>
<td>$549</td>
<td>$199</td>
</tr>
<tr>
<th class="bordered">Inclusions</th>
<th class="bordered"></th>
<th class="bordered"></th>
<th class="bordered"></th>
</tr>
<tr>
<th>Main Conference</th>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<th>Miniconfs</th>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<th>Penguin Dinner</th>
<td>Yes</td>
<td></td>
<td></td>
</tr>
<tr>
<th>PDNS</th>
<td>Yes</td>
<td></td>
<td></td>
</tr>
<tr>
<th>Conference Shirt</th>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<th>Conference Bag</th>
<td>Yes</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<hr />
<div>
<h2>Ticket types</h2>
<div class="jumbotron px-4 py-4 ">
<p class="my-3"><strong>Professional</strong></p>
<p>
The Professional ticket is the standard full inclusion conference ticket.
This rate applies to most people who have their companies pay the conference
fees and charge it as a professional development expense, or for individuals
who can legitimately claim it is a tax deduction. The benefits of a
Professional ticket include attendance at the Professional Delegates
Networking Session, attendance at the Penguin Dinner, and a Swag Bag.
</p>
</div>
<div class="jumbotron px-4 py-4">
<p class="my-3"><strong>Hobbyist</strong></p>
<p>
The Hobbyist rate is heavily discounted for free software enthusiasts who
are paying out of their own pockets and would otherwise find it difficult
to attend.
</p>
</div>
<div class="jumbotron px-4 py-4">
<p class="my-3"><strong>Hobbyist</strong></p>
<p>
This is a concession rate ticket that is reserved for High School,
College, or University Students. linux.conf.au offers this rate as a form
of investment in the future of the free and open source software community.
As part of the registration process, a valid student ID card or proof of
enrolment must be presented to the onsite registration desk. Any Student
who cannot provide this will be required to register at LCA2018 as a
hobbyist by paying the difference in fees between the Student rate
and the Hobbyist rate.
</p>
</div>
</div>
</div>
{% endblock %}

View file

@ -34,9 +34,9 @@
{% if not user.attendee.completed_registration %}
<div class="col-12 text-primary">
<h3>Register</h3>
<p>To attend the conference, you must create an attendee profile and purchase your ticket</p>
<a class="btn btn-lg btn-primary" role="button" href="{% url "guided_registration" %}">Get your ticket</a>
</div>
<p>To attend the conference, you must create an attendee profile and purchase your ticket</p>
<a class="btn btn-lg btn-success" role="button" href="{% url "guided_registration" %}">Get your ticket</a>
</div>
</div>
</div>

View file

@ -347,11 +347,32 @@ a.a-img {
.table {
border-top: none;
th, td {
padding: 1.25rem 0.75rem;
}
}
.table thead th {
vertical-align: bottom;
border-bottom: 1px solid $primary;
border-top: 0;
}
.table th.bordered {
border-bottom: 1px solid $primary;
border-top: 0;
}
.ticket-page hr {
margin-top: 2rem;
margin-bottom: 0rem;
}
hr {
height: 1px;
border: none;
background-color: #CCD5C5;
}
.calendar.table {
@ -439,3 +460,18 @@ a.a-img {
display: none !important
}
}
.card-group.key-dates {
.card {
border: none;
}
.card-body {
padding: 0;
}
.card-footer {
border: none;
padding: 0;
}
}