Fixing login pages
This commit is contained in:
parent
f904cab599
commit
8fed994921
|
@ -231,7 +231,7 @@ class Build extends BuildBase
|
|||
$lineEnd = null
|
||||
) {
|
||||
unset($builder);
|
||||
|
||||
|
||||
$error = new BuildError();
|
||||
$error->setBuild($this);
|
||||
$error->setCreatedDate(new \DateTime());
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo PHPCI_URL ?>assets/css/bootstrap.min.css">
|
||||
<script src="//code.jquery.com/jquery-1.8.1.min.js"></script>
|
||||
<script src="<?php echo PHPCI_URL ?>assets/js/bootstrap.min.js"></script>
|
||||
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
|||
}
|
||||
|
||||
#logo {
|
||||
background: transparent url('https://www.block8.co.uk/assets/images/b8-phpci-logo-muted.png') no-repeat top left;
|
||||
background: transparent url('https://block8.digital/assets/images/b8-phpci-logo-muted.png') no-repeat top left;
|
||||
background-size: 130px 46px;
|
||||
display: inline-block;
|
||||
height: 46px;
|
||||
|
@ -77,7 +77,7 @@
|
|||
}
|
||||
|
||||
#logo:hover {
|
||||
background-image: url('https://www.block8.co.uk/assets/images/b8-phpci-logo.png');
|
||||
background-image: url('https://block8.digital/assets/images/b8-phpci-logo.png');
|
||||
}
|
||||
|
||||
#phpci-logo img {
|
||||
|
@ -89,14 +89,14 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<div class="row" style="margin-top: 10%; text-align: center">
|
||||
<a id="phpci-logo" href="http://www.phptesting.org">
|
||||
<a id="phpci-logo" href="https://www.phptesting.org">
|
||||
<img src="<?php print PHPCI_URL; ?>/assets/img/logo-large.png">
|
||||
</a>
|
||||
<div class="" id="login-box">
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
|
||||
<a id="logo" href="https://www.block8.co.uk">Block 8 - Manchester Web Development Specialists</a>
|
||||
<a target="_blank" id="logo" href="https://block8.digital">Block 8 - Digital Development Experts</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
@ -5,18 +5,16 @@
|
|||
</p>
|
||||
<?php else: ?>
|
||||
<?php if (empty($error)): ?>
|
||||
<div class="panel panel-success" style="margin-bottom: 0">
|
||||
<div class="box-header">
|
||||
<div class="" style="margin-bottom: 15px;">
|
||||
<?php Lang::out('reset_header'); ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="panel panel-danger" style="margin-bottom: 0">
|
||||
<div class="box-header">
|
||||
<div class="alert alert-danger">
|
||||
<?php print $error; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="box-body">
|
||||
<div class="">
|
||||
<form class="form" action="<?php print PHPCI_URL; ?>session/forgot-password" method="POST">
|
||||
<div class="form-group">
|
||||
<label for="email"><?php Lang::out('reset_email_address'); ?></label>
|
||||
|
@ -28,7 +26,6 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php endif; ?>
|
|
@ -1,6 +1,6 @@
|
|||
<?php use PHPCI\Helper\Lang; ?>
|
||||
<?php if (empty($error)): ?>
|
||||
<div class="panel panel-success" style="margin-bottom: 0">
|
||||
|
||||
<div class="box-header">
|
||||
<?php Lang::out('reset_enter_password'); ?>
|
||||
</div>
|
||||
|
@ -17,7 +17,6 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-danger" style="margin-bottom: 0">
|
||||
<?php print $error; ?>
|
||||
|
|
Loading…
Reference in a new issue