annotate gpp/templates/downloads/add.html @ 32:07da6967fc40

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