Added index section to config page
This commit is contained in:
parent
3b08b5b6d9
commit
2d51879300
|
@ -224,7 +224,7 @@ function text($key){
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<h2 class="ch2">Application</h2>
|
<a name="Application"><h2 class="ch2">Application</h2></a>
|
||||||
|
|
||||||
|
|
||||||
{{-- start register --}}
|
{{-- start register --}}
|
||||||
|
@ -276,7 +276,7 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo '<opti
|
||||||
{{text('APP_NAME')}}
|
{{text('APP_NAME')}}
|
||||||
|
|
||||||
|
|
||||||
<h2 class="ch2">Panel settings</h2>
|
<a name="Panel-settings"><h2 class="ch2">Panel settings</h2></a>
|
||||||
|
|
||||||
{{toggle('NOTIFY_EVENTS')}}
|
{{toggle('NOTIFY_EVENTS')}}
|
||||||
|
|
||||||
|
@ -296,7 +296,7 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo '<opti
|
||||||
{{toggle('USE_THEME_PREVIEW_IFRAME')}}
|
{{toggle('USE_THEME_PREVIEW_IFRAME')}}
|
||||||
|
|
||||||
|
|
||||||
<h2 class="ch2">Security</h2>
|
<a name="Security"><h2 class="ch2">Security</h2></a>
|
||||||
|
|
||||||
|
|
||||||
{{toggle('ALLOW_USER_HTML')}}
|
{{toggle('ALLOW_USER_HTML')}}
|
||||||
|
@ -308,7 +308,7 @@ foreach($users as $user){if($user->littlelink_name != $configValue2){echo '<opti
|
||||||
{{toggle('ENABLE_THEME_UPDATER')}}
|
{{toggle('ENABLE_THEME_UPDATER')}}
|
||||||
|
|
||||||
|
|
||||||
<h2 class="ch2">Advanced</h2>
|
<a name="Advanced"><h2 class="ch2">Advanced</h2></a>
|
||||||
|
|
||||||
|
|
||||||
{{-- start MAINTENANCE_MODE --}}
|
{{-- start MAINTENANCE_MODE --}}
|
||||||
|
@ -347,7 +347,7 @@ document.getElementById("MAINTENANCE_MODE-form").addEventListener("change", func
|
||||||
|
|
||||||
|
|
||||||
{{-- start SMTP settings --}}
|
{{-- start SMTP settings --}}
|
||||||
<h2 class="ch2">SMTP</h2>
|
<a name="SMTP"><h2 class="ch2">SMTP</h2></a>
|
||||||
<form id="smtp-form" action="{{route('editConfig')}}" enctype="multipart/form-data" method="post">
|
<form id="smtp-form" action="{{route('editConfig')}}" enctype="multipart/form-data" method="post">
|
||||||
<div class="form-group col-lg-8">
|
<div class="form-group col-lg-8">
|
||||||
<input value="smtp" name="type" style="display:none;" type="text" required>
|
<input value="smtp" name="type" style="display:none;" type="text" required>
|
||||||
|
@ -379,7 +379,7 @@ document.getElementById("MAINTENANCE_MODE-form").addEventListener("change", func
|
||||||
|
|
||||||
|
|
||||||
{{-- start debug settings --}}
|
{{-- start debug settings --}}
|
||||||
<h2 class="ch2">Debug</h2>
|
<a name="Debug"><h2 class="ch2">Debug</h2></a>
|
||||||
<form id="debug-form" action="{{route('editConfig')}}" enctype="multipart/form-data" method="post">
|
<form id="debug-form" action="{{route('editConfig')}}" enctype="multipart/form-data" method="post">
|
||||||
<div class="form-group col-lg-8">
|
<div class="form-group col-lg-8">
|
||||||
<input value="debug" name="type" style="display:none;" type="text" required>
|
<input value="debug" name="type" style="display:none;" type="text" required>
|
||||||
|
|
|
@ -33,7 +33,8 @@
|
||||||
.option{
|
.option{
|
||||||
background-color: #343a40;
|
background-color: #343a40;
|
||||||
color: rgba(255, 255, 255, 0.8) !important;
|
color: rgba(255, 255, 255, 0.8) !important;
|
||||||
height: 100px;
|
min-height: 100px;
|
||||||
|
overflow: hidden;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
-webkit-transition-duration: 0.3s;
|
-webkit-transition-duration: 0.3s;
|
||||||
|
@ -59,6 +60,46 @@
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.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);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="option"><a href="?alternative-config">
|
<div class="option"><a href="?alternative-config">
|
||||||
|
@ -74,7 +115,19 @@
|
||||||
<div class="option"><a href="{{ url('panel/phpinfo') }}">
|
<div class="option"><a href="{{ url('panel/phpinfo') }}">
|
||||||
<div class="row"><i class="bi bi-filetype-php opt-img"></i><div>
|
<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>
|
<h3 class="">PHP info</h3><p class="text-muted opt-txt">Display debuggin infromation about your PHP setup</p>
|
||||||
</div></div></a></div><br>
|
</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>
|
||||||
|
|
||||||
@include('components.config.config')
|
@include('components.config.config')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue