forked from projects/fipamo
ro
8c727d4414
using a font for icons isn't great for site accessibility, so all font icons will be removed and replaced with svgs. nav and sub nav, page options and recent meta have been replaced
53 lines
1.1 KiB
PHP
53 lines
1.1 KiB
PHP
@php
|
|
|
|
if($page['menu'] == 'true')
|
|
{
|
|
$menu = 'true';
|
|
}else{
|
|
$menu = 'false';
|
|
}
|
|
|
|
if($page['published'] == 'true')
|
|
{
|
|
$published = 'true';
|
|
}else{
|
|
$published = 'false';
|
|
}
|
|
|
|
if($page['featured'] == 'true')
|
|
{
|
|
$featured = 'true';
|
|
}else{
|
|
$featured = 'false';
|
|
}
|
|
|
|
@endphp
|
|
|
|
<aside>
|
|
<strong>
|
|
{{ $page['updated'] }}
|
|
</strong>
|
|
<hr/>
|
|
<strong>
|
|
{{ $page['title'] }}
|
|
</strong>
|
|
<hr/>
|
|
<button data-active="{{ $menu }}">
|
|
<svg id="option-menu-pin" role="icon">
|
|
<use id="option-menu-pin" xlink:href="/assets/images/global/sprite.svg#entypo-pin"/>
|
|
</svg>
|
|
</button>
|
|
<button data-active="{{ $published }}">
|
|
<svg id="option-published-icon" role="icon">
|
|
<use id="option-published-icon" xlink:href="/assets/images/global/sprite.svg#entypo-globe"/>
|
|
</svg>
|
|
</button>
|
|
|
|
<button data-active="{{ $featured }}">
|
|
<svg id="option-feature-icon" role="icon">
|
|
<use id="option-feature-icon" xlink:href="/assets/images/global/sprite.svg#entypo-star"/>
|
|
</svg>
|
|
</button>
|
|
|
|
</aside>
|