Authored by skinny.wu

修改登录页面

... ... @@ -11,36 +11,72 @@
<head>
<title>登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<%=basePath %>css/style.default.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<%=basePath %>css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath %>css/bootstrap-responsive.min.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath %>css/unicorn.login.css" />
<%--<link rel="stylesheet" type="text/css" href="<%=basePath %>css/unicorn.login.css" />--%>
</head>
<body>
<div id="logo">
<img src="<%=basePath %>img/logo.png" alt="" />
</div>
<div id="loginbox">
<form id="loginform" class="form-vertical" action="<%=basePath %>user/login" method="post">
<p>Enter username and password to continue.</p>
<div class="control-group">
<div class="controls">
<div class="input-prepend">
<span class="add-on"><i class="icon-user"></i></span><input name="name" type="text" placeholder="Username" />
</div>
</div>
</div>
<div class="control-group">
<div class="controls">
<div class="input-prepend">
<span class="add-on"><i class="icon-lock"></i></span><input name="pwd" type="password" placeholder="Password" />
<body class="signin" >
<%--<div id="logo">--%>
<%--<img src="<%=basePath %>img/logo.png" alt="" />--%>
<%--</div>--%>
<section>
<div class="panel panel-signin">
<div class="panel-body">
<div class="logo text-center">
<img src="<%=basePath %>img/yoho.jpg" alt="Yoho Ops" >
</div>
</div>
</div>
<div class="form-actions">
<span class="pull-right"><input type="submit" class="btn btn-inverse" value="Login" /></span>
</div>
</form>
</div>
<br />
<h4 class="text-center mb5">Still not a user?</h4>
<p class="text-center">Please connect with the admin.</p>
<div class="mb30"></div>
<form id="loginform" action="<%=basePath %>user/login" method="post">
<div class="input-group mb15">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input name="name" type="text" placeholder="Username" class="form-control">
</div><!-- input-group -->
<div class="input-group mb15">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input name="pwd" type="password" placeholder="Password" class="form-control">
</div><!-- input-group -->
<div class="clearfix">
<div class="pull-right">
<button type="submit" class="btn btn-success">Sign In <i class="fa fa-angle-right ml5"></i></button>
</div>
</div>
</form>
</div><!-- panel-body -->
</div><!-- panel -->
</section>
<%--<form id="loginform" class="form-vertical" action="<%=basePath %>user/login" method="post">--%>
<%--<p>Enter username and password to continue.</p>--%>
<%--<div class="control-group">--%>
<%--<div class="controls">--%>
<%--<div class="input-prepend">--%>
<%--<span class="add-on"><i class="icon-user"></i></span><input name="name" type="text" placeholder="Username" />--%>
<%--</div>--%>
<%--</div>--%>
<%--</div>--%>
<%--<div class="control-group">--%>
<%--<div class="controls">--%>
<%--<div class="input-prepend">--%>
<%--<span class="add-on"><i class="icon-lock"></i></span><input name="pwd" type="password" placeholder="Password" />--%>
<%--</div>--%>
<%--</div>--%>
<%--</div>--%>
<%--<div class="form-actions">--%>
<%--<span class="pull-right"><input type="submit" class="btn btn-inverse" value="Login" /></span>--%>
<%--</div>--%>
<%--</form>--%>
<script src="<%=basePath %>js/jquery.min.js"></script>
<script src="<%=basePath %>js/unicorn.login.js"></script>
... ...