|
@@ -1,146 +1,120 @@
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
-<html>
|
|
|
|
|
|
+<html lang="{$config.language}">
|
|
<head>
|
|
<head>
|
|
{include file="common/meta" /}
|
|
{include file="common/meta" /}
|
|
-
|
|
|
|
- <style type="text/css">
|
|
|
|
- body {
|
|
|
|
- color: #999;
|
|
|
|
- background-color: #f1f4fd;
|
|
|
|
- background-size: cover;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- a {
|
|
|
|
- color: #444;
|
|
|
|
|
|
+ <style>
|
|
|
|
+ body{
|
|
|
|
+ background-image: url(/assets/img/login-background.jpg);
|
|
|
|
+ background-size: 100%;
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
- .login-screen {
|
|
|
|
- max-width: 430px;
|
|
|
|
- padding: 0;
|
|
|
|
- margin: 100px auto 0 auto;
|
|
|
|
-
|
|
|
|
|
|
+ .container {
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
+ width: 400px;
|
|
|
|
+ margin: auto!important;
|
|
|
|
+ padding: 30px 10px!important;
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 25%!important;
|
|
|
|
+ top: 50%;
|
|
|
|
+ transform: translate(50%, -50%);
|
|
|
|
+ border-radius: 5px;
|
|
|
|
+ box-shadow: 0px 0px 16px #7b7a7a;
|
|
|
|
+ border-radius: 5px;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .login-screen .well {
|
|
|
|
- border-radius: 3px;
|
|
|
|
- -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
|
|
|
|
- box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
|
|
|
|
- background: rgba(255, 255, 255, 1);
|
|
|
|
- border: none;
|
|
|
|
- /*overflow: hidden;*/
|
|
|
|
- padding: 0;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- @media (max-width: 767px) {
|
|
|
|
- .login-screen {
|
|
|
|
- padding: 0 20px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .profile-img-card {
|
|
|
|
- width: 100px;
|
|
|
|
- height: 100px;
|
|
|
|
- display: block;
|
|
|
|
- -moz-border-radius: 50%;
|
|
|
|
- -webkit-border-radius: 50%;
|
|
|
|
- border-radius: 50%;
|
|
|
|
- margin: -93px auto 30px;
|
|
|
|
- border: 5px solid #fff;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .profile-name-card {
|
|
|
|
|
|
+ .logon-tab {
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 600;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .login-head {
|
|
|
|
- background: #899fe1;
|
|
|
|
- border-radius: 3px 3px 0 0;
|
|
|
|
|
|
+ .logon-tab a:hover {
|
|
|
|
+ color: #000;
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ cursor: default;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .login-form {
|
|
|
|
- padding: 40px 30px;
|
|
|
|
- position: relative;
|
|
|
|
- z-index: 99;
|
|
|
|
|
|
+ input[type = text]{
|
|
|
|
+ height: 42px;
|
|
|
|
+ border-color: #ebedf2;
|
|
|
|
+ padding-left: 35px;
|
|
}
|
|
}
|
|
-
|
|
|
|
- #login-form {
|
|
|
|
- margin-top: 20px;
|
|
|
|
|
|
+ input[type = password]{
|
|
|
|
+ padding-left: 35px;
|
|
}
|
|
}
|
|
-
|
|
|
|
- #login-form .input-group {
|
|
|
|
- margin-bottom: 15px;
|
|
|
|
|
|
+ .glyphicon-user{
|
|
|
|
+ top: 32px;
|
|
|
|
+ left: 15px;
|
|
|
|
+ color: #b1b1b1;
|
|
}
|
|
}
|
|
-
|
|
|
|
- #login-form .form-control {
|
|
|
|
- font-size: 13px;
|
|
|
|
|
|
+ .glyphicon-lock{
|
|
|
|
+ top: 32px;
|
|
|
|
+ left: 15px;
|
|
|
|
+ color: #b1b1b1;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ button[type=submit] {
|
|
|
|
+ height: 35px;
|
|
|
|
+ color: white;
|
|
|
|
+ border-radius: 30px;
|
|
|
|
+ }
|
|
|
|
+ .msg-box{width: 100%;position: inherit}
|
|
</style>
|
|
</style>
|
|
<!--@formatter:off-->
|
|
<!--@formatter:off-->
|
|
{if $background}
|
|
{if $background}
|
|
- <style type="text/css">
|
|
|
|
- body{
|
|
|
|
- background-image: url('{$background}');
|
|
|
|
- }
|
|
|
|
- </style>
|
|
|
|
|
|
+ <style type="text/css">
|
|
|
|
+ body{
|
|
|
|
+ background-image: url('{$background}');
|
|
|
|
+ }
|
|
|
|
+ </style>
|
|
{/if}
|
|
{/if}
|
|
<!--@formatter:on-->
|
|
<!--@formatter:on-->
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
-<div class="container">
|
|
|
|
- <div class="login-wrapper">
|
|
|
|
- <div class="login-screen">
|
|
|
|
- <div class="well">
|
|
|
|
- <div class="login-head">
|
|
|
|
- <img src="__CDN__/assets/img/login-head.png" style="width:100%;"/>
|
|
|
|
|
|
+<div id="content-container" class="container">
|
|
|
|
+ <div class="user-section login-section">
|
|
|
|
+ <div class="logon-tab clearfix"> <a class="active" style="color: #2c3e50">{:__('Sign in')}</a> </div>
|
|
|
|
+ <div class="login-main">
|
|
|
|
+ <form name="form" id="login-form" class="form-vertical" method="POST" action="">
|
|
|
|
+ {:token()}
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <div class="controls">
|
|
|
|
+ <span class="glyphicon glyphicon-user"></span>
|
|
|
|
+ <input class="form-control input-lg" id="username" type="text" name="username" value="" data-rule="{:__('Username')}:required" placeholder="{:__('Username')}" autocomplete="off">
|
|
|
|
+ <div class="help-block"></div>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
- <div class="login-form">
|
|
|
|
- <img id="profile-img" class="profile-img-card" src="__CDN__/assets/img/avatar.png"/>
|
|
|
|
- <p id="profile-name" class="profile-name-card"></p>
|
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <!-- <label class="control-label" for="password">{:__('Password')}:</label> -->
|
|
|
|
+ <div class="controls">
|
|
|
|
+ <span class="glyphicon glyphicon-lock"></span>
|
|
|
|
+ <input class="form-control input-lg" id="password" type="password" name="password" value="" data-rule="{:__('Password')}:required;password" placeholder="{:__('Password')}" autocomplete="off">
|
|
|
|
|
|
- <form action="" method="post" id="login-form">
|
|
|
|
- <!--@AdminLoginFormBegin-->
|
|
|
|
- <div id="errtips" class="hide"></div>
|
|
|
|
- {:token()}
|
|
|
|
- <div class="input-group">
|
|
|
|
- <div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
|
|
|
|
- <input type="text" class="form-control" id="pd-form-username" placeholder="{:__('Username')}" name="username" autocomplete="off" value="" data-rule="{:__('Username')}:required;username"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="help-block"></div>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="input-group">
|
|
|
|
- <div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>
|
|
|
|
- <input type="password" class="form-control" id="pd-form-password" placeholder="{:__('Password')}" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;password"/>
|
|
|
|
- </div>
|
|
|
|
- <!--@CaptchaBegin-->
|
|
|
|
- {if $Think.config.fastadmin.login_captcha}
|
|
|
|
- <div class="input-group">
|
|
|
|
- <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
|
|
|
|
- <input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length({$Think.config.captcha.length})" autocomplete="off"/>
|
|
|
|
- <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
|
|
|
|
- <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>
|
|
|
|
|
|
+ {if $Think.config.fastadmin.login_captcha}
|
|
|
|
+ <div class="input-group" style="margin-top: 32px;">
|
|
|
|
+ <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
|
|
|
|
+ <input type="text" style="padding-left: 2px;font-size: 16px;" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length(4)"/>
|
|
|
|
+ <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
|
|
|
|
+ <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>
|
|
</span>
|
|
</span>
|
|
- </div>
|
|
|
|
- {/if}
|
|
|
|
- <!--@CaptchaEnd-->
|
|
|
|
- {if $keeyloginhours>0}
|
|
|
|
- <div class="form-group checkbox">
|
|
|
|
- <label class="inline" for="keeplogin" data-toggle="tooltip" title="{:__('The duration of the session is %s hours', $keeyloginhours)}">
|
|
|
|
- <input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>
|
|
|
|
- {:__('Keep login')}
|
|
|
|
- </label>
|
|
|
|
- </div>
|
|
|
|
- {/if}
|
|
|
|
- <div class="form-group">
|
|
|
|
- <button type="submit" class="btn btn-success btn-lg btn-block" style="background:#708eea;">{:__('Sign in')}</button>
|
|
|
|
- </div>
|
|
|
|
- <!--@AdminLoginFormEnd-->
|
|
|
|
- </form>
|
|
|
|
|
|
+ <div class="help-block"></div>
|
|
|
|
+ </div>
|
|
|
|
+ {/if}
|
|
|
|
+
|
|
|
|
+ <div class="input-group" style="margin: 28px 0px;">
|
|
|
|
+ <div class="controls">
|
|
|
|
+ <input type="checkbox" name="keeplogin" checked="checked" value="1"> {:__('Keep login')}
|
|
|
|
+ <!-- <div class="pull-ri ght"><a href="javascript:;" class="btn-forgot">{:__('Forgot password')}</a></div> -->
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="form-group">
|
|
|
|
+ <button type="submit" style="color: #white;background: #177dff;border-color: #177dff;padding: .20rem .5rem;font-size: 1rem" class="btn btn-primary btn-lg btn-block">{:__('Sign in')}</button>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include file="common/script" /}
|
|
{include file="common/script" /}
|
|
</body>
|
|
</body>
|
|
-</html>
|
|
|
|
|
|
+</html>
|