Merge pull request #23 from northbaypython/josh/copy
remove unused pages directory and rename files w/ underscores instead of dashes for consistency
This commit is contained in:
commit
6a11599505
28 changed files with 80 additions and 180 deletions
|
@ -21,6 +21,6 @@
|
|||
{% endif %}
|
||||
</ul>
|
||||
|
||||
<form id="accountLogOutForm" style="display: none;" action="{% url 'account_logout' %}" method="POST">
|
||||
<form id="accountLogOutForm" action="{% url 'account_logout' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
</form>
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
<div class="sponsor-list">
|
||||
{% for level in levels %}
|
||||
{% if level.sponsors %}
|
||||
<h3 style="margin-top: 3em;">{{ level.name }}</h3>
|
||||
<h3>{{ level.name }}</h3>
|
||||
|
||||
{% for sponsor in level.sponsors %}
|
||||
<div style="margin: 10px 0;">
|
||||
<div>
|
||||
{% if sponsor.website_logo %}
|
||||
<a href="{{ sponsor.external_url }}">
|
||||
<img src="{% thumbnail sponsor.website_logo '100x60' %}" alt="{{ sponsor.name }}" />
|
||||
|
@ -25,3 +25,5 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% block title %}About {{ SITE_NAME }}{% endblock %}
|
||||
{% block heading %}About {{ SITE_NAME }}{% endblock %}
|
||||
{% block lede %}{{ SITE_NAME }} is the premier demo conference site for Symposion and Registrasion{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>I am the body content</p>
|
||||
{% endblock %}
|
|
@ -1,9 +0,0 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% block title %}Sponsorship Prospectus{% endblock %}
|
||||
{% block heading %}Sponsorship Prospectus{% endblock %}
|
||||
{% block lede %}{{ SITE_NAME }} wants sponsors.{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>I am the body content</p>
|
||||
{% endblock %}
|
|
@ -1,9 +0,0 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% block title %}Venue{% endblock %}
|
||||
{% block heading %}Venue{% endblock %}
|
||||
{% block lede %}{{ SITE_NAME }} is being held on a Django Hosting facility, somewhere.{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>I am the body content</p>
|
||||
{% endblock %}
|
|
@ -1 +0,0 @@
|
|||
{% include "pinax/boxes/_box_body.html" %}
|
|
@ -1,33 +0,0 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% if form %}
|
||||
<div id="edit_{{ label }}" class="modal fade">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<form id="edit_form_{{ label }}" accept-charset="UTF-8" class="modal-form" method="POST" action="{{ form_action }}?next={{ request.path }}">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">{% trans "Editing content:" %} {{ label }}</h4>
|
||||
</div>
|
||||
<div class="modal-body form-group">
|
||||
{% csrf_token %}
|
||||
{{ form.content }}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="submit" class="btn btn-primary">Save changes</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="content_{{ label }}" class="content-box {% if form %}editable{% endif %}">
|
||||
{% if form %}
|
||||
<a href="#edit_{{ label }}" data-toggle="modal" class="btn btn-default btn-sm edit-toggle">
|
||||
<i class="fa fa-pencil"></i>
|
||||
Edit this content
|
||||
</a>
|
||||
{% endif %}
|
||||
{{ box.content_html|safe }}
|
||||
</div>
|
|
@ -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 %}
|
|
@ -12,7 +12,7 @@
|
|||
{% block content %}
|
||||
{% markdown %}
|
||||
|
||||
{% include "static_pages/code-of-conduct/code-of-conduct.md" %}
|
||||
{% include "static_pages/code_of_conduct/code_of_conduct.md" %}
|
||||
|
||||
{% endmarkdown %}
|
||||
{% endblock %}
|
|
@ -12,7 +12,7 @@
|
|||
{% block content %}
|
||||
{% markdown %}
|
||||
|
||||
{% include "static_pages/code-of-conduct/harassment-procedure-attendee.md" %}
|
||||
{% include "static_pages/code_of_conduct/harassment_procedure_attendee.md" %}
|
||||
|
||||
{% endmarkdown %}
|
||||
{% endblock %}
|
|
@ -12,7 +12,7 @@
|
|||
{% block content %}
|
||||
{% markdown %}
|
||||
|
||||
{% include "static_pages/code-of-conduct/harassment-procedure-staff.md" %}
|
||||
{% include "static_pages/code_of_conduct/harassment_procedure_staff.md" %}
|
||||
|
||||
{% endmarkdown %}
|
||||
{% endblock %}
|
|
@ -10,4 +10,7 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
* conservancy press release
|
||||
* CFP opening
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
{% block content %}
|
||||
{% markdown %}
|
||||
|
||||
{% include "static_pages/program/call-for-proposals.md" %}
|
||||
{% include "static_pages/program/call_for_proposals.md" %}
|
||||
|
||||
{% endmarkdown %}
|
||||
{% endblock %}
|
|
@ -12,7 +12,7 @@
|
|||
{% block content %}
|
||||
{% markdown %}
|
||||
|
||||
{% include "static_pages/program/selection-process.md" %}
|
||||
{% include "static_pages/program/selection_process.md" %}
|
||||
|
||||
{% endmarkdown %}
|
||||
{% endblock %}
|
|
@ -1,13 +0,0 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block head_title %}Become a Sponsors{% endblock %}
|
||||
|
||||
{% block heading %}Become a Sponsors{% endblock %}
|
||||
|
||||
{% block body_class %}sponsors{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,43 @@
|
|||
{% extends "page_with_title_and_lede.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block head_title %}Become a Sponsor{% endblock %}
|
||||
|
||||
{% block heading %}Become a Sponsor{% endblock %}
|
||||
|
||||
{% block body_class %}sponsors{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<p>Our sponsors help put this conference on. Our base costs, including our venue, printing, web hosting, and more, are all funded through sponsorship.</p>
|
||||
|
||||
<p>In return, we offer complimentary corporate level tickets, a chance to talk about your company on our main stage, floor space in the lobby to display your free-standing banners, and as much praise as we can deliver in front of 400 grateful Pythonistas.</p>
|
||||
|
||||
<p>Below is an overview of sponsorship levels. Please see our <a href="/sponsors/prospectus">prospectus</a> or contact <a href="mailto:sponsor@northbaypython.org">sponsor@northbaypython.org</a> for additional details.</p>
|
||||
|
||||
<h2>Package Sponsorship</h2>
|
||||
|
||||
<p>Package sponsorships are the widest-reaching and best value sponsorships we offer at North Bay Python. When our attendees arrive at the venue, they'll see your signage as they walk through the door. As they're sitting in the theatre, they'll see your logo on the backdrop behind the speakers, and on-screen on between talks. You'll also get the chance to present a short talk about your organization between two of our invited presentations.</p>
|
||||
|
||||
<h2>À la Carte Sponsorship</h2>
|
||||
|
||||
<p>If you're looking for something a bit more exclusive, North Bay Python's À la Carte sponsorships allow you to promote your organization as part of an important offering during the conference, including lanyards, catering, or video branding. We'll also recognize you as a Silver package sponsor, with the opportunity for discounted upgrades to higher package tiers.</p>
|
||||
|
||||
<h2>In-Kind Partnerships</h2>
|
||||
|
||||
<p>Sponsorship can also be in the form of in-kind donations of goods and services essential to organizing the conference, or in assisting speakers to attend the conference. If you can make a substantial in-kind donation, we will recognize you as a package-level sponsor of equivalent value.</p>
|
||||
|
||||
<h2>Community Partnerships</h2>
|
||||
|
||||
<p>Community groups, such as Python Meetups and PyLadies groups, are the lifeblood of the Python community, and we need your help to put on the best conference we can. If you can help us with one of the following, we'll recognize you as a community partner, which comes with all of the benefits of a Silver sponsorship.</p>
|
||||
|
||||
<ul>
|
||||
<li>You help us find 10 submissions to our Call for Proposals</li>
|
||||
<li>Three members of your group attend at a Supporter level or higher</li>
|
||||
<li>You put us in contact with a sponsor who signs on at Silver level or above</li>
|
||||
<li>One of your members volunteers with the conference</li>
|
||||
<li>Anything else that we agree will make our conference even better</li>
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
|
@ -13,7 +13,7 @@ urlpatterns = [
|
|||
|
||||
# about
|
||||
# TODO add /about
|
||||
url(r"^about/north-bay-python$", TemplateView.as_view(template_name="static_pages/about/north-bay-python.html"), name="about/north-bay-python"),
|
||||
url(r"^about/north-bay-python$", TemplateView.as_view(template_name="static_pages/about/north_bay_python.html"), name="about/north-bay-python"),
|
||||
# TODO add /about/the-mystic
|
||||
# TODO add /about/petaluma
|
||||
url(r"^about/team$", TemplateView.as_view(template_name="static_pages/about/team.html"), name="about/team"),
|
||||
|
@ -23,8 +23,8 @@ urlpatterns = [
|
|||
# TODO add /program
|
||||
# TODO add /program/sessions
|
||||
# TODO add /program/events
|
||||
url(r"^program/call-for-proposals$", TemplateView.as_view(template_name="static_pages/program/call-for-proposals.html"), name="program/call-for-proposals"),
|
||||
url(r"^program/selection-process$", TemplateView.as_view(template_name="static_pages/program/selection-process.html"), name="program/selection-process"),
|
||||
url(r"^program/call-for-proposals$", TemplateView.as_view(template_name="static_pages/program/call_for_proposals.html"), name="program/call-for-proposals"),
|
||||
url(r"^program/selection-process$", TemplateView.as_view(template_name="static_pages/program/selection_process.html"), name="program/selection-process"),
|
||||
|
||||
# attend
|
||||
# TODO add /attend
|
||||
|
@ -34,14 +34,14 @@ urlpatterns = [
|
|||
# TODO add /attend/how-to-pitch-your-manager
|
||||
# TODO add /attend/how-to-get-here
|
||||
# TODO add /attend/where-to-stay
|
||||
url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/code-of-conduct/code-of-conduct.html"), name="code-of-conduct"),
|
||||
url(r"^code-of-conduct/harassment-incidents$", TemplateView.as_view(template_name="static_pages/code-of-conduct/harassment-procedure-attendee.html"), name="code-of-conduct/harassment-incidents"),
|
||||
url(r"^code-of-conduct/harassment-staff-procedures$", TemplateView.as_view(template_name="static_pages/code-of-conduct/harassment-procedure-staff.html"), name="code-of-conduct/harassment-staff-procedures"),
|
||||
url(r"^terms-and-conditions$", TemplateView.as_view(template_name="static_pages/terms-and-conditions.html"), name="terms-and-conditions"),
|
||||
url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/code_of_conduct/code_of_conduct.html"), name="code-of-conduct"),
|
||||
url(r"^code-of-conduct/harassment-incidents$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_attendee.html"), name="code-of-conduct/harassment-incidents"),
|
||||
url(r"^code-of-conduct/harassment-staff-procedures$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_staff.html"), name="code-of-conduct/harassment-staff-procedures"),
|
||||
url(r"^terms-and-conditions$", TemplateView.as_view(template_name="static_pages/terms_and_conditions.html"), name="terms-and-conditions"),
|
||||
|
||||
# sponsor
|
||||
# TODO add /sponsors
|
||||
url(r"^sponsors/become-a-sponsor$", TemplateView.as_view(template_name="static_pages/sponsors/become-a-sponsor.html"), name="sponsors/become-a-sponsor"),
|
||||
url(r"^sponsors/become-a-sponsor$", TemplateView.as_view(template_name="static_pages/sponsors/become_a_sponsor.html"), name="sponsors/become-a-sponsor"),
|
||||
|
||||
# news
|
||||
url(r"^news$", TemplateView.as_view(template_name="static_pages/news.html"), name="news"),
|
||||
|
|
|
@ -52,3 +52,19 @@ body.reviews.voting-status {
|
|||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
}
|
||||
|
||||
#accountLogOutForm {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sponsor-list h3 {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
.sponsor-list > div {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue