Files
@ d0bbb39748cf
Branch filter:
Location: symposion_app/pinaxcon/templates/pinax/pages/file_list.html - annotation
d0bbb39748cf
907 B
text/html
A few more tweaks to app.css, removing stuff that makes things look less like the wooden site.
04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 | {% extends "site_base.html" %}
{% block head_title %}Uploaded Files{% endblock %}
{% block body_outer %}
<h1>Files</h1>
{% for file in files %}
<div style="margin-top: 1em;">
<form class="pull-right" action="{% url "file_delete" file.pk %}" method="post">
{% csrf_token %}
<button type="submit" class="btn btn-error"><i class="fa fa-trash"></i> delete</button>
</form>
<h3><a href="{{ file.download_url }}">{{ file.file }}</a></h3>
<span style="font-style:italic; color: #999;">Uploaded {{ file.created|date:"N j, Y" }}</span>
</div>
{% empty %}
<p>No uploaded files.</p>
{% endfor %}
<div style="margin-top: 2em">
<a class="btn btn-success" href="{% url "file_create" %}">
<i class="fa fa-plus"></i>
Add File
</a>
</div>
{% endblock %}
|