61ae73a9e5
First pass for CSS refactor for the dashboard, including the login and index templates. Still rough but the basic structure is in place for both as well as the re-worked css that will be added to the repo later once all the pages have been updated. Lots to do still but a good start.
44 lines
898 B
Twig
44 lines
898 B
Twig
{% if page.menu == 'true' %}
|
|
{% set menu = "true" %}
|
|
{% else %}
|
|
{% set menu = "false" %}
|
|
{% endif %}
|
|
{% if page.published == 'true' %}
|
|
{% set published = "true" %}
|
|
{% else %}
|
|
{% set published = "false" %}
|
|
{% endif %}
|
|
{% if page.featured == 'true' %}
|
|
{% set featured = "true" %}
|
|
{% else %}
|
|
{% set featured = "false" %}
|
|
{% endif %}
|
|
|
|
<aside>
|
|
<strong>
|
|
{{ page.updated }}
|
|
</strong>
|
|
<hr/>
|
|
<strong>
|
|
{{ page.title }}
|
|
</strong>
|
|
<hr/>
|
|
<button data-active="{{ menu }}">
|
|
<svg role="icon">
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-add-to-list"/>
|
|
</svg>
|
|
</button>
|
|
<button data-active="{{ published }}">
|
|
<svg role="icon">
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-globe"/>
|
|
</svg>
|
|
</button>
|
|
|
|
<button data-active="{{ featured }}">
|
|
<svg role="icon">
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-star"/>
|
|
</svg>
|
|
</button>
|
|
|
|
</aside>
|