agregado login
Browse files- app/css/login.css +17 -0
- app/login.php +98 -0
app/css/login.css
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.divider:after,
|
| 2 |
+
.divider:before {
|
| 3 |
+
content: "";
|
| 4 |
+
flex: 1;
|
| 5 |
+
height: 1px;
|
| 6 |
+
background: #eee;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
.h-custom {
|
| 10 |
+
height: calc(100% - 73px);
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
@media (max-width: 450px) {
|
| 14 |
+
.h-custom {
|
| 15 |
+
height: 100%;
|
| 16 |
+
}
|
| 17 |
+
}
|
app/login.php
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php include_once "./inc/header.php" ?>
|
| 2 |
+
<?php include_once "./inc/welcome.php" ?>
|
| 3 |
+
|
| 4 |
+
<section class="vh-100">
|
| 5 |
+
<div class="container-fluid h-custom">
|
| 6 |
+
<div class="row d-flex justify-content-center align-items-center h-100">
|
| 7 |
+
<div class="col-md-9 col-lg-6 col-xl-5">
|
| 8 |
+
<img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-login-form/draw2.webp"
|
| 9 |
+
class="img-fluid" alt="Sample image">
|
| 10 |
+
</div>
|
| 11 |
+
<div class="col-md-8 col-lg-6 col-xl-4 offset-xl-1">
|
| 12 |
+
<form>
|
| 13 |
+
<div class="d-flex flex-row align-items-center justify-content-center justify-content-lg-start">
|
| 14 |
+
<p class="lead fw-normal mb-0 me-3">Sign in with</p>
|
| 15 |
+
<button type="button" data-mdb-button-init data-mdb-ripple-init
|
| 16 |
+
class="btn btn-primary btn-floating mx-1">
|
| 17 |
+
<i class="fab fa-facebook-f"></i>
|
| 18 |
+
</button>
|
| 19 |
+
|
| 20 |
+
<button type="button" data-mdb-button-init data-mdb-ripple-init
|
| 21 |
+
class="btn btn-primary btn-floating mx-1">
|
| 22 |
+
<i class="fab fa-twitter"></i>
|
| 23 |
+
</button>
|
| 24 |
+
|
| 25 |
+
<button type="button" data-mdb-button-init data-mdb-ripple-init
|
| 26 |
+
class="btn btn-primary btn-floating mx-1">
|
| 27 |
+
<i class="fab fa-linkedin-in"></i>
|
| 28 |
+
</button>
|
| 29 |
+
</div>
|
| 30 |
+
|
| 31 |
+
<div class="divider d-flex align-items-center my-4">
|
| 32 |
+
<p class="text-center fw-bold mx-3 mb-0">Or</p>
|
| 33 |
+
</div>
|
| 34 |
+
|
| 35 |
+
<!-- Email input -->
|
| 36 |
+
<div data-mdb-input-init class="form-outline mb-4">
|
| 37 |
+
<input type="email" id="form3Example3" class="form-control form-control-lg"
|
| 38 |
+
placeholder="Enter a valid email address" />
|
| 39 |
+
<label class="form-label" for="form3Example3">Email address</label>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<!-- Password input -->
|
| 43 |
+
<div data-mdb-input-init class="form-outline mb-3">
|
| 44 |
+
<input type="password" id="form3Example4" class="form-control form-control-lg"
|
| 45 |
+
placeholder="Enter password" />
|
| 46 |
+
<label class="form-label" for="form3Example4">Password</label>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<div class="d-flex justify-content-between align-items-center">
|
| 50 |
+
<!-- Checkbox -->
|
| 51 |
+
<div class="form-check mb-0">
|
| 52 |
+
<input class="form-check-input me-2" type="checkbox" value="" id="form2Example3" />
|
| 53 |
+
<label class="form-check-label" for="form2Example3">
|
| 54 |
+
Remember me
|
| 55 |
+
</label>
|
| 56 |
+
</div>
|
| 57 |
+
<a href="#!" class="text-body">Forgot password?</a>
|
| 58 |
+
</div>
|
| 59 |
+
|
| 60 |
+
<div class="text-center text-lg-start mt-4 pt-2">
|
| 61 |
+
<button type="button" data-mdb-button-init data-mdb-ripple-init class="btn btn-primary btn-lg"
|
| 62 |
+
style="padding-left: 2.5rem; padding-right: 2.5rem;">Login</button>
|
| 63 |
+
<p class="small fw-bold mt-2 pt-1 mb-0">Don't have an account? <a href="#!"
|
| 64 |
+
class="link-danger">Register</a></p>
|
| 65 |
+
</div>
|
| 66 |
+
|
| 67 |
+
</form>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
<div
|
| 72 |
+
class="d-flex flex-column flex-md-row text-center text-md-start justify-content-between py-4 px-4 px-xl-5 bg-primary">
|
| 73 |
+
<!-- Copyright -->
|
| 74 |
+
<div class="text-white mb-3 mb-md-0">
|
| 75 |
+
Copyright © 2020. All rights reserved.
|
| 76 |
+
</div>
|
| 77 |
+
<!-- Copyright -->
|
| 78 |
+
|
| 79 |
+
<!-- Right -->
|
| 80 |
+
<div>
|
| 81 |
+
<a href="#!" class="text-white me-4">
|
| 82 |
+
<i class="fab fa-facebook-f"></i>
|
| 83 |
+
</a>
|
| 84 |
+
<a href="#!" class="text-white me-4">
|
| 85 |
+
<i class="fab fa-twitter"></i>
|
| 86 |
+
</a>
|
| 87 |
+
<a href="#!" class="text-white me-4">
|
| 88 |
+
<i class="fab fa-google"></i>
|
| 89 |
+
</a>
|
| 90 |
+
<a href="#!" class="text-white">
|
| 91 |
+
<i class="fab fa-linkedin-in"></i>
|
| 92 |
+
</a>
|
| 93 |
+
</div>
|
| 94 |
+
<!-- Right -->
|
| 95 |
+
</div>
|
| 96 |
+
</section>
|
| 97 |
+
|
| 98 |
+
<?php include_once "./inc/footer.php" ?>
|