Skip to content

Commit 6e30ea4

Browse files
committed
login controller completed.
1 parent d1ce74b commit 6e30ea4

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

web/Login/css/signin.css renamed to web/Login/css/index.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
body, html {
2+
position: relative;
3+
background: url('../img/background.jpg') no-repeat center center fixed;
4+
-webkit-background-size: cover;
5+
-moz-background-size: cover;
6+
-o-background-size: cover;
7+
background-size: cover;
8+
}
9+
110
.login-logo {
211
position: relative;
312
z-index: 2;

web/Login/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
88
<title> Signin Template &middot; Bootstrap Material Design</title>
9-
<link rel="stylesheet" type="text/css" href="css/signin.css" />
9+
<link rel="stylesheet" type="text/css" href="css/index.css" />
1010
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
1111
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
1212
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>

web/Login/js/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
$(document).ready(function () {
2+
3+
24
function toggleResetPswd(e){
35
e.preventDefault();
4-
$('#logreg-forms .form-signin').toggle() // display:block or none
5-
$('#logreg-forms .form-reset').toggle() // display:block or none
6+
$('#logreg-forms .form-signin').toggle(); // display:block or none
7+
$('#logreg-forms .form-reset').toggle(); // display:block or none
68
}
79

810
function toggleSignUp(e){

0 commit comments

Comments
 (0)