MaketRandevu/application/views/pages/update.php

74 lines
2.7 KiB
PHP
Raw Normal View History

<!doctype html>
<html lang="en">
2017-11-16 00:51:46 +03:00
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
2023-12-22 23:44:48 +03:00
<title>Update | <?= branding("software", "name") ?></title>
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/themes/default.min.css') ?>">
2017-11-16 00:51:46 +03:00
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
2023-02-07 09:43:14 +03:00
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/gen2eral.css') ?>">
2022-01-18 14:56:54 +03:00
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/pages/update.css') ?>">
2017-11-16 00:51:46 +03:00
</head>
<body>
2020-12-02 22:58:32 +03:00
<header>
<div class="container">
2023-12-22 23:44:48 +03:00
<h1 class="page-title"><?= branding("software", "name") ?> Update</h1>
2017-11-16 00:51:46 +03:00
</div>
2020-12-02 22:58:32 +03:00
</header>
2017-11-16 00:51:46 +03:00
2020-12-02 22:58:32 +03:00
<div class="container">
<div class="row">
<div class="col">
<?php if (vars('success')): ?>
2020-12-02 22:58:32 +03:00
<div class="jumbotron">
<h1 class="display-4">Success!</h1>
<p class="lead">
The database got updated successfully.
</p>
<hr class="my-4">
<p>
2023-12-22 23:44:48 +03:00
You can now use the latest <?= branding("software", "name") ?> version.
2020-12-02 22:58:32 +03:00
</p>
<a href="<?= site_url('about') ?>" class="btn btn-success btn-large">
2021-11-23 10:41:37 +03:00
<i class="fas fa-wrench me-2"></i>
2020-12-02 22:58:32 +03:00
<?= 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>
2022-01-18 13:46:22 +03:00
<a href="<?= site_url('login') ?>" class="btn btn-success btn-large">
2021-11-23 10:41:37 +03:00
<i class="fas fa-wrench me-2"></i>
2020-12-02 22:58:32 +03:00
<?= lang('backend_section') ?>
</a>
2017-11-16 00:51:46 +03:00
2020-12-02 22:58:32 +03:00
<p>
Please restore your database backup.
</p>
</div>
2017-11-16 00:51:46 +03:00
2021-11-23 10:43:40 +03:00
<div class="well text-start">
Error Message: <?= vars('exception') ?>
2020-12-02 22:58:32 +03:00
</div>
<?php endif; ?>
</div>
2017-11-16 00:51:46 +03:00
</div>
2020-12-02 22:58:32 +03:00
</div>
<footer>
2023-12-22 23:44:48 +03:00
<?= lang("powered_by") ?>
2020-12-02 22:58:32 +03:00
</footer>
2017-11-16 00:51:46 +03:00
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/vendor/@fortawesome-fontawesome-free/solid.min.js') ?>"></script>
2017-11-16 00:51:46 +03:00
</body>
</html>