forked from projects/fipamo
07b422a9c3
This one is a doozy, so let's breakt it down into what areas where touched. - updated package json to remove unneeded dependencies. - rebuilt file uploading to simply a very convuluted process - began proces to replace icons with https://tabler-icons.io - began process of removing the need for css preprocessor and using pure css - login completed - dashboard index completed - page edit ui completed - page edit ui text editor tweaked so syntax highlighting is cleaner and more accurate The settings and navigation UIs still remain and then polishing the responsive for the new css structure
41 lines
1.5 KiB
Twig
41 lines
1.5 KiB
Twig
{% if page['menu'] %}
|
|
{% set menu = 'true' %}
|
|
{% else %}
|
|
{% set menu = 'false' %}
|
|
{% endif %}
|
|
|
|
{% if page['featured'] %}
|
|
{% set featured = 'true' %}
|
|
{% else %}
|
|
{% set featured = 'false' %}
|
|
{% endif %}
|
|
|
|
{% if page['published'] %}
|
|
{% set published = 'true' %}
|
|
{% else %}
|
|
{% set published = 'false' %}
|
|
{% endif %}
|
|
<br>
|
|
<button id="option-menu-pin" class="option-inactive post-option-btn" data-active="{{ menu }}" title='Pin to Menu'>
|
|
<svg id="option-page-icon" role="icon">
|
|
<use id="option-page-icon" xlink:href="/assets/images/global/sprite.svg#entypo-add-to-list"/>
|
|
</svg>
|
|
</button>
|
|
<button id="option-feature" class="option-inactive post-option-btn" data-active="{{ featured }}" title='Feature'>
|
|
<svg id="option-feature-icon" role="icon">
|
|
<use id="option-feature-icon" xlink:href="/assets/images/global/sprite.svg#entypo-star"/>
|
|
</svg>
|
|
</button>
|
|
<button id="option-published" class="option-inactive post-option-btn" data-active="{{ published }}" title='Published'>
|
|
<svg id="option-published-icon" role="icon">
|
|
<use id="option-published-icon" xlink:href="/assets/images/global/sprite.svg#entypo-globe"/>
|
|
</svg>
|
|
</button>
|
|
<a href="/dashboard/page/preview/{{ uuid }}" target="_blank">
|
|
<button id="option-preview" class="option-inactive post-option-btn" data-active="false" title='preview page'>
|
|
<svg id="option-preview-icon" role="icon">
|
|
<use id="option-preview-icon" xlink:href="/assets/images/global/sprite.svg#entypo-eye"/>
|
|
</svg>
|
|
</button>
|
|
</a>
|