annotate gpp/templates/downloads/add.html @ 133:c515b7401078

Use the new common way to apply markItUp to textareas and to get the smiley and markdown help dialogs for all the remaining apps except for forums and comments.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2009 00:21:47 +0000
parents dbd703f7d63a
children 6a5549c2efb5
rev   line source
gremmie@1 1 {% extends 'base.html' %}
gremmie@1 2 {% load downloads_tags %}
bgneal@133 3 {% load core_tags %}
gremmie@1 4 {% block title %}Add Download{% endblock %}
gremmie@1 5 {% block custom_css %}
gremmie@1 6 {{ add_form.media }}
gremmie@1 7 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/downloads.css" />
gremmie@1 8 {% endblock %}
gremmie@1 9 {% block content %}
gremmie@1 10 <h2>Downloads</h2>
gremmie@1 11 {% downloads_navigation %}
gremmie@1 12 <h3>Add Download</h3>
gremmie@1 13
gremmie@1 14 <p>Use the following form to upload a file. Please note the following:</p>
gremmie@1 15 <ul>
gremmie@1 16 <li>Please submit an upload only once.</li>
gremmie@1 17 <li>All files are reviewed before being made available in the Downloads area.</li>
gremmie@1 18 <li>Only certain file types are allowed.</li>
gremmie@1 19 <li>Your username and IP address will be recorded, so please do not abuse the system.</li>
gremmie@1 20 </ul>
gremmie@1 21
gremmie@1 22 <h4>Terms of Use</h4>
gremmie@1 23
gremmie@1 24 <p>By uploading a file, you agree to the following terms:</p>
gremmie@1 25 <ol>
gremmie@1 26 <li>You are allowing SurfGuitar101 to host the file for an undetermined amount of time.</li>
gremmie@1 27 <li>This agreement will serve as your "Written" consent for SurfGuitar101 to host the file.</li>
gremmie@1 28 <li>The owners of SurfGuitar101 are absolved of any liability claims resulting from the use of or hosting of your file.</li>
gremmie@1 29 <li>You acknowledge you have permission to upload and distribute the file.</li>
gremmie@1 30 <li>The file may be removed at any time at the discretion of the staff of SurfGuitar101.</li>
gremmie@1 31 </ol>
gremmie@1 32
gremmie@1 33 <form action="." method="post" enctype="multipart/form-data" id="downloads-add">
gremmie@1 34 <fieldset>
gremmie@1 35 <legend>Upload Form</legend>
gremmie@1 36 <table>
gremmie@1 37 {{ add_form.as_table }}
gremmie@1 38 <tr>
gremmie@1 39 <th>&nbsp;</th>
gremmie@1 40 <td>
bgneal@133 41 {% comment_dialogs %}
gremmie@1 42 <input type="submit" name="submit_button" value="Add Download" />
gremmie@1 43 </td>
gremmie@1 44 </table>
gremmie@1 45 </fieldset>
gremmie@1 46 </form>
gremmie@1 47
gremmie@1 48 {% endblock %}