Initial commit
This commit is contained in:
128
applications/taskmanager/views/login/css/login.css
Normal file
128
applications/taskmanager/views/login/css/login.css
Normal file
@@ -0,0 +1,128 @@
|
||||
body
|
||||
{
|
||||
margin:0 auto;
|
||||
background-color:#000000;
|
||||
}
|
||||
|
||||
#container
|
||||
{
|
||||
width:600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#header
|
||||
{
|
||||
margin: 0 auto;
|
||||
height:100px;
|
||||
text-align: center;
|
||||
color : #FFFFFF;
|
||||
font: bold 20px "SuperSmash", Arial;
|
||||
}
|
||||
|
||||
#footer
|
||||
{
|
||||
width:600px;
|
||||
margin: 0 auto;
|
||||
background: #F0C74D;
|
||||
border-top-left-radius: 15px;
|
||||
border-top-right-radius: 15px;
|
||||
border-bottom-left-radius: 15px;
|
||||
border-bottom-right-radius: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
#login-box {
|
||||
width:333px;
|
||||
height: 352px;
|
||||
padding: 58px 76px 0 76px;
|
||||
margin: 0 auto;
|
||||
color: #ebebeb;
|
||||
font: 12px Arial, Helvetica, sans-serif;
|
||||
background: url("../images/background.png") no-repeat left top;
|
||||
}
|
||||
|
||||
.loginButton{
|
||||
margin-left:90px;
|
||||
background: url("../images/button.png") no-repeat left top;
|
||||
width:103px;
|
||||
height:42px;
|
||||
border:0px;
|
||||
}
|
||||
|
||||
#login-box img {
|
||||
border:none;
|
||||
}
|
||||
|
||||
#login-box h2 {
|
||||
padding:0;
|
||||
margin:0;
|
||||
color: #ebebeb;
|
||||
font: bold 44px "Calibri", Arial;
|
||||
}
|
||||
|
||||
|
||||
#login-box-username {
|
||||
float: left;
|
||||
display:inline;
|
||||
width:80px;
|
||||
text-align: right;
|
||||
padding: 14px 10px 0 0;
|
||||
margin:0 0 7px 0;
|
||||
}
|
||||
|
||||
#login-box-usernamefield {
|
||||
float: left;
|
||||
display:inline;
|
||||
width:230px;
|
||||
margin:0;
|
||||
margin:0 0 7px 0;
|
||||
}
|
||||
|
||||
#login-box-password {
|
||||
float: left;
|
||||
display:inline;
|
||||
width:80px;
|
||||
text-align: right;
|
||||
padding: 14px 10px 0 0;
|
||||
margin:0 0 7px 0;
|
||||
}
|
||||
|
||||
#login-box-passwordfield {
|
||||
float: left;
|
||||
display:inline;
|
||||
width:230px;
|
||||
margin:0;
|
||||
margin:0 0 7px 0;
|
||||
}
|
||||
|
||||
.form-login {
|
||||
width: 205px;
|
||||
padding: 10px 4px 6px 3px;
|
||||
border: 1px solid #0d2c52;
|
||||
background-color:#1e4f8a;
|
||||
font-size: 16px;
|
||||
color: #ebebeb;
|
||||
}
|
||||
|
||||
|
||||
.login-box-options {
|
||||
clear:both;
|
||||
padding-left:87px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.login-box-options a {
|
||||
color: #ebebeb;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
pre
|
||||
{
|
||||
font-size: 12px;
|
||||
padding-top: 10px;
|
||||
background: #f0f0f0;
|
||||
border: 1px solid #999;
|
||||
width:400px;
|
||||
margin: 0 auto;
|
||||
}
|
BIN
applications/taskmanager/views/login/images/background.png
Normal file
BIN
applications/taskmanager/views/login/images/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
BIN
applications/taskmanager/views/login/images/button.png
Normal file
BIN
applications/taskmanager/views/login/images/button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
applications/taskmanager/views/login/images/favicon.ico
Normal file
BIN
applications/taskmanager/views/login/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
43
applications/taskmanager/views/login/index.php
Normal file
43
applications/taskmanager/views/login/index.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo configuration('websiteTitle');?></title>
|
||||
<link href="<?php echo $websiteURL . "/" . "applications" . "/" . configuration('applicationName') . $viewPath;?>/images/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $websiteURL . "/" . "applications" . "/" . configuration('applicationName') . $viewPath;?>/css/login.css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="header">
|
||||
<br/><br/><h1>SuperSmash Task manager</h1>
|
||||
</div>
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<form action="<?php echo "$websiteURL/login/check"; ?>" method="post">
|
||||
<div id="login-box">
|
||||
<?php echo $loginMessage; ?>
|
||||
<br />
|
||||
<?php if(isset($errorMessage)) echo "<font color=\"red\">" . $errorMessage . "</font><br />"; ?>
|
||||
<div id="login-box-username" style="margin-top:20px;">Username:</div>
|
||||
<div id="login-box-usernamefield" style="margin-top:20px;">
|
||||
<input name="username" class="form-login" title="Username" value="" size="30" maxlength="50" />
|
||||
</div>
|
||||
|
||||
<div id="login-box-password">Password:</div>
|
||||
|
||||
<div id="login-box-passwordfield">
|
||||
<input name="password" type="password" class="form-login" title="Password" value="" size="30" maxlength="50" />
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<span class="login-box-options"><input type="checkbox" name="1" value="1"> Remember Me <a href="forget.php" style="margin-left:30px;">Forgot password?</a>
|
||||
<br />
|
||||
<br />
|
||||
</span>
|
||||
<button class="loginButton" type="submit"> </button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer"></div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user