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" %} |
{% extends "layouts/default.html" %} |
||||||
{% block title %}{{db-data.title}}{% endblock %} |
{% block title %}{{db-data.title}}{% endblock %} |
||||||
{% block content %} |
{% 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"> |
<article class="fe-article"> |
||||||
<div class="fe-article-body"> |
<div class="fe-article-body"> |
||||||
<h1>{{db-data.title}}</h1> |
<h1>{{db-data.title}}</h1> |
||||||
<p class="fe-hint"> |
<p class="fe-hint"> |
||||||
Published: {{db-data.month}} {{db-data.year}} |
Published: {{db-data.month}} {{db-data.year}} |
||||||
</p> |
</p> |
||||||
<p class="fe-hint">Keywords: {{ db-data.keywords | replace:, | with:" • " }}</p> |
<p class="fe-hint">Keywords: {{ db-data.keywords | replace:, | with:" • " }}</p> |
||||||
{{data | safe}} |
{{data | safe}} |
||||||
</div> |
</div> |
||||||
</article> |
</article> |
||||||
{% endblock %} |
{% endblock %} |
||||||
|
Loading…
Reference in new issue