style index
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<table class=entriesall>
|
||||
<tr>
|
||||
<th>name
|
||||
<th>expires
|
||||
<th>upload
|
||||
</tr>
|
||||
{% for entry in entries %}
|
||||
<tr>
|
||||
<td><a href="{{ url_for('list_view',name=entry.name) }}">{{ entry.name }}</a>
|
||||
<td>{{ entry.expire|safe }}
|
||||
<td>{{ entry.upload|safe }}
|
||||
{% else %}
|
||||
<li>no shares
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<div id=index_title><h1>Flees</h1></div>
|
||||
<div class=clear></div>
|
||||
<table id=index_table>
|
||||
<tr>
|
||||
<th>Name
|
||||
<th class=td_right>Expires
|
||||
<th class=td_right>Upload
|
||||
</tr>
|
||||
{% for entry in entries %}
|
||||
<tr>
|
||||
<td><a href="{{ url_for('list_view',name=entry.name) }}">{{ entry.name }}</a>
|
||||
<td class=td_right>{% if entry.expire %}{{ entry.expire|safe }}{% else %}-{% endif %}
|
||||
<td class=td_right>{% if entry.upload %}yes{% else %}no{% endif %}
|
||||
{% else %}
|
||||
<li>no shares
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
{% endfor %}
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
<div id=footer><a href="http://bitbucket.org/MoonQ/flees">Flees</a></div>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user