Work on DN edit rendering
This commit is contained in:
@@ -14,33 +14,42 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@isset($page_actions)
|
||||
@if (isset($page_actions) || old())
|
||||
<div class="page-title-actions">
|
||||
{{--
|
||||
<button type="button" data-bs-toggle="tooltip" title="Example Tooltip" data-bs-placement="bottom" class="btn-shadow me-3 btn btn-dark">
|
||||
<i class="fas fa-star"></i>
|
||||
</button>
|
||||
--}}
|
||||
<div class="d-inline-block dropdown">
|
||||
<button type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn-shadow dropdown-toggle btn btn-info">
|
||||
<span class="btn-icon-wrapper pe-2 opacity-7">
|
||||
<i class="fas fa-business-time fa-w-20"></i>
|
||||
</span>
|
||||
Item Menu
|
||||
</button>
|
||||
<div class="page-title-actions">
|
||||
<div class="d-inline-block dropdown">
|
||||
<button type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle btn btn-primary">
|
||||
<span class="btn-icon-wrapper pe-2 opacity-7">
|
||||
<i class="fa fa-business-time fa-w-20"></i>
|
||||
</span>
|
||||
@lang('Entry Options')
|
||||
</button>
|
||||
|
||||
<div tabindex="-1" role="menu" aria-hidden="true" class="dropdown-menu dropdown-menu-right">
|
||||
<ul class="nav flex-column">
|
||||
{{--
|
||||
<li class="nav-item">
|
||||
<a href="javascript:void(0);" class="nav-link">
|
||||
<i class="nav-link-icon lnr-inbox"></i>
|
||||
<span>Inbox</span>
|
||||
<div class="ms-auto badge rounded-pill bg-secondary">86</div>
|
||||
</a>
|
||||
</li>
|
||||
--}}
|
||||
</ul>
|
||||
<div tabindex="-1" role="menu" aria-hidden="true" class="dropdown-menu dropdown-menu-right">
|
||||
<ul class="nav flex-column">
|
||||
@if ((isset($page_actions) && $page_actions->search('edit') !== FALSE) || old())
|
||||
<li class="nav-item">
|
||||
<span class="nav-link pt-0 pb-1">
|
||||
<button id="entry-edit" class="p-2 m-0 border-0 btn-transition btn btn-outline-dark w-100 text-start">
|
||||
<i class="fas fa-fw fa-edit me-2"></i>
|
||||
@lang('Edit')
|
||||
</button>
|
||||
</span>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (isset($page_actions) && $page_actions->search('copy') !== FALSE)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link pt-0 pb-1">
|
||||
<button class="p-2 m-0 border-0 btn-transition btn btn-outline-dark w-100 text-start">
|
||||
<i class="fas fa-fw fa-truck-moving me-2"></i>
|
||||
@lang('Copy or Move')
|
||||
</button>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -57,7 +57,7 @@
|
||||
</div>
|
||||
|
||||
@section('page-scripts')
|
||||
<script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('.server-icon').click(function(e) {
|
||||
var content;
|
||||
|
Reference in New Issue
Block a user