2020-09-05 23:46:27 +00:00
|
|
|
<div class="app-sidebar sidebar-shadow">
|
|
|
|
<div class="app-header__logo">
|
|
|
|
<div class="logo-src"></div>
|
2023-03-25 12:33:27 +00:00
|
|
|
<div class="header__pane ms-auto">
|
2020-09-05 23:46:27 +00:00
|
|
|
<div>
|
|
|
|
<button type="button" class="hamburger close-sidebar-btn hamburger--elastic" data-class="closed-sidebar">
|
|
|
|
<span class="hamburger-box">
|
|
|
|
<span class="hamburger-inner"></span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="app-header__mobile-menu">
|
|
|
|
<div>
|
|
|
|
<button type="button" class="hamburger hamburger--elastic mobile-toggle-nav">
|
|
|
|
<span class="hamburger-box">
|
|
|
|
<span class="hamburger-inner"></span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="app-header__menu">
|
|
|
|
<span>
|
|
|
|
<button type="button" class="btn-icon btn-icon-only btn btn-primary btn-sm mobile-toggle-header-nav">
|
|
|
|
<span class="btn-icon-wrapper">
|
|
|
|
<i class="fas fa-ellipsis-v fa-w-6"></i>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2023-03-25 12:33:27 +00:00
|
|
|
<div class="scrollbar-sidebar">
|
2020-09-05 23:46:27 +00:00
|
|
|
<div class="app-sidebar__inner">
|
|
|
|
<ul class="vertical-nav-menu">
|
2020-09-20 13:29:22 +00:00
|
|
|
<li class="app-sidebar__heading">{{ $server ?? __('Server Name') }}</li>
|
2020-09-18 14:08:00 +00:00
|
|
|
<li>
|
2023-03-25 12:33:27 +00:00
|
|
|
<div class="font-icon-wrapper float-start me-1 server-icon">
|
2023-02-16 09:08:56 +00:00
|
|
|
<a class="p-0 m-0" href="{{ LaravelLocalization::localizeUrl('info') }}" onclick="return false;" style="display: contents;"><i class="fas fa-fw fa-info"></i></a>
|
2020-09-19 10:21:02 +00:00
|
|
|
</div>
|
2023-03-25 12:33:27 +00:00
|
|
|
<div class="font-icon-wrapper float-start ms-1 me-1 server-icon">
|
2023-02-16 09:08:56 +00:00
|
|
|
<a class="p-0 m-0" href="{{ LaravelLocalization::localizeUrl('schema') }}" onclick="return false;" style="display: contents;"><i class="fas fa-fw fa-fingerprint"></i></a>
|
2020-09-18 14:08:00 +00:00
|
|
|
</div>
|
2023-01-27 08:59:31 +00:00
|
|
|
@env(['local'])
|
2023-03-25 12:33:27 +00:00
|
|
|
<div class="font-icon-wrapper float-end ms-1 server-icon">
|
2023-02-16 09:08:56 +00:00
|
|
|
<a class="p-0 m-0" href="{{ LaravelLocalization::localizeUrl('debug') }}" onclick="return false;" style="display: contents;"><i class="fas fa-fw fa-toolbox"></i></a>
|
2023-01-27 08:59:31 +00:00
|
|
|
</div>
|
|
|
|
@endenv
|
2020-09-18 14:08:00 +00:00
|
|
|
<div class="clearfix"></div>
|
|
|
|
</li>
|
2020-09-05 23:46:27 +00:00
|
|
|
<li>
|
|
|
|
<i id="treeicon" class="metismenu-icon fa-fw fas fa-sitemap"></i>
|
2020-09-23 12:14:38 +00:00
|
|
|
<span class="f16" id="tree"></span>
|
2020-09-05 23:46:27 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-18 14:08:00 +00:00
|
|
|
|
|
|
|
@section('page-scripts')
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
$('.server-icon').click(function(e) {
|
|
|
|
var content;
|
|
|
|
|
|
|
|
$.ajax({
|
2020-09-19 10:21:02 +00:00
|
|
|
url: $(this).children('a:first-child').attr('href'),
|
2020-09-18 14:08:00 +00:00
|
|
|
method: 'GET',
|
|
|
|
dataType: 'html',
|
|
|
|
statusCode: {
|
|
|
|
404: function() {
|
|
|
|
$('.main-content').empty().append(content);
|
|
|
|
}
|
|
|
|
},
|
|
|
|
beforeSend: function() {
|
|
|
|
content = $('.main-content').contents();
|
|
|
|
$('.main-content').empty().append('<div class="fa-3x"><i class="fas fa-spinner fa-pulse"></i></div>');
|
|
|
|
}
|
|
|
|
|
|
|
|
}).done(function(html) {
|
|
|
|
$('.main-content').empty().append(html);
|
|
|
|
|
|
|
|
}).fail(function() {
|
2023-03-01 22:56:09 +00:00
|
|
|
alert('Well that didnt work?');
|
2020-09-18 14:08:00 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
e.stopPropagation();
|
|
|
|
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@append
|