Java web項目01 停車管理系統登入介面(一)__java

來源:互聯網
上載者:User

(一)介面源碼

<%@include file="/common/sub_header.jsp"%><%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>    <head>        <!--basePath=http:localhost:8080/tcc  -->        <base href="<%=basePath%>">        <title>系統登入</title>        <style type="text/css">html {    overflow-y: scroll;    vertical-align: baseline;}body {    font-family: Microsoft YaHei, Segoe UI, Tahoma, Arial, Verdana,        sans-serif;    font-size: 12px;    color: #fff;    height: 100%;    line-height: 1;    background: #999}* {    margin: 0;    padding: 0}ul,li {    list-style: none}h1 {    font-size: 30px;    font-weight: 700;    text-shadow: 0 1px 4px rgba(0, 0, 0, .2)}.login-box {    width: 410px;    margin: 120px auto 0 auto;    text-align: center;    padding: 30px;    background: url(images/mask.png);    border-radius: 10px;}.login-box .name,.login-box .password,.login-box .code,.login-box .remember    {    font-size: 16px;    text-shadow: 0 1px 2px rgba(0, 0, 0, .1)}.login-box .remember input {    box-shadow: none;    width: 15px;    height: 15px;    margin-top: 25px}.login-box .remember {    padding-left: 40px}.login-box .remember label {    display: inline-block;    height: 42px;    width: 70px;    line-height: 34px;    text-align: left}.login-box label {    display: inline-block;    width: 100px;    text-align: right;    vertical-align: middle}.login-box #code {    width: 120px}.login-box .codeImg {    float: right;    margin-top: 26px;}.login-box img {    width: 148px;    height: 42px;    border: none}input[type=text],input[type=password] {    width: 270px;    height: 42px;    margin-top: 25px;    padding: 0px 15px;    border: 1px solid rgba(255, 255, 255, .15);    border-radius: 6px;    color: #fff;    letter-spacing: 2px;    font-size: 16px;    background: transparent;}button {    cursor: pointer;    width: 100%;    height: 44px;    padding: 0;    background: #ef4300;    border: 1px solid #ff730e;    border-radius: 6px;    font-weight: 700;    color: #fff;    font-size: 24px;    letter-spacing: 15px;    text-shadow: 0 1px 2px rgba(0, 0, 0, .1)}input:focus {    outline: none;    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1) inset, 0 2px 7px 0        rgba(0, 0, 0, .2)}button:hover {    box-shadow: 0 15px 30px 0 rgba(255, 255, 255, .15) inset, 0 2px 7px 0        rgba(0, 0, 0, .2)}.screenbg {    position: fixed;    bottom: 0;    left: 0;    z-index: -999;    overflow: hidden;    width: 100%;    height: 100%;    min-height: 100%;}.screenbg ul li {    display: block;    list-style: none;    position: fixed;    overflow: hidden;    top: 0;    left: 0;    width: 100%;    height: 100%;    z-index: -1000;    float: right;}.screenbg ul a {    left: 0;    top: 0;    width: 100%;    height: 100%;    display: inline-block;    margin: 0;    padding: 0;    cursor: default;}.screenbg a img {    vertical-align: middle;    display: inline;    border: none;    display: block;    list-style: none;    position: fixed;    overflow: hidden;    top: 0;    left: 0;    width: 100%;    height: 100%;    z-index: -1000;    float: right;}.bottom {    margin: 8px auto 0 auto;    width: 100%;    position: fixed;    text-align: center;    bottom: 0;    left: 0;    overflow: hidden;    padding-bottom: 8px;    color: #ccc;    word-spacing: 3px;    zoom: 1;}.bottom a {    color: #FFF;    text-decoration: none;}.bottom a:hover {    text-decoration: underline;}</style>        <script type="text/javascript" src="limg/jquery-1.8.2.min.js"></script>        <script type="text/javascript">$(function() {    $(".screenbg ul li").each(function() {        $(this).css("opacity", "0");    });    $(".screenbg ul li:first").css("opacity", "1");    var index = 0;    var t;    var li = $(".screenbg ul li");    var number = li.size();    function change(index) {        li.css("visibility", "visible");        li.eq(index).siblings().animate( {            opacity : 0        }, 3000);        li.eq(index).animate( {            opacity : 1        }, 3000);    }    function show() {        index = index + 1;        if (index <= number - 1) {            change(index);        } else {            index = 0;            change(index);        }    }    t = setInterval(show, 8000);    //1.根據視窗寬度產生圖片寬度    var width = $(window).width();    $(".screenbg ul img").css("width", width + "px");});</script>    </head>    <body>        <div class="login-box">            <h1>                停車場資訊管理系統            </h1>            <form method="post" action="">                <div class="name">                    <label>                        帳號:                    </label>                    <input type="text" name="username" id="username" tabindex="1"                        autocomplete="off">                </div>                <div class="password">                    <label>                        密 碼:                    </label>                    <input type="password" name="userpwd" id="userpwd" maxlength="16"                        id="" tabindex="2">                </div>                <div class="code">                    <br/>                    <select tabindex="3" name="type">                      <option value="使用者">使用者</option>                      <option value="管理員">管理員</option>                    </select>                </div>                <!-- div class="code">            <label>驗證碼:</label>            <input type="text" name="" maxlength="4" id="code" tabindex="3">            <div class="codeImg">                <img src="<%=path%>/limg/captcha.jpeg.jpg">            </div>        </div -->        <div  class="code"><br/></div>                <

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.