2024-03-05 22:49:30 +01:00
|
|
|
|
|
|
|
@php
|
|
|
|
|
2024-03-12 23:16:36 +01:00
|
|
|
if(isset($page['menu']) && $page['menu'])
|
2024-03-05 22:49:30 +01:00
|
|
|
{
|
|
|
|
$menu = 'true';
|
|
|
|
}else{
|
|
|
|
$menu = 'false';
|
|
|
|
}
|
|
|
|
|
2024-03-12 23:16:36 +01:00
|
|
|
if(isset($page['featured']) && $page['featured'])
|
2024-03-05 22:49:30 +01:00
|
|
|
{
|
|
|
|
$featured = 'true';
|
|
|
|
}else{
|
|
|
|
$featured = 'false';
|
|
|
|
}
|
|
|
|
|
2024-03-12 23:16:36 +01:00
|
|
|
if(isset($page['published']) && $page['published'])
|
2024-03-05 22:49:30 +01:00
|
|
|
{
|
|
|
|
$published = 'true';
|
|
|
|
}else{
|
|
|
|
$published = 'false';
|
|
|
|
}
|
|
|
|
|
2024-03-12 23:16:36 +01:00
|
|
|
if(isset($page['uuid']))
|
|
|
|
{
|
|
|
|
$uuid = $page['uuid'];
|
|
|
|
}else{
|
|
|
|
$uuid = 1;
|
|
|
|
}
|
|
|
|
|
2024-03-05 22:49:30 +01:00
|
|
|
@endphp
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<button id="option-menu-pin" class="option-inactive post-option-btn" data-active="{{ $menu }}" title='Pin to Menu'>
|
2024-03-25 19:59:24 +01:00
|
|
|
<svg id="option-menu-pin" class="icon">
|
2024-03-20 22:13:50 +01:00
|
|
|
<use id="option-menu-pin" xlink:href="/assets/images/global/sprite.svg#entypo-pin"/>
|
2024-03-05 22:49:30 +01:00
|
|
|
</svg>
|
2024-03-06 16:13:31 +01:00
|
|
|
</button><button id="option-feature" class="option-inactive post-option-btn" data-active="{{ $featured }}" title='Feature'>
|
2024-03-25 19:59:24 +01:00
|
|
|
<svg id="option-feature-icon" class="icon">
|
2024-03-05 22:49:30 +01:00
|
|
|
<use id="option-feature-icon" xlink:href="/assets/images/global/sprite.svg#entypo-star"/>
|
|
|
|
</svg>
|
2024-03-06 16:13:31 +01:00
|
|
|
</button><button id="option-published" class="option-inactive post-option-btn" data-active="{{ $published }}" title='Published'>
|
2024-03-25 19:59:24 +01:00
|
|
|
<svg id="option-published-icon" class="icon">
|
2024-03-05 22:49:30 +01:00
|
|
|
<use id="option-published-icon" xlink:href="/assets/images/global/sprite.svg#entypo-globe"/>
|
|
|
|
</svg>
|
2024-03-12 23:16:36 +01:00
|
|
|
</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'>
|
2024-03-25 19:59:24 +01:00
|
|
|
<svg id="option-preview-icon" class="icon">
|
2024-03-05 22:49:30 +01:00
|
|
|
<use id="option-preview-icon" xlink:href="/assets/images/global/sprite.svg#entypo-eye"/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</a>
|