Authored by skinny.wu

修改登录页面

@@ -11,36 +11,72 @@ @@ -11,36 +11,72 @@
11 <head> 11 <head>
12 <title>登录</title> 12 <title>登录</title>
13 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 13 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  14 + <link href="<%=basePath %>css/style.default.css" rel="stylesheet">
14 <link rel="stylesheet" type="text/css" href="<%=basePath %>css/bootstrap.min.css" /> 15 <link rel="stylesheet" type="text/css" href="<%=basePath %>css/bootstrap.min.css" />
15 <link rel="stylesheet" type="text/css" href="<%=basePath %>css/bootstrap-responsive.min.css" /> 16 <link rel="stylesheet" type="text/css" href="<%=basePath %>css/bootstrap-responsive.min.css" />
16 - <link rel="stylesheet" type="text/css" href="<%=basePath %>css/unicorn.login.css" /> 17 + <%--<link rel="stylesheet" type="text/css" href="<%=basePath %>css/unicorn.login.css" />--%>
17 </head> 18 </head>
18 -<body>  
19 -<div id="logo">  
20 - <img src="<%=basePath %>img/logo.png" alt="" />  
21 -</div>  
22 -<div id="loginbox">  
23 - <form id="loginform" class="form-vertical" action="<%=basePath %>user/login" method="post">  
24 - <p>Enter username and password to continue.</p>  
25 - <div class="control-group">  
26 - <div class="controls">  
27 - <div class="input-prepend">  
28 - <span class="add-on"><i class="icon-user"></i></span><input name="name" type="text" placeholder="Username" />  
29 - </div>  
30 - </div>  
31 - </div>  
32 - <div class="control-group">  
33 - <div class="controls">  
34 - <div class="input-prepend">  
35 - <span class="add-on"><i class="icon-lock"></i></span><input name="pwd" type="password" placeholder="Password" />  
36 - </div> 19 +<body class="signin" >
  20 +<%--<div id="logo">--%>
  21 + <%--<img src="<%=basePath %>img/logo.png" alt="" />--%>
  22 +<%--</div>--%>
  23 +<section>
  24 +
  25 + <div class="panel panel-signin">
  26 + <div class="panel-body">
  27 + <div class="logo text-center">
  28 + <img src="<%=basePath %>img/yoho.jpg" alt="Yoho Ops" >
37 </div> 29 </div>
  30 + <br />
  31 + <h4 class="text-center mb5">Still not a user?</h4>
  32 + <p class="text-center">Please connect with the admin.</p>
  33 +
  34 + <div class="mb30"></div>
  35 +
  36 + <form id="loginform" action="<%=basePath %>user/login" method="post">
  37 + <div class="input-group mb15">
  38 + <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
  39 + <input name="name" type="text" placeholder="Username" class="form-control">
  40 + </div><!-- input-group -->
  41 + <div class="input-group mb15">
  42 + <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
  43 + <input name="pwd" type="password" placeholder="Password" class="form-control">
  44 + </div><!-- input-group -->
  45 +
  46 + <div class="clearfix">
  47 + <div class="pull-right">
  48 + <button type="submit" class="btn btn-success">Sign In <i class="fa fa-angle-right ml5"></i></button>
38 </div> 49 </div>
39 - <div class="form-actions">  
40 - <span class="pull-right"><input type="submit" class="btn btn-inverse" value="Login" /></span>  
41 </div> 50 </div>
42 </form> 51 </form>
43 -</div> 52 +
  53 + </div><!-- panel-body -->
  54 + </div><!-- panel -->
  55 +
  56 + </section>
  57 +
  58 +
  59 +
  60 + <%--<form id="loginform" class="form-vertical" action="<%=basePath %>user/login" method="post">--%>
  61 + <%--<p>Enter username and password to continue.</p>--%>
  62 + <%--<div class="control-group">--%>
  63 + <%--<div class="controls">--%>
  64 + <%--<div class="input-prepend">--%>
  65 + <%--<span class="add-on"><i class="icon-user"></i></span><input name="name" type="text" placeholder="Username" />--%>
  66 + <%--</div>--%>
  67 + <%--</div>--%>
  68 + <%--</div>--%>
  69 + <%--<div class="control-group">--%>
  70 + <%--<div class="controls">--%>
  71 + <%--<div class="input-prepend">--%>
  72 + <%--<span class="add-on"><i class="icon-lock"></i></span><input name="pwd" type="password" placeholder="Password" />--%>
  73 + <%--</div>--%>
  74 + <%--</div>--%>
  75 + <%--</div>--%>
  76 + <%--<div class="form-actions">--%>
  77 + <%--<span class="pull-right"><input type="submit" class="btn btn-inverse" value="Login" /></span>--%>
  78 + <%--</div>--%>
  79 + <%--</form>--%>
44 80
45 <script src="<%=basePath %>js/jquery.min.js"></script> 81 <script src="<%=basePath %>js/jquery.min.js"></script>
46 <script src="<%=basePath %>js/unicorn.login.js"></script> 82 <script src="<%=basePath %>js/unicorn.login.js"></script>