easyappointments/application/views/general/update.php

86 lines
2.3 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>
<title>Easy!Appointments - Update</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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/general.css') ?>">
<style>
html {
position: relative;
min-height: 100%;
}
.header {
background: #DAFFEB;
}
h3 {
margin-bottom: 40px;
}
.content {
margin-top: 30px;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
background-color: #f5f5f5;
padding: 15px 40px;
}
</style>
</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>