forked from mirrors/easyappointments
74 lines
2.7 KiB
PHP
74 lines
2.7 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
|
|
<title>Update | <?= branding("software", "name") ?></title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
|
|
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/update.css') ?>">
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="container">
|
|
<h1 class="page-title"><?= branding("software", "name") ?> Update</h1>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col">
|
|
<?php if ($success): ?>
|
|
<div class="jumbotron">
|
|
<h1 class="display-4">Success!</h1>
|
|
<p class="lead">
|
|
The database got updated successfully.
|
|
</p>
|
|
<hr class="my-4">
|
|
<p>
|
|
You can now use the latest <?= branding("software", "name") ?> version.
|
|
</p>
|
|
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
|
|
<i class="fas fa-wrench mr-2"></i>
|
|
<?= lang('backend_section') ?>
|
|
</a>
|
|
</div>
|
|
<?php else: ?>
|
|
<div class="jumbotron">
|
|
<h1 class="display-4">Failure!</h1>
|
|
<p class="lead">
|
|
There was an error during the update process.
|
|
</p>
|
|
<hr class="my-4">
|
|
<p>
|
|
Please restore your database backup.
|
|
</p>
|
|
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
|
|
<i class="fas fa-wrench mr-2"></i>
|
|
<?= lang('backend_section') ?>
|
|
</a>
|
|
|
|
<p>
|
|
Please restore your database backup.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="well text-left">
|
|
Error Message: <?= $exception ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<?= lang("powered_by") ?>
|
|
</footer>
|
|
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
|
|
</body>
|
|
</html>
|