利用easyui创建一个简单的登录页面,平时开发一些小系统时使用
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Custom TextBox - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/metro-blue/easyui.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/color.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo/demo.css"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.min.js"></script> <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script </head> <body> <div align="center"> <h2>Custom TextBox</h2> <p>This example shows how to custom a login form.</p> <div style="margin:20px 0;"></div> <div class="easyui-panel" title="Login to system" style="100%;max-400px;padding:30px 60px;"> <div style="margin-bottom:10px"> <input class="easyui-textbox" style="100%;height:40px;padding:12px" data-options="prompt:'Username',iconCls:'icon-man',iconWidth:38"> </div> <div style="margin-bottom:20px"> <input class="easyui-textbox" type="password" style="100%;height:40px;padding:12px" data-options="prompt:'Password',iconCls:'icon-lock',iconWidth:38"> </div> <div style="margin-bottom:20px"> <input type="checkbox" checked="checked"> <span>Remember me</span> </div> <div> <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" style="padding:5px 0px;100%;"> <span style="font-size:14px;">Login</span> </a> </div> </div> </div> </body> </html>