forked from mirrors/easyappointments
Update page UI fixes
This commit is contained in:
parent
bc2f3f0796
commit
1571a01f1d
2 changed files with 62 additions and 41 deletions
|
@ -7,53 +7,67 @@
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
|
<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="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/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/update.css') ?>">
|
||||||
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container-fluid header">
|
<header>
|
||||||
<div>
|
<div class="container">
|
||||||
<a href="https://easyappointments.org" target="_blank">
|
<h1 class="page-title">Easy!Appointments Update</h1>
|
||||||
<img src="<?= base_url('assets/img/installation-banner.png') ?>"
|
</div>
|
||||||
alt="Easy!Appointments Installation Banner">
|
</header>
|
||||||
</a>
|
|
||||||
|
<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 Easy!Appointments 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>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="container content">
|
<footer>
|
||||||
<?php if ($success): ?>
|
Powered by <a href="https://easyappointments.org">Easy!Appointments</a>
|
||||||
<h4>
|
</footer>
|
||||||
The database was updated successfully!
|
|
||||||
</h4>
|
|
||||||
|
|
||||||
<p>
|
<script src="<?= asset_url('assets/ext/fontawesome/js/all.min.js') ?>"></script>
|
||||||
You can now use the latest Easy!Appointments version.
|
|
||||||
</p>
|
|
||||||
<?php else: ?>
|
|
||||||
<h4>
|
|
||||||
There was an error during the update process ...
|
|
||||||
</h4>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
Please restore your database backup.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="well text-left">
|
|
||||||
Error Message: <?= $exception ?>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a href="<?= site_url('backend') ?>" class="btn btn-outline-secondary btn-large">
|
|
||||||
<i class="fas fa-wrench mr-2"></i>
|
|
||||||
<?= lang('backend_section') ?>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
Powered by <a href="https://easyappointments.org">Easy!Appointments</a>
|
|
||||||
</footer>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -3,8 +3,15 @@ html {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
header {
|
||||||
background: #DAFFEB;
|
background: #DAFFEB;
|
||||||
|
margin-bottom: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
header .page-title {
|
||||||
|
font-weight: lighter;
|
||||||
|
padding: 40px 0;
|
||||||
|
color: #429a82;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
|
Loading…
Reference in a new issue