More dashboard and settings themes (#29)
* Proposals forms now have a header panel * Adds panels to the speaker forms * Imports latest pinax accounts templates * speakers/base and proposals/base now derive from utility_page.html * Most login forms now derive from take flight themes * Missed email_confirm * More accounts bits * Restructures login form * Puts submit etc buttons inside fieldset borders
This commit is contained in:
parent
eac85a2b92
commit
feed83f517
39 changed files with 414 additions and 55 deletions
1
pinaxcon/templates/account/_login_sidebar.html
Normal file
1
pinaxcon/templates/account/_login_sidebar.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{# provide log in sidebar here #}
|
1
pinaxcon/templates/account/_signup_sidebar.html
Normal file
1
pinaxcon/templates/account/_signup_sidebar.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{# provide sign up in sidebar here #}
|
25
pinaxcon/templates/account/base.html
Normal file
25
pinaxcon/templates/account/base.html
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block body_class %}account{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
|
||||||
|
<div class="btn-group">
|
||||||
|
<a class="btn {% block btn-settings %}{% endblock %}" href="{% url "account_settings" %}">
|
||||||
|
{% trans "Settings" %}
|
||||||
|
</a>
|
||||||
|
<a class="btn {% block btn-password %}{% endblock %}" href="{% url "account_password" %}">
|
||||||
|
{% trans "Change password" %}
|
||||||
|
</a>
|
||||||
|
<a class="btn {% block btn-delete %}{% endblock %}" href="{% url "account_delete" %}">
|
||||||
|
{% trans "Delete account" %}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
|
||||||
|
{% block account_body %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% endblock %}
|
20
pinaxcon/templates/account/delete.html
Normal file
20
pinaxcon/templates/account/delete.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{% extends "account/base.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block body_class %}account account-delete{% endblock %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Delete Account" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Delete Account" %}{% endblock %}
|
||||||
|
{% block btn-delete %}btn__active{% endblock %}
|
||||||
|
|
||||||
|
{% block account_body %}
|
||||||
|
|
||||||
|
<p>{% blocktrans %}If you go ahead and delete your account, your information will be <b>expunged within {{ ACCOUNT_DELETION_EXPUNGE_HOURS }} hours</b>.{% endblocktrans %}</p>
|
||||||
|
|
||||||
|
<form method="post" action="{% url "account_delete" %}" autocapitalize="off">
|
||||||
|
{% csrf_token %}
|
||||||
|
<button type="submit" class="btn btn-danger">{% trans "Delete My Account" %}</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
{% endblock %}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{% load i18n account_tags %}{% blocktrans with site_name=current_site.name %}A user on {{ site_name }} has created an account using this email address.
|
||||||
|
|
||||||
|
To confirm this email address, go to {{ activate_url }}
|
||||||
|
|
||||||
|
If you did not sign up for this site, you can ignore this message.
|
||||||
|
{% endblocktrans %}
|
|
@ -0,0 +1 @@
|
||||||
|
{% load i18n %}{% blocktrans with site_name=current_site.name %}Confirm email address for {{ site_name }}{% endblocktrans %}
|
4
pinaxcon/templates/account/email/invite_user.txt
Normal file
4
pinaxcon/templates/account/email/invite_user.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{% load i18n %}{% blocktrans with name=current_site.name %}You have been invited to sign up at {{ name }}.
|
||||||
|
|
||||||
|
{{ signup_url }}
|
||||||
|
{% endblocktrans %}
|
1
pinaxcon/templates/account/email/invite_user_subject.txt
Normal file
1
pinaxcon/templates/account/email/invite_user_subject.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% load i18n %}{% blocktrans with name=current_site.name %}Create an account on {{ name }}{% endblocktrans %}
|
1
pinaxcon/templates/account/email/password_change.txt
Normal file
1
pinaxcon/templates/account/email/password_change.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{% load i18n %}{% blocktrans with now=user.account.now %}This is the email notification to confirm your password has been changed on {{ now }}.{% endblocktrans %}
|
|
@ -0,0 +1 @@
|
||||||
|
{% load i18n %}{% trans "Change password email notification" %}
|
5
pinaxcon/templates/account/email/password_reset.txt
Normal file
5
pinaxcon/templates/account/email/password_reset.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{% load i18n %}{% blocktrans with site_name=current_site.name %}You're receiving this email because you or someone else has requested a password for your user account at {{ site_name }}.
|
||||||
|
It can be safely ignored if you did not request a password reset. Click the link below to reset your password.
|
||||||
|
|
||||||
|
{{ password_reset_url }}
|
||||||
|
{% endblocktrans %}
|
|
@ -0,0 +1 @@
|
||||||
|
{% load i18n %}{% blocktrans with site_name=current_site.name %}[{{ site_name }}] Password reset{% endblocktrans %}
|
16
pinaxcon/templates/account/email_confirm.html
Normal file
16
pinaxcon/templates/account/email_confirm.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Confirm Email" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Confirm Email" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
<form method="post" action="{% url "account_confirm_email" key=confirmation.key %}">
|
||||||
|
<fieldset>
|
||||||
|
{% csrf_token %}
|
||||||
|
<p>{% blocktrans with email=confirmation.email_address.email %}Confirm email address <b>{{ email }}</b>?{% endblocktrans %}</p>
|
||||||
|
<button type="submit" class="btn btn-primary">{% trans "Confirm" %}</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
12
pinaxcon/templates/account/email_confirmation_sent.html
Normal file
12
pinaxcon/templates/account/email_confirmation_sent.html
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Confirm your email address" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Confirm your email address" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
|
||||||
|
<p>{% blocktrans %}We have sent you an email to <b>{{ email }}</b> for verification. Follow the link provided to finalize the signup process. If you do not receive it within a few minutes, contact us at <a href="mailto:{{ THEME_CONTACT_EMAIL }}">{{ THEME_CONTACT_EMAIL }}</a>.{% endblocktrans %}</p>
|
||||||
|
<p><a href="{{ success_url }}">{% trans "Go back" %}</a></p>
|
||||||
|
{% endblock %}
|
10
pinaxcon/templates/account/email_confirmed.html
Normal file
10
pinaxcon/templates/account/email_confirmed.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Email confirmed" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Email confirmed" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
<p>{% blocktrans with email=confirmation.email_address.email %}You have confirmed <b>{{ email }}</b>{% endblocktrans %}</p>
|
||||||
|
{% endblock %}
|
39
pinaxcon/templates/account/login.html
Normal file
39
pinaxcon/templates/account/login.html
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load account_tags %}
|
||||||
|
{% load i18n %}
|
||||||
|
{% load bootstrap %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Log in" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Log in to an existing account" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
|
||||||
|
{% if ACCOUNT_OPEN_SIGNUP %}
|
||||||
|
<p class="login-signup">
|
||||||
|
{% trans "Don't have an account?" %} <strong><a href="{% urlnext 'account_signup' %}">{% trans "Sign up" %}</a></strong>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<form method="POST" action="{% url "account_login" %}" autocapitalize="off" {% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
|
||||||
|
{% csrf_token %}
|
||||||
|
<fieldset>
|
||||||
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
|
||||||
|
{% if redirect_field_value %}
|
||||||
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
||||||
|
{% endif %}
|
||||||
|
<button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
|
||||||
|
<a href="{% url "account_password_reset" %}" class="btn btn-link">{% trans "Forgot your password?" %}</a>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ block.super }}
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#id_username').focus();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
14
pinaxcon/templates/account/logout.html
Normal file
14
pinaxcon/templates/account/logout.html
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Log out" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Log out" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
<form method="POST" action="{% url "account_logout" %}">
|
||||||
|
{% csrf_token %}
|
||||||
|
<p>{% trans "Are you sure you want to log out?" %}</p>
|
||||||
|
<button type="submit" class="btn btn-primary">{% trans "Log out" %}</button>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
20
pinaxcon/templates/account/password_change.html
Normal file
20
pinaxcon/templates/account/password_change.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{% extends "account/base.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
{% load bootstrap %}
|
||||||
|
|
||||||
|
{% block body_class %}account account-password{% endblock %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Change password" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Change password" %}{% endblock %}
|
||||||
|
{% block btn-password %}btn__active{% endblock %}
|
||||||
|
|
||||||
|
{% block account_body %}
|
||||||
|
<form method="POST" action="">
|
||||||
|
<fieldset>
|
||||||
|
{% csrf_token %}
|
||||||
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
30
pinaxcon/templates/account/password_reset.html
Normal file
30
pinaxcon/templates/account/password_reset.html
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
{% load bootstrap %}
|
||||||
|
{% load account_tags %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Password reset" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Password reset" %}{% endblock %}
|
||||||
|
|
||||||
|
{% user_display request.user as user_display %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
<form method="POST" action="">
|
||||||
|
<p class="lead">{% trans "Forgotten your password? Enter your email address below, and we'll send you an email allowing you to reset it." %}</p>
|
||||||
|
<fieldset class="row">
|
||||||
|
{% csrf_token %}
|
||||||
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
<button type="submit" class="btn btn-primary">
|
||||||
|
{% trans "Reset my password" %}
|
||||||
|
</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<p>{% blocktrans %}If you have any trouble resetting your password, contact us at <a href="mailto:{{ THEME_CONTACT_EMAIL }}">{{ THEME_CONTACT_EMAIL }}</a>.{% endblocktrans %}</p>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_body %}
|
||||||
|
<script>
|
||||||
|
$("#id_email").focus();
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
23
pinaxcon/templates/account/password_reset_sent.html
Normal file
23
pinaxcon/templates/account/password_reset_sent.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
{% load account_tags %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Password reset sent" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Password reset sent" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
{% if not resend %}
|
||||||
|
<p>{% blocktrans %}We have sent you an email. If you do not receive it within a few minutes, try resending or contact us at <a href="mailto:{{ THEME_CONTACT_EMAIL }}">{{ THEME_CONTACT_EMAIL }}</a>.{% endblocktrans %}</p>
|
||||||
|
|
||||||
|
<form method="POST" action="{% url "account_password_reset" %}">
|
||||||
|
{% csrf_token %}
|
||||||
|
{% for field in form %}
|
||||||
|
{{ field.as_hidden }}
|
||||||
|
{% endfor %}
|
||||||
|
<button type="submit" name="resend" class="btn btn-primary">{% trans "Resend" %}</button>
|
||||||
|
</form>
|
||||||
|
{% else %}
|
||||||
|
<p>{% blocktrans %}We have resent the password email. If you do not receive it within a few minutes, contact us at <a href="mailto:{{ THEME_CONTACT_EMAIL }}">{{ THEME_CONTACT_EMAIL }}</a>.{% endblocktrans %}</p>
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
18
pinaxcon/templates/account/password_reset_token.html
Normal file
18
pinaxcon/templates/account/password_reset_token.html
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
{% load bootstrap %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Set your new password" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Set your new password" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
<form method="POST" action="{% url "account_password_reset_token" uidb36=uidb36 token=token %}">
|
||||||
|
<legend>{% trans "Set your new password" %}</legend>
|
||||||
|
<fieldset>
|
||||||
|
{% csrf_token %}
|
||||||
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
11
pinaxcon/templates/account/password_reset_token_fail.html
Normal file
11
pinaxcon/templates/account/password_reset_token_fail.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Bad token" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Bad token" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
{% url "account_password_reset" as url %}
|
||||||
|
<p>{% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a <a href="{{ url }}">new password reset</a>.{% endblocktrans %}</p>
|
||||||
|
{% endblock %}
|
20
pinaxcon/templates/account/settings.html
Normal file
20
pinaxcon/templates/account/settings.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{% extends "account/base.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
{% load bootstrap %}
|
||||||
|
|
||||||
|
{% block body_class %}account account-settings{% endblock %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Account Settings" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Account Settings" %}{% endblock %}
|
||||||
|
{% block btn-settings %}btn__active{% endblock %}
|
||||||
|
|
||||||
|
{% block account_body %}
|
||||||
|
<form method="POST" action="{% url "account_settings" %}">
|
||||||
|
<fieldset>
|
||||||
|
{% csrf_token %}
|
||||||
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
<button class="btn btn-primary" type="submit">{% trans "Save" %}</button>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
33
pinaxcon/templates/account/signup.html
Normal file
33
pinaxcon/templates/account/signup.html
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% load account_tags %}
|
||||||
|
{% load i18n %}
|
||||||
|
{% load bootstrap %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Sign up" %}{% endblock %}
|
||||||
|
{% block page_title %}{% trans "Sign up" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
<p>
|
||||||
|
{% trans "Already have an account?" %} <strong><a href="{% urlnext 'account_login' %}">{% trans "Log in" %}</a></strong>
|
||||||
|
</p>
|
||||||
|
<form id="signup_form" method="post" action="{% url "account_signup" %}" autocapitalize="off" {% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
|
||||||
|
{% csrf_token %}
|
||||||
|
<fieldset>
|
||||||
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
</fieldset>
|
||||||
|
{% if redirect_field_value %}
|
||||||
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
||||||
|
{% endif %}
|
||||||
|
<button type="submit" class="btn btn-primary">{% trans "Sign up" %}</button>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ block.super }}
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#id_username').focus();
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
14
pinaxcon/templates/account/signup_closed.html
Normal file
14
pinaxcon/templates/account/signup_closed.html
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{% extends "site_base.html" %}
|
||||||
|
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Sign up" %}{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
<h1>{% trans "This site is in private beta" %}</h1>
|
||||||
|
<p>{% blocktrans %}If you have signup code you can enter it below.{% endblocktrans %}</p>
|
||||||
|
<form method="get" action="">
|
||||||
|
<div><input type="text" name="code" placeholder="{% trans 'Your signup code...' %}" /></div>
|
||||||
|
<div><input type="submit" class="btn btn-primary"></div>
|
||||||
|
</form>
|
||||||
|
{% endblock %}
|
|
@ -1,16 +1,16 @@
|
||||||
{% extends "site_base_wagtail.html" %}
|
{% extends "utility_page.html" %}
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
|
|
||||||
{% block body %}
|
|
||||||
|
{% block utility_body_outer %}
|
||||||
|
{% block proposals_body_outer %}
|
||||||
<div class="l-content-page">
|
<div class="l-content-page">
|
||||||
<div class="l-content-page--richtext">
|
<div class="l-content-page--richtext">
|
||||||
<h2>{% block page_title %}{% endblock %}</h2>
|
{% block utility_body %}
|
||||||
{% block proposals_body %}
|
{% block proposals_body %}
|
||||||
|
{% endblock %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extra_script %}
|
|
||||||
<script src="{% static 'js/site-92ae8d0d6c.js' %}" type="text/javascript"></script>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% include "_form_snippet.html" with form=form %}
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
<div class="btn-group">
|
||||||
|
<input class="btn btn-primary" type="submit" value="Upload" />
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="form-actions">
|
|
||||||
<input class="btn btn-primary" type="submit" value="Upload" />
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -5,15 +5,13 @@
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
|
|
||||||
{% block head_title %}{{ proposal.title }}{% endblock %}
|
{% block head_title %}{{ proposal.title }}{% endblock %}
|
||||||
|
{% block page_title %}#{{ proposal.number }}: {{ proposal.title }} ({{ proposal.speaker }}){% endblock %}
|
||||||
|
|
||||||
|
{% block proposals_body_outer %}
|
||||||
{% block body %}
|
|
||||||
|
|
||||||
<div class="panel panel__compact">
|
<div class="panel panel__compact">
|
||||||
<div class="panel--content">
|
<div class="panel--content">
|
||||||
|
|
||||||
<h2>{% block page_title %}#{{ proposal.number }}: {{ proposal.title }} ({{ proposal.speaker }}){% endblock %}</h2>
|
|
||||||
|
|
||||||
<div class="panel--tab-controls">
|
<div class="panel--tab-controls">
|
||||||
<div class="panel--tabs"><a data-tab-control="Details" class="panel--tab-switch is-active">{% trans "Proposal Details" %}</a><a data-tab-control="Documents" class="panel--tab-switch">{% trans "Supporting Documents" %}</a><a data-tab-control="Feedback" class="panel--tab-switch">{% trans "Reviewer Feedback" %} ({{ proposal.messages.all|length }})</a>
|
<div class="panel--tabs"><a data-tab-control="Details" class="panel--tab-switch is-active">{% trans "Proposal Details" %}</a><a data-tab-control="Documents" class="panel--tab-switch">{% trans "Supporting Documents" %}</a><a data-tab-control="Feedback" class="panel--tab-switch">{% trans "Reviewer Feedback" %} ({{ proposal.messages.all|length }})</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,10 +78,10 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% include "_form_snippet.html" with form=message_form %}
|
{% include "_form_snippet.html" with form=message_form %}
|
||||||
|
<div class="btn-group">
|
||||||
|
<button type="submit" name="message_submit" class="btn btn-primary">{% trans 'Submit' %}</button>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="actions">
|
|
||||||
<button type="submit" name="message_submit" class="btn btn-primary">{% trans 'Submit' %}</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
|
|
||||||
{% block head_title %}Editing {{ proposal.title }}{% endblock %}
|
{% block head_title %}Editing {{ proposal.title }}{% endblock %}
|
||||||
{% block page_title %}Edit: {{ proposal.title }}{% endblock %}
|
{% block page_title %}Editing: {{ proposal.title }}{% endblock %}
|
||||||
|
|
||||||
{% block proposals_body %}
|
{% block proposals_body %}
|
||||||
<p><a href="{% url "proposal_speaker_manage" proposal.pk %}">Manage speakers</a></p>
|
<p><a href="{% url "proposal_speaker_manage" proposal.pk %}">Manage speakers</a></p>
|
||||||
|
@ -12,10 +12,11 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% include "_form_snippet.html" with form=form %}
|
{% include "_form_snippet.html" with form=form %}
|
||||||
|
<div class="btn-group">
|
||||||
|
<input class="btn btn-primary" type="submit" value="Save" />
|
||||||
|
<a class="btn btn-default" href="{% url "proposal_detail" proposal.pk %}">Cancel</a>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="form-actions">
|
|
||||||
<input class="btn btn-primary" type="submit" value="Save" />
|
|
||||||
<a class="btn btn-default" href="{% url "proposal_detail" proposal.pk %}">Cancel</a>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
{% extends "symposion/proposals/base.html" %}
|
{% extends "symposion/proposals/base.html" %}
|
||||||
|
|
||||||
{% block body %}
|
{% block page_title %}Leaving {{ proposal.title }}{% endblock %}
|
||||||
<h3>Leaving {{ proposal.title }}</h3>
|
{% block head_title %}Leaving {{ proposal.title }}{% endblock %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
<form method="POST" action="" enctype="multipart/form-data">
|
<form method="POST" action="" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<p>Are you sure you wish to leave as a speaker on <b>{{ proposal.title }}</b>?</p>
|
<p>Are you sure you wish to leave as a speaker on <b>{{ proposal.title }}</b>?</p>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
|
|
||||||
{% block page_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
|
{% block page_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
|
||||||
|
{% block head_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
|
||||||
|
|
||||||
{% block proposals_body %}
|
{% block proposals_body %}
|
||||||
<h1></h1>
|
<h1></h1>
|
||||||
|
@ -27,10 +28,12 @@
|
||||||
|
|
||||||
<form method="POST" action="" enctype="multipart/form-data">
|
<form method="POST" action="" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% include "_form_snippet.html" with form=add_speaker_form %}
|
<fieldset>
|
||||||
<div class="form-action">
|
{% include "_form_snippet.html" with form=add_speaker_form %}
|
||||||
<input type="submit" value="Add speaker" class="btn btn-primary" />
|
<div class="btn-group">
|
||||||
</div>
|
<input type="submit" value="Add speaker" class="btn btn-primary" />
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block page_title %}{% trans "Submit A Proposal" %}{% endblock %}
|
{% block page_title %}{% trans "Submit A Proposal" %}{% endblock %}
|
||||||
|
{% block head_title %}{% trans "Submit A Proposal" %}{% endblock %}
|
||||||
|
|
||||||
{% block proposals_body %}
|
{% block proposals_body %}
|
||||||
|
|
||||||
|
|
|
@ -3,20 +3,21 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block page_title %}Submit a Proposal for a {{ kind.name }}{% endblock %}
|
{% block page_title %}Submit a Proposal for a {{ kind.name }}{% endblock %}
|
||||||
|
{% block head_title %}Submit a Proposal for a {{ kind.name }}{% endblock %}
|
||||||
|
|
||||||
{% block proposals_body %}
|
{% block proposals_body %}
|
||||||
<form method="POST" action="" enctype="multipart/form-data">
|
<form method="POST" action="" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% include "_form_snippet.html" with form=proposal_form %}
|
{% include "_form_snippet.html" with form=proposal_form %}
|
||||||
</fieldset>
|
|
||||||
<div class="form-actions">
|
|
||||||
<p>
|
<p>
|
||||||
You will be able to edit your proposal after it has been submitted. The program committee may ask questions, provide feedback, and even suggest changes to your proposal as part of the review processes.
|
You will be able to edit your proposal after it has been submitted. The program committee may ask questions, provide feedback, and even suggest changes to your proposal as part of the review processes.
|
||||||
</p>
|
</p>
|
||||||
<input class="btn btn-primary" type="submit" name="finish" value="Save" />
|
<div class="btn-group">
|
||||||
<!-- <span style="float: right; padding: 4px 6px">or</span> -->
|
<input class="btn btn-primary" type="submit" name="finish" value="Save" />
|
||||||
<input class="btn btn-default" type="submit" name="add-speakers" value="Save and Add Additional Speakers" />
|
<!-- <span style="float: right; padding: 4px 6px">or</span> -->
|
||||||
</div>
|
<input class="btn btn-default" type="submit" name="add-speakers" value="Save and Add Additional Speakers" />
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
{% extends "site_base_wagtail.html" %}
|
{% extends "utility_page.html" %}
|
||||||
|
|
||||||
|
{% block utility_body %}
|
||||||
|
{% block proposals_body %}
|
||||||
|
{% endblock %}
|
||||||
|
{% endblock %}
|
||||||
|
|
|
@ -4,22 +4,18 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load pinax_boxes_tags %}
|
{% load pinax_boxes_tags %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Create Speaker Profile" %}{% endblock %}
|
||||||
{% block page_title %}{% trans "Create Speaker Profile" %}{% endblock %}
|
{% block page_title %}{% trans "Create Speaker Profile" %}{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block proposals_body %}
|
||||||
<div class="l-content-page">
|
|
||||||
<div class="l-content-page--richtext">
|
|
||||||
<form method="POST" action="" enctype="multipart/form-data">
|
<form method="POST" action="" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<h2>{% trans "Create Speaker Profile" %}</h2>
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% include "_form_snippet.html" with form=speaker_form %}
|
{% include "_form_snippet.html" with form=speaker_form %}
|
||||||
|
<div class="btn-group">
|
||||||
|
<input class="btn btn-primary" type="submit" value="Save" />
|
||||||
|
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="form-actions">
|
|
||||||
<input class="btn btn-primary" type="submit" value="Save" />
|
|
||||||
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -4,22 +4,18 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load pinax_boxes_tags %}
|
{% load pinax_boxes_tags %}
|
||||||
|
|
||||||
|
{% block head_title %}{% trans "Edit Speaker Profile" %}{% endblock %}
|
||||||
{% block page_title %}{% trans "Edit Speaker Profile" %}{% endblock %}
|
{% block page_title %}{% trans "Edit Speaker Profile" %}{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block proposals_body %}
|
||||||
<div class="l-content-page">
|
|
||||||
<div class="l-content-page--richtext">
|
|
||||||
<form method="POST" action="" enctype="multipart/form-data">
|
<form method="POST" action="" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<h2>{% trans "Edit Speaker Profile" %}</h2>
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
{% include "_form_snippet.html" with form=speaker_form %}
|
{% include "_form_snippet.html" with form=speaker_form %}
|
||||||
|
<div class="btn-group">
|
||||||
|
<input class="btn btn-primary" type="submit" value="Save" />
|
||||||
|
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="form-actions">
|
|
||||||
<input class="btn btn-primary" type="submit" value="Save" />
|
|
||||||
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
26
pinaxcon/templates/utility_page.html
Normal file
26
pinaxcon/templates/utility_page.html
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{% extends "site_base_wagtail.html" %}
|
||||||
|
{% load staticfiles %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
<div class="panel panel__compact panel__bg">
|
||||||
|
<div style="background-image: url('{% static 'lca2017/images/wineglass_bg_optimised.jpg' %}');" class="panel--bg"></div>
|
||||||
|
<div class="panel--content">
|
||||||
|
<h2>{% block page_title %}{% endblock %}</h2>
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% block utility_body_outer %}
|
||||||
|
<div class="l-content-page">
|
||||||
|
<div class="l-content-page--richtext">
|
||||||
|
{% block utility_body %}
|
||||||
|
{% endblock %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block extra_script %}
|
||||||
|
<script src="{% static 'js/site-92ae8d0d6c.js' %}" type="text/javascript"></script>
|
||||||
|
{% endblock %}
|
|
@ -784,6 +784,10 @@ table.alt tr:not(:last-of-type) {
|
||||||
border: 1px solid #3ab1c9;
|
border: 1px solid #3ab1c9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn__active {
|
||||||
|
border: solid #3ab1c9;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.btn-group {
|
.btn-group {
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
|
|
BIN
static/src/lca2017/images/wineglass_bg_optimised.jpg
Executable file
BIN
static/src/lca2017/images/wineglass_bg_optimised.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
Loading…
Reference in a new issue