Restyle most recent list: add grid
This commit is contained in:
parent
64f8b98acd
commit
cb87ec347d
4 changed files with 19 additions and 7 deletions
|
|
@ -5,13 +5,15 @@
|
|||
{% block content %}
|
||||
<h1>{{ T('welcome').format(app_name) }}</h1>
|
||||
|
||||
<div class="nl-new">
|
||||
<a href="/create/"><button class="submit-primary">{{ T('new-note') }}</button></a>
|
||||
<a href="/upload/"><button class="submit-secondary">{{ T('upload-file') }}</button></a>
|
||||
</div>
|
||||
|
||||
<h2>{{ T('latest-notes') }}</h2>
|
||||
|
||||
<br style="clear:both">
|
||||
<ul class="nl-list">
|
||||
<li class="nl-new">
|
||||
<a href="/create/"><button class="submit-primary">{{ T('new-note') }}</button></a>
|
||||
<a href="/upload/"><button class="submit-secondary">{{ T('upload-file') }}</button></a>
|
||||
</li>
|
||||
{% for n in new_notes %}
|
||||
<li>
|
||||
<a href="{{ n.get_url() }}" class="nl-title">{{ n.title }}</a>
|
||||
|
|
@ -26,7 +28,7 @@
|
|||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><a href="/p/most_recent/">Show all</a></li>
|
||||
<li><a href="/p/most_recent/">{{ T('show-all') }}</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>{{ T('latest-uploads') }}</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue