[IMPROVEMENT] @nrpatten supplied better quicklogin
* Needs to be fixed to properly use fieldset tags
This commit is contained in:
parent
ec4931bbc8
commit
8224f6148e
@ -867,10 +867,58 @@ span.unconfirmed {
|
||||
border-radius: 4px;
|
||||
}
|
||||
div.login_small {
|
||||
float: right;
|
||||
background: #E0E0E3;
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
float: right;
|
||||
background: #E0E0E3;
|
||||
background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(241, 241, 241) 50%, rgb(225, 225, 225) 51%, rgb(246, 246, 246) 100%) repeat scroll 0% 0%;
|
||||
border-radius: 5px 5px 5px 5px;
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
fieldset2 {
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
background: #F6F6F6;
|
||||
padding: 1% 0%;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
fieldset2 label {
|
||||
display: block;
|
||||
float: left;
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
font-weight: bold;
|
||||
padding-left: 10px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
fieldset2 input[type=text], fieldset2 input[type=password] {
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #BBBBBB;
|
||||
height: 20px;
|
||||
color: #666666;
|
||||
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
||||
-moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
||||
box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
||||
padding-left: 10px;
|
||||
background-position: 10px 6px;
|
||||
margin: 0;
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
fieldset2 input[type=text]:focus, fieldset2 input[type=password]:focus, fieldset2 input[type=checkbox] {
|
||||
outline: none;
|
||||
border: 1px solid #77BACE;
|
||||
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
||||
-moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
||||
box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
||||
}
|
||||
|
||||
@ -2,6 +2,4 @@
|
||||
<h1 class="site_title">{$GLOBAL.website.name}</h1>
|
||||
<h2 class="section_title">{if $smarty.request.action|default:""}{$smarty.request.action|capitalize}{else}{$smarty.request.page|default:"home"|capitalize}{/if}</h2>
|
||||
</hgroup>
|
||||
<div class="login_small">
|
||||
{include file="login/small.tpl"}
|
||||
</div>
|
||||
{include file="login/small.tpl"}
|
||||
|
||||
@ -1,11 +1,17 @@
|
||||
{if $smarty.session.AUTHENTICATED|default:"0" == 0}
|
||||
<div class="login_small">
|
||||
<form action="{$smarty.server.PHP_SELF}" method="post" id="loginForm">
|
||||
<input type="hidden" name="page" value="login" />
|
||||
<input type="hidden" name="to" value="{$smarty.server.PHP_SELF}?page=dashboard"}" />
|
||||
<label>Username</label>
|
||||
<input type="text" name="username" size="22" maxlength="20" required />
|
||||
<label>Password</label>
|
||||
<input type="password" name="password" size="22" maxlength="20" required />
|
||||
<input type="hidden" name="to" value="{$smarty.server.PHP_SELF}?page=dashboard" />
|
||||
<fieldset2 class="small">
|
||||
<label>Username</label>
|
||||
<input type="text" name="username" size="22" maxlength="20" required />
|
||||
<fieldset2 class="small">
|
||||
<label>Password</label>
|
||||
<input type="password" name="password" size="22" maxlength="20" required />
|
||||
</fieldset2>
|
||||
</fieldset2>
|
||||
<input type="submit" value="Login" class="alt_btn" />
|
||||
</form>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user