Cleanup templates
Unused tags Unused templates Leftovers pinax-pages templates
This commit is contained in:
parent
6557e2983b
commit
a0ee642cc3
11 changed files with 1 additions and 289 deletions
|
@ -1,26 +0,0 @@
|
|||
{% load sponsorship_tags %}
|
||||
{% load thumbnail %}
|
||||
|
||||
{% sponsor_levels as levels %}
|
||||
|
||||
<h4>Sponsors</h4>
|
||||
|
||||
<div class="sponsor-list">
|
||||
<div>
|
||||
<h1>SPONSOR TOP</h1>
|
||||
<p>Whatever the hell this means, it's locked in a DB</p>
|
||||
<p>Fill this with sponsor spiel</p>
|
||||
</div>
|
||||
{% for level in levels %}
|
||||
{% if level.sponsors %}
|
||||
<h3 style="margin-top: 3em;">{{ level.name }}</h3>
|
||||
{% for sponsor in level.sponsors %}
|
||||
<div style="margin: 10px 0;">
|
||||
<a href="{{ sponsor.external_url }}">
|
||||
<img src="{% thumbnail sponsor.website_logo '100x60' %}" alt="{{ sponsor.name }}" />
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
|
@ -1,7 +0,0 @@
|
|||
<div class="pull-left">
|
||||
©2016
|
||||
</div>
|
||||
|
||||
<div class="pull-right">
|
||||
Site powered by <a href="http://eldarion.com/symposion/"><b>Symposion</b></a>.
|
||||
</div>
|
|
@ -1,14 +0,0 @@
|
|||
<script>
|
||||
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
|
||||
Date();a=s.createElement(o),
|
||||
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-80204707-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
|
@ -4,7 +4,6 @@
|
|||
{% load pyconau2017_tags %}
|
||||
|
||||
|
||||
{% load sitetree %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block body_class %}template-content-page{% endblock %}
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
{% extends "site_base.html" %}
|
||||
|
||||
{% load bootstrap %}
|
||||
|
||||
{% block head_title %}Upload File{% endblock %}
|
||||
|
||||
{% block body_outer %}
|
||||
<h1>Upload File</h1>
|
||||
<form method="POST" action="{% url "file_create" %}" enctype="multipart/form-data">
|
||||
{% csrf_token %}
|
||||
{{ form|bootstrap }}
|
||||
<div class="form-actions">
|
||||
<button class="btn btn-primary" type="submit">Upload</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
|
@ -1,25 +0,0 @@
|
|||
{% extends "site_base.html" %}
|
||||
|
||||
{% block head_title %}Uploaded Files{% endblock %}
|
||||
|
||||
{% block body_outer %}
|
||||
<h1>Files</h1>
|
||||
{% for file in files %}
|
||||
<div style="margin-top: 1em;">
|
||||
<form class="pull-right" action="{% url "file_delete" file.pk %}" method="post">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-error"><i class="fa fa-trash"></i> delete</button>
|
||||
</form>
|
||||
<h3><a href="{{ file.download_url }}">{{ file.file }}</a></h3>
|
||||
<span style="font-style:italic; color: #999;">Uploaded {{ file.created|date:"N j, Y" }}</span>
|
||||
</div>
|
||||
{% empty %}
|
||||
<p>No uploaded files.</p>
|
||||
{% endfor %}
|
||||
<div style="margin-top: 2em">
|
||||
<a class="btn btn-success" href="{% url "file_create" %}">
|
||||
<i class="fa fa-plus"></i>
|
||||
Add File
|
||||
</a>
|
||||
</div>
|
||||
{% endblock %}
|
|
@ -1,27 +0,0 @@
|
|||
{% extends "site_base.html" %}
|
||||
|
||||
{% load sitetree %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block body_class %}cms-page{% endblock %}
|
||||
|
||||
{% block head_title %}{{ page.title }}{% endblock %}
|
||||
|
||||
{% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% if editable %}
|
||||
<div class="pull-right">
|
||||
<a href="{% url 'pages_page_edit' page.path %}" class="btn btn-sm btn-default">
|
||||
<i class="fa fa-pencil"></i>
|
||||
Edit this page
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<h2>{{ page.title }}</h2>
|
||||
|
||||
<div class="page-content">
|
||||
{{ page.body_html|safe }}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
|
@ -1,22 +0,0 @@
|
|||
{% extends "site_base.html" %}
|
||||
|
||||
{% load sitetree %}
|
||||
{% load i18n %}
|
||||
{% load bootstrap %}
|
||||
|
||||
{% block body_class %}cms-page{% endblock %}
|
||||
|
||||
{% block head_title %}Create Page{% endblock %}
|
||||
|
||||
{% block page_title %}{% trans "Edit page at:" %} {{ path }}{% endblock %}
|
||||
{% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<form method="POST" action="">
|
||||
{% csrf_token %}
|
||||
{{ form|bootstrap }}
|
||||
<div class="form-actions">
|
||||
<input class="btn btn-primary" type="submit" value="Save" />
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
|
@ -1,107 +0,0 @@
|
|||
{% load staticfiles %}
|
||||
{% load metron_tags %}
|
||||
{% load i18n %}
|
||||
{% load sitetree %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>PyCon Australia 2017 - Melbourne</title>
|
||||
|
||||
<link rel="icon" type="image/png" href="http://2017.pycon-au.org/favicon.png">
|
||||
<link href="{% static 'pyconau2017/css/bootstrap.css' %}" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="{% static 'pyconau2017/css/app.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'pyconau2017/css/print.css' %}" media="print">
|
||||
<link href="{% static 'pyconau2017/css/pyconau.css' %}" rel="stylesheet">
|
||||
|
||||
<!-- Taken from site_base.html will need fixing -->
|
||||
<link rel="icon" href="{% static 'pyconau2017/images/favicon.ico' %}"
|
||||
<!--Meta tags-->
|
||||
<meta name="theme-color" content="#0c486c">
|
||||
<!--Twitter-->
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:site" content="@pyconau2017">
|
||||
<meta name="twitter:title" content="Pycon AU – 3 - 8 2017 – Melbourne, Victoria"
|
||||
<meta name="twitter:description"content="Discover Python at Pycon AU, Melbourne 3-8 August 2017.">
|
||||
<meta name="twitter:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'pyconau2017/images/socmed/twitter-tuz.png' %}">
|
||||
<meta name="twitter:image:alt" content="Tuz">
|
||||
<!--Open Graph-->
|
||||
<meta property="og:url" content="https://2017.pycon-au.org/">
|
||||
<meta property="og:title" content="Pycon AU – 3 - 8 2017 – Melbourne, Victoria">
|
||||
<meta property="og:description" content="Discover Python at Pycon AU 2017. Tickets on sale from February.">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="fb:admins" content="729577430">
|
||||
<meta property="fb:profile_id" content="293907417664731">
|
||||
|
||||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body style="background-image: url({% static 'pyconau2017/images/pyconau-2016-collage.jpg' %});">
|
||||
<div class="container vertical-center">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div id="announcements">
|
||||
<h2>Announcements</h2>
|
||||
<p><b>8 November 2016: Call for Special Events.</b>
|
||||
We are calling for expressions of interest in running a specialist event:
|
||||
<ul>
|
||||
<li>Up to 4 Specialist Day tracks held on Friday 4 August (e.g. DjangoCon AU, Python in Education seminar)</li>
|
||||
<li>Workshops running in parallel with the sprints (e.g. DjangoGirls, Young Coders)</li>
|
||||
<li>Associated events run independently, but taking advantage of the presence of a large contingent of Pythonistas in Melbourne (e.g. Software Carpentry workshops)</li>
|
||||
<li>Icebreaker events for the opening evening or social events during the sprints</li>
|
||||
</ul>
|
||||
For more information grab our <a href="special-events-2017.pdf">Call for Special Events document</a>.
|
||||
</p>
|
||||
<!-- <p><b>8 November 2016: Seeking launch sponsors.</b> It's definitely early days still, but we're seeking launch sponsors (those
|
||||
lucky companies whose name appears on the website from the moment we launch
|
||||
our CFP) for PyCon Australia 2017, which is being held in Melbourne in
|
||||
August.
|
||||
</p><p>
|
||||
Sponsorship packages are available to suit a range of budgets, from indie
|
||||
startup to enterprise.Sponsoring PyCon Australia allows companies to boost
|
||||
their exposure to top tier tech talent and support the local developer
|
||||
community. All packages include complimentary professional-level tickets so
|
||||
that your staff can benefit from the conference too!
|
||||
</p><p>
|
||||
If you're not in a position to commit to sponsorship, we're also happy to
|
||||
get early expressions of interest, so that we can contact you again in the
|
||||
next few months.
|
||||
</p>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="jumbotron text-center">
|
||||
<img class="img-responsive" src="{% static 'pyconau2017/images/logo-mel.png' %}">
|
||||
<h1>PyCon Australia<br>Melbourne<br/>2017</h1>
|
||||
<p>August 3-8, 2017</p>
|
||||
<p><a href="https://goo.gl/maps/qV4FRgZFjCy" target="blank">Melbourne Convention Centre
|
||||
<span class="glyphicon glyphicon-new-window"></span>
|
||||
</a></p>
|
||||
<p><a href="http://lists.linux.org.au/mailman/listinfo/pycon-au-announce" target="blank">Announcements Mailing List
|
||||
<span class="glyphicon glyphicon-new-window"></span></a></p>
|
||||
<!--
|
||||
<p><a href="http://2017.pycon-au.org/sponsor-prospectus-2017.pdf" target="blank">Sponsor Prospectus <span class="glyphicon glyphicon-download-alt"></span></a></p>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||
<script src="{% static 'pyconau2017/js/bootstrap.js' %}"></script>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -3,7 +3,7 @@
|
|||
{% load metron_tags %}
|
||||
{% load i18n %}
|
||||
{% load sitetree %}
|
||||
{# <!-- https://gist.github.com/geedmo/5682742--> #}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="no-js" manifest="{% static 'manifest.appcache' %}">
|
||||
<head>
|
||||
|
@ -11,9 +11,6 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="description" content="">
|
||||
|
||||
{% block viewport %}
|
||||
<!-- meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" -->
|
||||
{% endblock %}
|
||||
<title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title>
|
||||
|
||||
{% block styles %}
|
||||
|
@ -21,29 +18,10 @@
|
|||
<link rel="stylesheet" href="{% static 'pyconau2017/css/app.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'pyconau2017/css/print.css' %}" media="print">
|
||||
<link href="{% static 'pyconau2017/css/pyconau.css' %}" rel="stylesheet">
|
||||
<!-- link href="{% static 'pyconau2017/css/pyconau2016.css' %}" rel="stylesheet" -->
|
||||
|
||||
<link rel="icon" href="{% static 'pyconau2017/images/favicon.png' %}">
|
||||
|
||||
<!--Meta tags-->
|
||||
<meta name="theme-color" content="#0c486c">
|
||||
{% endblock %}
|
||||
|
||||
<!--Twitter-->
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:site" content="@pyconau2017">
|
||||
<meta name="twitter:title" content="Pycon AU – 3 - 8 2017 – Melbourne, Victoria">
|
||||
<meta name="twitter:description" content="Discover the future of Open Source at linux.conf.au 2017. Tickets on sale from October.">
|
||||
<meta name="twitter:image" content="{{ request.scheme }}://{{ request.get_host }}{% static 'pyconau2017/images/socmed/twitter-tuz.png' %}">
|
||||
<meta name="twitter:image:alt" content="Tuz">
|
||||
<!--Open Graph-->
|
||||
<meta property="og:url" content="https://2017.pycon-au.org/">
|
||||
<meta property="og:title" content="Pycon AU – 3 - 8 2017 – Melbourne, Victoria">
|
||||
<meta property="og:description" content="Discover Python at Pycon AU 2017. Tickets on sale from February.">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="fb:admins" content="729577430">
|
||||
<meta property="fb:profile_id" content="293907417664731">
|
||||
|
||||
{% block extra_head_base %}
|
||||
{% block extra_head %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
@ -85,7 +63,6 @@
|
|||
<!-- site_base endblock body_base -->
|
||||
|
||||
{% block footer_base %}
|
||||
<!-- https://gist.github.com/geedmo/5682742-->
|
||||
<!-- footer class="l-footer l-footer__alt" -->
|
||||
{% block footer %}
|
||||
{% endblock %}
|
||||
|
@ -98,10 +75,6 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block extra_body_base %}
|
||||
{% block analytics %}
|
||||
{% include "analytics.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_body %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
{% extends "site_base.html" %}
|
||||
{% block body_base %}
|
||||
<div style="height: 100px;" />
|
||||
<main role="main">
|
||||
<div class="l-content-page">
|
||||
<section id="content_body">
|
||||
<div class="container">
|
||||
{% include "_messages.html" %}
|
||||
{% block body %}
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue