Login page done
This commit is contained in:
parent
d6dd5f022c
commit
b687a54fb0
6 changed files with 111 additions and 1 deletions
37
htdocs/css/login.css
Normal file
37
htdocs/css/login.css
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
body {
|
||||
padding-top: 40px;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.form-signin {
|
||||
max-width: 330px;
|
||||
padding: 15px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.form-signin .form-signin-heading,
|
||||
|
||||
.form-signin .checkbox {
|
||||
font-weight: normal;
|
||||
}
|
||||
.form-signin .form-control {
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.form-signin .form-control:focus {
|
||||
z-index: 2;
|
||||
}
|
||||
.form-signin input[type="text"] {
|
||||
margin-bottom: -1px;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
.form-signin input[type="password"] {
|
||||
margin-bottom: 10px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
|
|
@ -119,7 +119,7 @@ if (empty($page)) // Public pages
|
|||
{
|
||||
case "":
|
||||
$_GET["p"] = "";
|
||||
case "login":
|
||||
case "home":
|
||||
include("public/home.php");
|
||||
break;
|
||||
|
||||
|
|
@ -127,6 +127,10 @@ if (empty($page)) // Public pages
|
|||
include("public/login.php");
|
||||
break;
|
||||
|
||||
case "score":
|
||||
include("public/score.php");
|
||||
break;
|
||||
|
||||
case "forgotpasswd":
|
||||
include("public/forgotpasswd.php");
|
||||
break;
|
||||
|
|
|
|||
Reference in a new issue