echo.zml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>${name}</title>
  5. <meta charset="UTF-8">
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  7. ${name}
  8. ${Styles.src("/service/res/fadfox_2016100801.css")}
  9. ${Scripts.src("/service/res/fadfox_2016100801.min.js")}
  10. ${Styles.htmlOverflowHidden()}
  11. <#var abc="abc"/>
  12. @{name}
  13. <#-- dd -->
  14. <#--
  15. dd
  16. -->
  17. <script>
  18. <!--
  19. function doRefreshVcode()
  20. {
  21. F("#vcode").attr("src", "/service/vcode.jpg?time=" + new Date().getTime());
  22. }
  23. function doRememberCode(rememberPass)
  24. {
  25. if (rememberPass.checked)
  26. {
  27. F("#check").checked = true;
  28. F("[data-id=check]").addClass("f-active");
  29. }
  30. }
  31. //-->
  32. </script>
  33. </head>
  34. <body onload="theForm.operatorCode.focus()" style="background-color:#dce2f1;">
  35. <table class="f-table f-float-center fi-w500" style="margin-top:100px;">
  36. <tr>
  37. <td>
  38. <form name="theForm" method="post" action="${loginUrl}" onsubmit="return validateForm(this);">
  39. <input type="password" style="display:none">
  40. <table class=" f-table f-bordered f-px14 f-float-center f-pd6" style="background-color:#f1f3f5">
  41. <tr>
  42. <th colspan="2" height="40" class="f-bold f-text-white fi-px20" style="border:1px solid #4455aa;border-bottom:none;background-color:#4455aa">${name}</th>
  43. </tr>
  44. <tr>
  45. <td width="150" align="right">登录名:</td>
  46. <td width="*">
  47. <input name="operatorCode" type="text" class="f-input f-large ${styleColor}" value="${operatorCode}" maxlength="32"<#if !hasAutoComplete> autocomplete="off"</#if>>&nbsp;&nbsp;
  48. <input data-role="f-checkbox" data-class="f-blue" id="check" type="checkbox" name="rememberCode" <#if Validates.isNotEmpty(operatorCode)>checked</#if>>&nbsp;&nbsp;记住用户名
  49. </td>
  50. </tr>
  51. <tr>
  52. <td align="right">密&nbsp;&nbsp;&nbsp;码:</td>
  53. <td>
  54. <input name="operatorPass" type="password" class="f-input f-large ${styleColor}" value="${operatorPass}" maxlength="32"<#if !hasAutoComplete> autocomplete="off"</#if>>&nbsp;&nbsp;
  55. <input data-role="f-checkbox" data-class="f-blue" type="checkbox" name="rememberPass" onclick="doRememberCode(this);" <#if Validates.isNotEmpty(operatorPass)>checked</#if>/>&nbsp;&nbsp;记住密码
  56. </td>
  57. </tr>
  58. <tr class="f-h50">
  59. <td colspan="2" align="center" bgcolor="#ffffff"><button type="submit" class="f-button f-blue f-w200 f-h40"><span class="f-px16">登录</span></button></td>
  60. </tr>
  61. </table>
  62. </form>
  63. </td>
  64. </tr>
  65. </table>
  66. </body>
  67. </html>