Mercurial > public > sg101
annotate gpp/templates/downloads/add.html @ 368:b76af55aafe4
For #176; cache the output of the latest poll block template tag.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 05 Mar 2011 21:00:00 +0000 |
parents | 88b2b9cb8c1f |
children |
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 }} |
bgneal@312 | 7 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/downloads.css" /> |
gremmie@1 | 8 {% endblock %} |
gremmie@1 | 9 {% block content %} |
gremmie@1 | 10 <h2>Downloads</h2> |
bgneal@241 | 11 {% include 'downloads/navigation.html' %} |
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 |
bgneal@194 | 33 <form action="." method="post" enctype="multipart/form-data" id="downloads-add">{% csrf_token %} |
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> </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 %} |