2022-11-17 15:07:06 +01:00
|
|
|
@extends('layouts.sidebar')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
@if($_SERVER['QUERY_STRING'] == '')
|
|
|
|
|
|
|
|
<style>.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs > li.active > a,.nav-tabs > li.active > a:hover,.nav-tabs > li.active > a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav>li>a{position:relative;display:block;padding:10px 15px!important}.nav-tabs > li > a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd!important;border-bottom-color:transparent}.nav-tabs > li > a:hover{border-color:#eee #eee #ddd}.nav-tabs > li > a:focus{outline:none}.tab-content > .tab-pane{display:none}.tab-content > .active{display:block}ul{padding:0}ul.nav{list-style:none;margin:0;padding:0}ul.nav > li{float:left}ul.nav > li > a{display:block;padding:3px 10px;text-decoration:none}ul.nav > li.active > a,ul.nav > li > a:hover{background-color:#eee}.tab-content{border-top:none;padding:10px}.tab-content > .tab-pane{padding:5px}</style>
|
|
|
|
|
|
|
|
<div><h2>Tabs</h2></div>
|
|
|
|
|
|
|
|
<div id="exTab2" class="">
|
|
|
|
<ul id="myTab" class="nav nav-tabs">
|
|
|
|
<li class="active">
|
|
|
|
<a href="#1" data-toggle="tab">Config</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="#2" data-toggle="tab">Advanced Config</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="#3" data-toggle="tab">Take Backup</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="#4" data-toggle="tab">All Backups</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="#5" data-toggle="tab">Diagnosis</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="tab-content ">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-pane active" id="1">
|
|
|
|
<section class="shadow text-gray-400">
|
|
|
|
<h2 class="mb-4 card-header"><i class="bi bi-link-45deg"> Config</i></h2>
|
|
|
|
<div class="card-body p-0 p-md-3">
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.option{
|
|
|
|
background-color: #343a40;
|
|
|
|
color: rgba(255, 255, 255, 0.8) !important;
|
2022-11-20 21:30:48 +01:00
|
|
|
min-height: 100px;
|
|
|
|
overflow: hidden;
|
2022-11-17 15:07:06 +01:00
|
|
|
padding: 20px;
|
|
|
|
border-radius: 5px;
|
2022-11-17 17:27:19 +01:00
|
|
|
-webkit-transition-duration: 0.3s;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
}
|
2022-11-17 17:41:21 +01:00
|
|
|
.option h3{
|
|
|
|
color:white!important;
|
|
|
|
}
|
2022-11-17 17:27:19 +01:00
|
|
|
.option:hover, .option:focus, .option:active {
|
2022-11-17 17:41:21 +01:00
|
|
|
-webkit-transform: scale(1.005);
|
|
|
|
transform: scale(1.005);
|
2022-11-17 17:27:19 +01:00
|
|
|
box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
|
2022-11-17 15:07:06 +01:00
|
|
|
}
|
|
|
|
.opt-img{
|
|
|
|
font-size: 4rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: flex;
|
|
|
|
padding-right: 20px;
|
|
|
|
padding-left: 10px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
.opt-txt{
|
|
|
|
bottom: 10px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-11-20 21:30:48 +01:00
|
|
|
|
|
|
|
.legend{
|
|
|
|
background-color: #343a40;
|
|
|
|
color: rgba(255, 255, 255, 0.8) !important;
|
|
|
|
min-height: 65px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 10px 10px;
|
|
|
|
padding-left: 30px;
|
|
|
|
padding-right: 30px;
|
|
|
|
border-radius: 5px;
|
|
|
|
-webkit-transition-duration: 0.3s;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
}
|
|
|
|
.legend h3{
|
|
|
|
color:white!important;
|
|
|
|
}
|
|
|
|
.legend:hover, .legend:focus, .legend:active {
|
|
|
|
box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
.legendl {
|
|
|
|
padding: 10px;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
min-width: 120px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background-color: #31363b;
|
|
|
|
border-radius: 5px;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
-webkit-transition-duration: 0.3s;
|
|
|
|
transition-duration: 0.3s;
|
|
|
|
color: white;
|
|
|
|
box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
.legendl:hover, .legendl:focus, .legendl:active {
|
|
|
|
-webkit-transform: scale(1.1);
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
2022-11-17 15:07:06 +01:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="option"><a href="?alternative-config">
|
|
|
|
<div class="row"><i class="bi bi-pencil-square opt-img"></i><div>
|
|
|
|
<h3 class="">Alternative Config Editor</h3><p class="text-muted opt-txt">Use the Alternative Config Editor to edit the config directly</p>
|
|
|
|
</div></div></a></div><br>
|
|
|
|
|
|
|
|
<div class="option"><a href="{{ url('env-editor') }}">
|
|
|
|
<div class="row"><i class="bi bi-gear-fill opt-img"></i><div>
|
|
|
|
<h3 class="">Config Manager</h3><p class="text-muted opt-txt">Manage, download, upload, backup and restore your config</p>
|
|
|
|
</div></div></a></div><br>
|
|
|
|
|
|
|
|
<div class="option"><a href="{{ url('panel/phpinfo') }}">
|
|
|
|
<div class="row"><i class="bi bi-filetype-php opt-img"></i><div>
|
|
|
|
<h3 class="">PHP info</h3><p class="text-muted opt-txt">Display debuggin infromation about your PHP setup</p>
|
2022-11-20 21:30:48 +01:00
|
|
|
</div></div></a></div><br><br>
|
|
|
|
|
|
|
|
<h3>Jump directly to:</h3>
|
|
|
|
<div class="legend">
|
|
|
|
<div class="row">
|
|
|
|
<a href="#Application"><div class="legendl">Application</div></a>
|
|
|
|
<a href="#Panel-settings"><div class="legendl">Panel settings</div></a>
|
|
|
|
<a href="#Security"><div class="legendl">Security</div></a>
|
|
|
|
<a href="#Advanced"><div class="legendl">Advanced</div></a>
|
|
|
|
<a href="#SMTP"><div class="legendl">SMTP</div></a>
|
|
|
|
<a href="#Debug"><div class="legendl">Debug</div></a>
|
|
|
|
<div>
|
|
|
|
</div></div></div>
|
2022-11-17 15:07:06 +01:00
|
|
|
|
|
|
|
@include('components.config.config')
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-pane" id="2">
|
|
|
|
<section class="shadow text-gray-400">
|
|
|
|
<h2 class="mb-4 card-header"><i class="bi bi-pencil-square"> Advanced config</i></h2>
|
|
|
|
<div class="card-body p-0 p-md-3">
|
|
|
|
@include('components.config.advanced-config')
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-pane" id="3">
|
|
|
|
<section class="shadow text-gray-400">
|
|
|
|
<h2 class="mb-4 card-header"><i class="bi bi-link-45deg"> Backup</i></h2>
|
|
|
|
<div class="card-body p-0 p-md-3">
|
|
|
|
@include('components.config.backup')
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-pane" id="4">
|
|
|
|
<section class="shadow text-gray-400">
|
|
|
|
<h2 class="mb-4 card-header"><i class="bi bi-link-45deg"> Backups</i></h2>
|
|
|
|
<div class="card-body p-0 p-md-3">
|
|
|
|
@include('components.config.backups')
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="tab-pane" id="5">
|
|
|
|
<section class="shadow text-gray-400">
|
|
|
|
<h2 class="mb-4 card-header"><i class="bi bi-braces-asterisk"> Debugging information</i></h2>
|
|
|
|
<div class="card-body p-0 p-md-3">
|
|
|
|
@include('components.config.diagnose')
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@elseif($_SERVER['QUERY_STRING'] == 'alternative-config')
|
|
|
|
@include('components.config.alternative-config')
|
2022-11-17 18:01:59 +01:00
|
|
|
@include('components.config.back-button')
|
2022-11-17 15:07:06 +01:00
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
@push("sidebar-scripts")
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
|
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
|
|
|
<script>
|
|
|
|
$('#myTab a').click(function(e) {
|
|
|
|
e.preventDefault();
|
|
|
|
$(this).tab('show');
|
|
|
|
});
|
|
|
|
|
|
|
|
// store the currently selected tab in the hash value
|
|
|
|
$("ul.nav-tabs > li > a").on("shown.bs.tab", function(e) {
|
|
|
|
var id = $(e.target).attr("href").substr(1);
|
|
|
|
window.location.hash = id;
|
|
|
|
});
|
|
|
|
|
|
|
|
// on load of the page: switch to the currently selected tab
|
|
|
|
var hash = window.location.hash;
|
|
|
|
$('#myTab a[href="' + hash + '"]').tab('show');
|
|
|
|
</script>
|
|
|
|
@endpush
|
|
|
|
|
|
|
|
@endsection
|