Browse Source
This will need updating. I copied over a quick-list section from another template. I'm off home after this commit (got one more commit to enter after this). Thought I would get something in before I left, though.stable
Craig Oates
2 years ago
1 changed files with 58 additions and 8 deletions
@ -1,14 +1,64 @@
|
||||
{% extends "layouts/default.html" %} |
||||
{% block title %}{{db-data.title}}{% endblock %} |
||||
{% block content %} |
||||
|
||||
{% if roles.logged-in %} |
||||
<div class="be-main"> |
||||
<div class="be-quicklist"> |
||||
<a class="be-gui-link" |
||||
title="Click to view your Dashboard" |
||||
href="/dashboard"> |
||||
<img alt="Dashboard" |
||||
src="/images/icons/dashboard.png"> |
||||
View Dashboard |
||||
</a> |
||||
<a class="be-gui-link" |
||||
title="Click to view '{{db-data.title}}'" |
||||
href="/view/archive/{{db-data.slug}}"> |
||||
<img alt="New Archive Entry" |
||||
src="/images/icons/view-entry.png"> |
||||
View Entry |
||||
</a> |
||||
<a class="be-gui-link" |
||||
title="Click to add a new archive entry" |
||||
href="/create/archive-entry"> |
||||
<img alt="New Archive Entry" |
||||
src="/images/icons/add-circle.png"> |
||||
Create Entry |
||||
</a> |
||||
<a class="be-gui-link" |
||||
title="Click to view all archive entries stored on the system" |
||||
href="/user/archive"> |
||||
<img alt="Archive Index" |
||||
src="/images/icons/index.png"> |
||||
Archive Index |
||||
</a> |
||||
<a class="be-gui-link" |
||||
title="Click to view files in Storage" |
||||
href="/storage/manage"> |
||||
<img alt="Storage Index" |
||||
src="/images/icons/index.png"> |
||||
Storage Index |
||||
</a> |
||||
<a class="be-gui-link" |
||||
title="Click to view your Pages Index" |
||||
href="/user/pages"> |
||||
<img alt="Pages Index" |
||||
src="/images/icons/index.png"> |
||||
Pages Index |
||||
</a> |
||||
</div> |
||||
</div> |
||||
{% endif %} |
||||
|
||||
<article class="fe-article"> |
||||
<div class="fe-article-body"> |
||||
<h1>{{db-data.title}}</h1> |
||||
<p class="fe-hint"> |
||||
Published: {{db-data.month}} {{db-data.year}} |
||||
</p> |
||||
<p class="fe-hint">Keywords: {{ db-data.keywords | replace:, | with:" • " }}</p> |
||||
{{data | safe}} |
||||
</div> |
||||
<div class="fe-article-body"> |
||||
<h1>{{db-data.title}}</h1> |
||||
<p class="fe-hint"> |
||||
Published: {{db-data.month}} {{db-data.year}} |
||||
</p> |
||||
<p class="fe-hint">Keywords: {{ db-data.keywords | replace:, | with:" • " }}</p> |
||||
{{data | safe}} |
||||
</div> |
||||
</article> |
||||
{% endblock %} |
||||
|
Loading…
Reference in new issue