Changeset - c47c22d61767
[Not reviewed]
0 5 1
Tobias - 6 years ago 2018-09-29 09:19:25
tobias@localhost.localdomain
Add pricing page
6 files changed with 227 insertions and 15 deletions:
0 comments (0 inline, 0 general)
fixtures/2019_flatpages.json
Show inline comments
...
 
@@ -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
 
    ]
 
  }
 
}
 
]
fixtures/2019_registrasion.json
Show inline comments
...
 
@@ -1143,7 +1143,6 @@
 
      "enabling_category": 2,
 
      "products": [],
 
      "categories": [
 
        1,
 
        3,
 
        4,
 
        5,
fixtures/2019_sitetree.json
Show inline comments
...
 
@@ -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": []
 
  }
 
},
...
 
@@ -548,14 +548,14 @@
 
},
 
{
 
  "model": "sitetree.treeitem",
 
  "pk": 36,
 
  "pk": 37,
 
  "fields": {
 
    "title": "Call for Papers",
 
    "title": "Attend",
 
    "hint": "",
 
    "url": "/call-for-papers/",
 
    "url": "#",
 
    "urlaspattern": false,
 
    "tree": 1,
 
    "hidden": true,
 
    "hidden": false,
 
    "alias": null,
 
    "description": "",
 
    "inmenu": true,
...
 
@@ -566,17 +566,17 @@
 
    "access_restricted": false,
 
    "access_perm_type": 1,
 
    "parent": null,
 
    "sort_order": 24,
 
    "sort_order": 31,
 
    "access_permissions": []
 
  }
 
},
 
{
 
  "model": "sitetree.treeitem",
 
  "pk": 37,
 
  "pk": 38,
 
  "fields": {
 
    "title": "Attend",
 
    "title": "Tickets & Prices",
 
    "hint": "",
 
    "url": "#",
 
    "url": "/attend/tickets/",
 
    "urlaspattern": false,
 
    "tree": 1,
 
    "hidden": false,
...
 
@@ -589,8 +589,8 @@
 
    "access_guest": false,
 
    "access_restricted": false,
 
    "access_perm_type": 1,
 
    "parent": null,
 
    "sort_order": 31,
 
    "parent": 37,
 
    "sort_order": 30,
 
    "access_permissions": []
 
  }
 
}
pinaxcon/templates/flatpages/tickets_prices.html
Show inline comments
 
new file 100644
 
{% 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 %}
...
 
\ No newline at end of file
pinaxcon/templates/symposion/dashboard/_categories.html
Show inline comments
...
 
@@ -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>
static/src/scss/app.scss
Show inline comments
...
 
@@ -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 {
...
 
@@ -438,4 +459,19 @@ a.a-img {
 
    .hidden-print {
 
        display: none !important
 
    }
 
}
 

	
 
.card-group.key-dates {
 
    .card {
 
        border: none;
 
    }
 

	
 
    .card-body {
 
        padding: 0;
 
    }
 

	
 
    .card-footer {
 
        border: none;
 
        padding: 0;
 
    }
 
}
...
 
\ No newline at end of file
0 comments (0 inline, 0 general)