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'>
|
|
|
|
<svg id="option-page-icon" role="icon">
|
|
|
|
<use id="option-page-icon" xlink:href="/assets/images/global/sprite.svg#entypo-add-to-list"/>
|
|
|
|
</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-05 22:49:30 +01:00
|
|
|
<svg id="option-feature-icon" role="icon">
|
|
|
|
<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-05 22:49:30 +01:00
|
|
|
<svg id="option-published-icon" role="icon">
|
|
|
|
<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-05 22:49:30 +01:00
|
|
|
<svg id="option-preview-icon" role="icon">
|
|
|
|
<use id="option-preview-icon" xlink:href="/assets/images/global/sprite.svg#entypo-eye"/>
|
|
|
|
</svg>
|
|
|
|
</button>
|
|
|
|
</a>
|