forked from projects/fipamo
45 lines
1.2 KiB
Twig
45 lines
1.2 KiB
Twig
<label>
|
|
{{ page.title }}
|
|
</label>
|
|
<div id="options">
|
|
{% 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 %}
|
|
<div id="option-left">
|
|
|
|
<button data-active="{{ menu }}">
|
|
<svg>
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-add-to-list"/>
|
|
</svg>
|
|
</button>
|
|
<button data-active="{{ published }}">
|
|
<svg>
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-globe"/>
|
|
</svg>
|
|
</button>
|
|
|
|
<button data-active="{{ featured }}">
|
|
<svg>
|
|
<use xlink:href="/assets/images/global/sprite.svg#entypo-star"/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
<div id="option-right">
|
|
<span>
|
|
{{ page.updated }}
|
|
</span>
|
|
</div>
|
|
|
|
</div> |