Changeset - dde4c5bcdc6f
[Not reviewed]
0 5 0
Luke Hatcher - 12 years ago 2012-07-14 01:45:06
lukeman@gmail.com
use new proposals base template
5 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
symposion_project/templates/proposals/document_create.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "proposals/base.html" %}
 

	
 
{% load bootstrap_tags %}
 

	
 
{% block page_title %}Upload Document to '{{ proposal.title }}'{% endblock %}
 

	
 
{% block body %}
 
    <form method="POST" action="" enctype="multipart/form-data" class="form-horizontal">
 
        {% csrf_token %}
 
        <fieldset>
 
            {{ form|as_bootstrap }}
 
        </fieldset>
 
        <div class="form-actions">
 
            <input class="btn btn-primary" type="submit" value="Upload" />
 
        </div>
 
    </form>
 
{% endblock %}
symposion_project/templates/proposals/proposal_cancel.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "proposals/base.html" %}
 

	
 
{% load bootstrap_tags %}
 

	
 
{% block head_title %}Cancel Proposal{% endblock %}
 

	
 
{% block body %}
 
    <h1>Cancel: {{ proposal.title }}</h1>
 
    
 
    <form method="POST" action="" enctype="multipart/form-data">
 
        {% csrf_token %}
 
        <p>Are you sure you want to cancel <b>{{ proposal.title }}</b>?</p>
 
        <input class="btn btn-danger" type="submit" value="I am sure" />
 
        <a class="btn" href="{% url proposal_detail proposal.pk %}">No, keep it for now</a>
 
    </form>
 
{% endblock %}
...
 
\ No newline at end of file
symposion_project/templates/proposals/proposal_speaker_manage.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "proposals/base.html" %}
 

	
 
{% load bootstrap_tags %}
 

	
 
{% block body %}
 
    <h1>Proposal: {{ proposal.title }}</h1>
 
    
 
    <p><a href="{% url proposal_edit proposal.pk %}">Edit proposal</a></p>
 
    
 
    <h2>Current Speakers</h2>
 
    
 
    {% for speaker in speakers %}
 
        {% if speaker.user %}
 
            <p><b>{{ speaker.name }}</b> &mdash; {{ speaker.email }}</p>
 
        {% else %}
 
            <p>{{ speaker.email }} &mdash; pending invitation</p>
 
        {% endif %}
 
    {% endfor %}
 
    
 
    <h2>Add another speaker</h2>
 
    
 
    <form method="POST" action="" enctype="multipart/form-data" class="uniForm">
 
        {% csrf_token %}
 
        {{ add_speaker_form|as_bootstrap }}
 
        <div class="form-action">
symposion_project/templates/proposals/proposal_submit.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "proposals/base.html" %}
 

	
 
{% load boxes_tags %}
 
{% load i18n %}
 

	
 
{% block page_title %}{% trans "Submit A Proposal" %}{% endblock %}
 

	
 
{% block body %}
 
    {% box "proposal_submit" %}
 
    
 
    {% if kinds %}
 
        <p>Select what kind of proposal you'd like to submit:</p>
 
    
 
        <ul>
 
            {% for kind in kinds %}
 
                <li><a href="{% url proposal_submit_kind kind.slug %}">{{ kind }}</a></li>
 
            {% endfor %}
 
        </ul>
 
    {% else %}
 
        <p>Proposals are not currently open for submission.</p>
 
    {% endif %}
 
{% endblock %}
symposion_project/templates/proposals/proposal_submit_kind.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "proposals/base.html" %}
 

	
 
{% load bootstrap_tags %}
 
{% load boxes_tags %}
 
{% load markitup_tags %}
 
{% load i18n %}
 

	
 
{% block page_title %}Submit a Proposal for a {{ kind.name }}{% endblock %}
 

	
 
{% block body %}
 
    {% box "example_proposal" %}
 

	
 
    <form method="POST" action="" enctype="multipart/form-data" class="form-horizontal">
 
        {% csrf_token %}
 
        <fieldset>
 
            {{ form|as_bootstrap }}
 
        </fieldset>
 
        <div class="form-actions">
 
            <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.
 
            </p>
 
            <input class="btn btn-primary" type="submit" name="finish" value="Save" />
 
            <!-- <span style="float: right; padding: 4px 6px">or</span> -->
 
            <input class="btn" type="submit" name="add-speakers" value="Save and Add Additional Speakers" />
 
        </div>
0 comments (0 inline, 0 general)