mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +01:00
Update update.blade.php
This commit is contained in:
parent
634ecb5063
commit
be76c31f2d
@ -2,16 +2,18 @@
|
||||
|
||||
@Push('updater-body')
|
||||
|
||||
@if($_SERVER['QUERY_STRING'] === 'updating')
|
||||
@if($_SERVER['QUERY_STRING'] === 'updating' and (file_exists(base_path("backups/CANUPDATE"))))
|
||||
<?php //updating... ?>
|
||||
<div class="logo-container fadein">
|
||||
<img class="logo-img loading" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="Logo" style="">
|
||||
<div class="logo-centered">l</div>
|
||||
</div>
|
||||
<center><h1 class="loadingtxt">Updating</h1></center>
|
||||
@Push('updater-head')
|
||||
<meta http-equiv="refresh" content="2; URL={{url()->current()}}/?updating-done" />
|
||||
@endpush
|
||||
@endif
|
||||
|
||||
|
||||
@if($_SERVER['QUERY_STRING'] === 'backup')
|
||||
<?php //creating backup... ?>
|
||||
@Push('updater-head')
|
||||
@ -51,34 +53,17 @@ exit(); ?>
|
||||
@endif
|
||||
|
||||
|
||||
@if($_SERVER['QUERY_STRING'] === 'backup-created')
|
||||
@if($_SERVER['QUERY_STRING'] === 'success' and (file_exists(base_path("backups/CANUPDATE"))))
|
||||
<?php //download backup ?>
|
||||
<style>.logo-container{padding-top:23vh;}.logo-centered{top:37vh;}</style>
|
||||
<div class="logo-container fadein">
|
||||
<img class="logo-img" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="Logo" style="">
|
||||
<div class="logo-centered">l</div>
|
||||
</div>
|
||||
<center><h1>Download backup</h1>
|
||||
<h4 class="">You can keep the update stored on the server or download it as a precaution:</h4>
|
||||
<br><div class="row">
|
||||
 <button style=""><i class="fa-solid fa-play btn"></i><a class="btn" href="{{url()->current()}}/?updating"> Start anyway</a></button> 
|
||||
 <button style=""><i class="fa-solid fa-file-export btn"></i><a class="btn" href="{{url()->current()}}/?updating"> Start and download</a></button> 
|
||||
</div>
|
||||
</center>
|
||||
@endif
|
||||
|
||||
|
||||
@if($_SERVER['QUERY_STRING'] === 'success')
|
||||
<?php //download backup ?>
|
||||
<style>.logo-container{padding-top:23vh;}.logo-centered{top:37vh;}</style>
|
||||
<div class="logo-container fadein">
|
||||
<img class="logo-img" src="{{ asset('littlelink/images/just-gear.svg') }}" alt="Logo" style="">
|
||||
<div class="logo-centered">l</div>
|
||||
</div>
|
||||
<center><h1>Download backup</h1>
|
||||
<center><h1>Success!</h1>
|
||||
<h4 class="">The update was successful, you can now return to the Admin Panel:</h4>
|
||||
<br><div class="row">
|
||||
 <button style=""><i class="fa-solid fa-house-laptop btn"></i><a class="btn" href="{{url()->current()}}/"> Admin Panel</a></button> 
|
||||
 <button style=""><i class="fa-solid fa-house-laptop btn"></i><a class="btn" href="{{ route('studioIndex') }}"> Admin Panel</a></button> 
|
||||
</div>
|
||||
</center>
|
||||
@endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user