parent
1c6d4f19b9
commit
8d7c222edf
|
@ -17,7 +17,6 @@ Home Page, links, titles, Google Analytics and meta tags.</p>
|
|||
<form action="{{ route('editAC') }}" method="post">
|
||||
@csrf
|
||||
<div class="form-group col-lg-8">
|
||||
<br><a style="font-size:140%;" href="#bottom">🠟 Scroll to bottom 🠟</a><br>
|
||||
<label>Advanced Configuration file.</label>
|
||||
<pre><textarea class="form-control" name="AdvancedConfig" rows="280">{{ file_get_contents('config/advanced-config.php') }}</textarea></pre>
|
||||
</div>
|
||||
|
@ -35,10 +34,10 @@ Home Page, links, titles, Google Analytics and meta tags.</p>
|
|||
</form>
|
||||
@elseif(str_ends_with($_SERVER['REQUEST_URI'], 'env'))
|
||||
<h2 class="mb-4"><i class="bi bi-pencil-square"> ENV</i></h2>
|
||||
|
||||
<form action="{{ route('editENV') }}" method="post">
|
||||
@csrf
|
||||
<div class="form-group col-lg-8">
|
||||
<br><a style="font-size:140%;" href="#bottom">🠟 Scroll to bottom 🠟</a><br>
|
||||
<label>.env</label>
|
||||
<pre><textarea class="form-control" name="AdvancedConfig" rows="80">{{ file_get_contents('.env') }}</textarea></pre>
|
||||
</div>
|
||||
|
@ -46,7 +45,7 @@ Home Page, links, titles, Google Analytics and meta tags.</p>
|
|||
</form>
|
||||
@endif
|
||||
|
||||
<a name="bottom"></a>
|
||||
|
||||
|
||||
@endsection
|
||||
@endif
|
|
@ -44,7 +44,6 @@
|
|||
|
||||
<div class="tab-content" id="nav-tabContent">
|
||||
<div class="tab-pane fade show active p-3" id="current-env" role="tabpanel" aria-labelledby="nav-home-tab">
|
||||
<br><a style="font-size:140%;" href="#bottom">🠟 Scroll to bottom 🠟</a><br>
|
||||
<env-main-tab></env-main-tab>
|
||||
</div>
|
||||
<div class="tab-pane fade p-3" id="backup-env" role="tabpanel" aria-labelledby="nav-profile-tab">
|
||||
|
@ -55,7 +54,7 @@
|
|||
</div>
|
||||
<p style="color:#fff; font-weight:500; font-size:100%; position:relative; bottom:25px;">You can disable or enable registration <a href="{{ url('panel/pages') }}">here</a>.</p>
|
||||
</div>
|
||||
<a name="bottom"></a>
|
||||
|
||||
<env-keys-modal ref="keysModal"></env-keys-modal>
|
||||
</div>
|
||||
<p style="color:#fff; font-weight:500; font-size:160%;">Use the <a href="{{url()->current()}}/../panel/env">Alternative Config Editor ⤻</a></p>
|
||||
|
|
Loading…
Reference in New Issue