Update page UI fixes

This commit is contained in:
Alex Tselegidis 2020-12-02 21:58:32 +02:00
parent bc2f3f0796
commit 1571a01f1d
2 changed files with 62 additions and 41 deletions

View file

@ -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') ?>"
alt="Easy!Appointments Installation Banner">
</a>
</div>
</div> </div>
</header>
<div class="container content"> <div class="container">
<div class="row">
<div class="col">
<?php if ($success): ?> <?php if ($success): ?>
<h4> <div class="jumbotron">
The database was updated successfully! <h1 class="display-4">Success!</h1>
</h4> <p class="lead">
The database got updated successfully.
</p>
<hr class="my-4">
<p> <p>
You can now use the latest Easy!Appointments version. You can now use the latest Easy!Appointments version.
</p> </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: ?> <?php else: ?>
<h4> <div class="jumbotron">
There was an error during the update process ... <h1 class="display-4">Failure!</h1>
</h4> <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> <p>
Please restore your database backup. Please restore your database backup.
</p> </p>
</div>
<div class="well text-left"> <div class="well text-left">
Error Message: <?= $exception ?> Error Message: <?= $exception ?>
</div> </div>
<?php endif; ?> <?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>
</div> </div>
</div>
<footer> <footer>
Powered by <a href="https://easyappointments.org">Easy!Appointments</a> Powered by <a href="https://easyappointments.org">Easy!Appointments</a>
</footer> </footer>
<script src="<?= asset_url('assets/ext/fontawesome/js/all.min.js') ?>"></script>
</body> </body>
</html> </html>

View file

@ -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 {