custom.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Custom TextBox - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Custom TextBox</h2>
  14. <p>This example shows how to custom a login form.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-panel" title="Login to system" style="width:100%;max-width:400px;padding:30px 60px;">
  17. <div style="margin-bottom:10px">
  18. <input class="easyui-textbox" style="width:100%;height:40px;padding:12px" data-options="prompt:'Username',iconCls:'icon-man',iconWidth:38">
  19. </div>
  20. <div style="margin-bottom:20px">
  21. <input class="easyui-textbox" type="password" style="width:100%;height:40px;padding:12px" data-options="prompt:'Password',iconCls:'icon-lock',iconWidth:38">
  22. </div>
  23. <div style="margin-bottom:20px">
  24. <input type="checkbox" checked="checked">
  25. <span>Remember me</span>
  26. </div>
  27. <div>
  28. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" style="padding:5px 0px;width:100%;">
  29. <span style="font-size:14px;">Login</span>
  30. </a>
  31. </div>
  32. </div>
  33. </body>
  34. </html>