index.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {extend name="index/index"}
  2. {block name="body"}
  3. <div class="login-container" data-supersized="__ROOT__/static/theme/img/login/bg1.jpg,__ROOT__/static/theme/img/login/bg2.jpg">
  4. <div class="header notselect layui-hide-xs">
  5. <a href="{:url('@')}" class="title">{:sysconf('app_name')}<span>{:sysconf('app_version')}</span></a>
  6. {notempty name='devmode'}
  7. <a class="pull-right layui-anim layui-anim-fadein" href='https://gitee.com/zoujingli/ThinkAdmin'>
  8. <img src='https://gitee.com/zoujingli/ThinkAdmin/widgets/widget_1.svg' alt='Fork me on Gitee'>
  9. </a>
  10. {/notempty}
  11. </div>
  12. <form data-login-form onsubmit="return false" method="post" class="layui-anim layui-anim-upbit" autocomplete="off">
  13. <h2 class="notselect">系统管理</h2>
  14. <ul>
  15. <li class="username">
  16. <label class="label-required-null">
  17. <i class="layui-icon layui-icon-username"></i>
  18. <input class="layui-input" required pattern="^\S{4,}$" name="username" autofocus autocomplete="off" placeholder="登录账号" title="请输入登录账号">
  19. </label>
  20. </li>
  21. <li class="password">
  22. <label class="label-required-null">
  23. <i class="layui-icon layui-icon-password"></i>
  24. <input class="layui-input" required pattern="^\S{4,}$" name="password" maxlength="32" type="password" autocomplete="off" placeholder="登录密码" title="请输入登录密码">
  25. </label>
  26. </li>
  27. <li class="verify layui-hide">
  28. <label class="inline-block relative label-required-null">
  29. <i class="layui-icon layui-icon-picture-fine"></i>
  30. <input class="layui-input" required pattern="^\S{4,}$" name="verify" maxlength="4" autocomplete="off" placeholder="验证码" title="请输入验证码">
  31. </label>
  32. <label data-captcha="{:url('admin/login/captcha',[],false)}" data-field-verify="verify" data-field-uniqid="uniqid" data-captcha-type="{$captchaType}" data-captcha-token="{$captchaToken}"></label>
  33. </li>
  34. <li class="text-center padding-top-20">
  35. <button type="submit" class="layui-btn layui-disabled full-width" data-form-loaded="立即登入">正在载入</button>
  36. </li>
  37. </ul>
  38. </form>
  39. <div class="footer notselect">
  40. <p class="layui-hide-xs"><a target="_blank" href="https://www.google.cn/chrome">推荐使用谷歌浏览器</a></p>
  41. {:sysconf('site_copy')}
  42. {if sysconf('beian')}<span class="padding-5">|</span><a target="_blank" href="http://beian.miit.gov.cn">{:sysconf('beian')}</a>{/if}
  43. {if sysconf('miitbeian')}<span class="padding-5">|</span><a target="_blank" href="http://beian.miit.gov.cn">{:sysconf('miitbeian')}</a>{/if}
  44. </div>
  45. </div>
  46. {/block}
  47. {block name='style'}
  48. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
  49. <script>if (location.href.indexOf('#') > -1) location.replace(location.href.split('#')[0])</script>
  50. <link rel="stylesheet" href="__ROOT__/static/theme/css/login.css">
  51. {/block}
  52. {block name='script'}
  53. <script src="__ROOT__/static/login.js"></script>
  54. <script src="__ROOT__/static/plugs/supersized/supersized.3.2.7.min.js"></script>
  55. {/block}