Changeset - 3ca56663a470
symposion_project/templates/proposals/_pending_proposal_row.html
Show inline comments
 
new file 100644
 
<tr>
 
    <td>
 
        <a href="{% url proposal_detail proposal.pk %}">{{ proposal.title }}</a>
 
    </td>
 
    
 
    <td>{{ proposal.kind.name }}</td>
 
    
 
    <td>
 
        {% if proposal.cancelled %}
 
            <span class="label label-important">Cancelled</span>
 
        {% else %}
 
            {% if request.user == proposal.speaker.user %}
 
                {% if proposal.result.accepted %}
 
                    <span class="label label-success">Accepted</span>
 
                {% else %}
 
                    <span class="label">Submitted</span>
 
                {% endif %}
 
            {% else %}
 
                <span class="label">Invited</span>
 
            {% endif %}
 
        {% endif %}
 
    </td>
 
        
 
    <td>
 
        {% if not proposal.cancelled %}
 
            <div class="btn-group">
 
                <a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="#">
 
                Choose Response
 
                <span class="caret"></span>
 
                </a>
 
                <ul class="dropdown-menu">
 
                    <li><a href="{% url proposal_pending_join proposal.id %}">Accept invitation</a></li>
 
                    <li><a href="{% url proposal_pending_decline proposal.id %}">Decline invitation</a></li>
 
                </ul>
 
            </div>
 
        {% endif %}
 
    </td>
 
</tr>
symposion_project/templates/proposals/_proposal_row.html
Show inline comments
 
new file 100644
 
<tr>
 
    <td>
 
        <a href="{% url proposal_detail proposal.pk %}">{{ proposal.title }}</a>
 
    </td>
 
    
 
    <td>{{ proposal.kind.name }}</td>
 
    
 
    <td>
 
        {% if proposal.cancelled %}
 
            <span class="label label-important">Cancelled</span>
 
        {% else %}
 
            {% if request.user == proposal.speaker.user %}
 
                {% if proposal.result.accepted %}
 
                    <span class="label label-success">Accepted</span>
 
                {% else %}
 
                    <span class="label">Submitted</span>
 
                {% endif %}
 
            {% else %}
 
                <span class="label">Associated</span>
 
            {% endif %}
 
        {% endif %}
 
    </td>
 
        
 
    <td>
 
        {% if not proposal.cancelled %}
 
            {% if request.user == proposal.speaker.user and proposal.can_edit %}
 
                <a href="{% url proposal_edit proposal.pk %}" class="btn btn-mini"><i class="icon-pencil"></i> Edit</a>
 
                <a href="{% url proposal_speaker_manage proposal.id %}" class="btn btn-mini"><i class="icon-user"></i> Manage Additional Speakers</a>
 
            {% endif %}
 
        {% endif %}
 
    </td>
 
</tr>
symposion_project/templates/proposals/document_create.html
Show inline comments
 
new file 100644
 
{% extends "auth_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
 
new file 100644
 
{% extends "site_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_detail.html
Show inline comments
 
new file 100644
 
{% extends "site_base.html" %}
 

	
 
{% block head_title %}{{ proposal.title }}{% endblock %}
 

	
 
{% block body %}
 
    <h1>{{ proposal.title }}</h1>
 
    
 
    <p>
 
        {% if not proposal.cancelled %}
 
            {% if request.user == proposal.speaker.user %}
 
                <a href="{% url proposal_edit proposal.pk %}">Edit</a>
 
                | <a href="{% url proposal_cancel proposal.pk %}">Cancel Talk</a>
 
            {% else %}
 
                <a href="{% url proposal_leave proposal.pk %}">Leave</a>
 
            {% endif %}
 
        {% else %}
 
            Cancelled
 
        {% endif %}
 
    </p>
 
    
 
    <div>
 
        {{ proposal.description }}
 
    </div>
 
    
 
    <p><b>Type</b>: {{ proposal.kind.name }}</p>
 
    
 
    <div>
 
        {{ proposal.abstract|safe }}
 
    </div>
 
    
 
    <p><b>Audience level</b>: {{ proposal.get_audience_level_display }}</p>
 
    
 
    <p><b>Submitting speaker</b>: {{ proposal.speaker }}</p>
 
    
 
    {% if proposal.additional_speakers.all %}
 
        <p><b>Additional speakers</b>:</p>
 
        <ul>
 
        {% for speaker in proposal.additional_speakers.all %}
 
            {% if speaker.user %}
 
                <li><b>{{ speaker.name }}</b> &mdash; {{ speaker.email }}</li>
 
            {% else %}
 
                <li>{{ speaker.email }} &mdash; pending invitation</li>
 
            {% endif %}
 
        {% endfor %}
 
        </ul>
 
    {% endif %}
 
    
 
    {% if request.user == proposal.speaker.user %}
 
        <p><b>Additional Notes:</b></p>
 
    
 
        <p>{{ proposal.additional_notes }}</p>
 
    {% endif %}
 
    
 
    {% if request.user == proposal.speaker.user %}
 
        <h2>Supporting Documents</h2>
 
        
 
        {% if proposal.supporting_documents.exists %}
 
            <table class="table table-striped">
 
                {% for document in proposal.supporting_documents.all %}
 
                    <tr>
 
                        <td><a href="{{ document.download_url }}">{{ document.description }}</a></td>
 
                        <td>
 
                        <form style="margin: 0;" method="post" action="{% url proposal_document_delete document.pk %}">
 
                            {% csrf_token %}
 
                            <button type="submit" class="btn btn-mini">delete</button>
 
                        </form>
 
                    </td>
 
                    </tr>
 
                {% endfor %}
 
            </table>
 
        {% else %}
 
            <p>No supporting documents attached to this proposal.</p>
 
        {% endif %}
 
        <a class="btn btn-small" href="{% url proposal_document_create proposal.pk %}"><i class="icon-plus"></i> add document</a>
 
    {% endif %}
 
{% endblock %}
symposion_project/templates/proposals/proposal_edit.html
Show inline comments
 
new file 100644
 
{% extends "site_base.html" %}
 

	
 
{% load bootstrap_tags %}
 
{% load markitup_tags %}
 

	
 
{% block head_title %}Editing {{ proposal.title }}{% endblock %}
 

	
 
{% block body %}
 
    <h1>Edit: {{ proposal.title }}</h1>
 
    
 
    <p><a href="{% url proposal_speaker_manage proposal.pk %}">Manage speakers</a></p>
 
    
 
    <form method="POST" action="" enctype="multipart/form-data">
 
        {% csrf_token %}
 
        <fieldset>
 
            {{ form|as_bootstrap }}
 
        </fieldset>
 
        <div class="form-actions">
 
            <input class="btn btn-primary" type="submit" value="Save" />
 
            <a class="btn" href="{% url proposal_detail proposal.pk %}">Cancel</a>
 
        </div>
 
    </form>
 
{% endblock %}
symposion_project/templates/proposals/proposal_speaker_manage.html
Show inline comments
 
new file 100644
 
{% extends "site_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">
 
            <input type="submit" value="Add speaker" class="btn btn-primary" />
 
        </div>
 
    </form>
 
{% endblock %}
 

	
 
{% block extra_body %}
 
    <script type="text/javascript">
 
    $(function() {
 
        $("#id_email").focus();
 
    });
 
    </script>
 
{% endblock %}
...
 
\ No newline at end of file
symposion_project/templates/proposals/proposal_submit.html
Show inline comments
 
new file 100644
 
{% extends "auth_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
 
new file 100644
 
{% extends "auth_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>
 
    </form>
 
{% endblock %}
0 comments (0 inline, 0 general)