easyappointments/application/views/general/update.php

60 lines
1.9 KiB
PHP
Raw Normal View History

2017-11-16 00:51:46 +03:00
<!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">
<title>Update | Easy!Appointments</title>
2017-11-16 00:51:46 +03:00
<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') ?>">
2017-11-16 00:51:46 +03:00
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
</head>
<body>
<div class="container-fluid header">
<div>
<a href="https://easyappointments.org" target="_blank">
2017-11-16 00:51:46 +03:00
<img src="<?= base_url('assets/img/installation-banner.png') ?>"
alt="Easy!Appointments Installation Banner">
</a>
</div>
</div>
<div class="container content">
<?php if ($success): ?>
<h4>
2017-11-16 00:51:46 +03:00
The database was updated successfully!
</h4>
2017-11-16 00:51:46 +03:00
<p>
2017-11-16 00:51:46 +03:00
You can now use the latest Easy!Appointments version.
</p>
2017-11-16 00:51:46 +03:00
<?php else: ?>
<h4>
There was an error during the update process ...
</h4>
2017-11-16 00:51:46 +03:00
<p>
2017-11-16 00:51:46 +03:00
Please restore your database backup.
</p>
2017-11-16 00:51:46 +03:00
<div class="well text-left">
Error Message: <?= $exception ?>
</div>
<?php endif; ?>
<div>
<a href="<?= site_url('backend') ?>" class="btn btn-light btn-large">
2020-05-05 20:35:33 +03:00
<i class="fas fa-wrench"></i>
<?= lang('backend_section') ?>
</a>
</div>
2017-11-16 00:51:46 +03:00
</div>
<footer>
Powered by <a href="https://easyappointments.org">Easy!Appointments</a>
2017-11-16 00:51:46 +03:00
</footer>
</body>
</html>