zoukankan      html  css  js  c++  java
  • div 标签实现的Jsp中的登录界面

    div class="container">
          <form name="myForm" class="form-signin" action="login" method="post" onsubmit="return checkForm()">
            <h2 class="form-signin-heading"><font color="gray">宿舍管理系统</font></h2>
            <input id="userName" name="userName" value="${user.userName }" type="text" class="input-block-level" placeholder="用户名...">
            <input id="password" name="password" value="${user.password }" type="password" class="input-block-level" placeholder="密码..." >
            <label class="radio inline">
                    <input id="admin" type="radio" name="userType" value="admin"  checked/> 系统管理员
            </label>
            <label class="radio inline">
                <input id="dormManager" type="radio" name="userType" value="dormManager" ${userType==2?'checked':''} /> 宿舍管理员
            </label>
            <label class="radio inline">
                <input id="student" type="radio" name="userType" value="student"  ${userType==3?'checked':''}/> 学生
            </label>
            <label class="checkbox">
              <input id="remember" name="remember" type="checkbox" value="remember-me" ${remember==1?'checked':''}>记住我 &nbsp;&nbsp;&nbsp;&nbsp; <font id="error" color="red">${error }</font>  
            </label>
            <button class="btn btn-large btn-primary" type="submit">登录</button>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <button class="btn btn-large btn-primary" type="button" >重置</button>

            <p align="center" style="padding-top: 15px;">版权所有  2014  Lero  <a href="http://www.lero.com" target="_blank">http://www.lero.com</a></p>
          </form>
    </div>

  • 相关阅读:
    bzoj 1503
    bzoj 1193 贪心+bfs
    bzoj 1798 线段树
    Codeforces 804D Expected diameter of a tree
    bzoj 1208
    bzoj 3224
    HDU 5115 区间dp
    hihocoder #1162 矩阵加速dp
    分块入门
    bzoj 1036 树链剖分
  • 原文地址:https://www.cnblogs.com/yuyezhulan/p/3971204.html
Copyright © 2011-2022 走看看