login.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. {include file="common/meta" /}
  5. <style type="text/css">
  6. body {
  7. color: #999;
  8. background-color: #f1f4fd;
  9. background-size: cover;
  10. /*background-image: url("/uploads/bg.png");*/
  11. }
  12. a {
  13. color: #444;
  14. }
  15. .login-screen {
  16. max-width: 430px;
  17. padding: 0;
  18. margin: 100px auto 0 auto;
  19. }
  20. .login-screen .well {
  21. border-radius: 3px;
  22. -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  23. box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  24. background: rgba(255, 255, 255, 1);
  25. border: none;
  26. /*overflow: hidden;*/
  27. padding: 0;
  28. }
  29. @media (max-width: 767px) {
  30. .login-screen {
  31. padding: 0 20px;
  32. }
  33. }
  34. .profile-img-card {
  35. width: 100px;
  36. height: 100px;
  37. display: block;
  38. -moz-border-radius: 50%;
  39. -webkit-border-radius: 50%;
  40. border-radius: 50%;
  41. margin: -93px auto 30px;
  42. /*border: 5px solid #fff;*/
  43. }
  44. .profile-name-card {
  45. text-align: center;
  46. }
  47. .login-head {
  48. background: #899fe1;
  49. border-radius: 3px 3px 0 0;
  50. }
  51. .login-form {
  52. padding: 40px 30px;
  53. position: relative;
  54. z-index: 99;
  55. }
  56. #login-form {
  57. margin-top: 20px;
  58. }
  59. #login-form .input-group {
  60. margin-bottom: 15px;
  61. }
  62. #login-form .form-control {
  63. font-size: 13px;
  64. }
  65. </style>
  66. <!--@formatter:off-->
  67. {if $background}
  68. <style type="text/css">
  69. body{
  70. background-image: url('{$background}');
  71. }
  72. </style>
  73. {/if}
  74. <!--@formatter:on-->
  75. </head>
  76. <body>
  77. <div class="container">
  78. <div class="login-wrapper">
  79. <div class="login-screen">
  80. <div class="well">
  81. <div class="login-head">
  82. <img src="__CDN__/uploads/login.png" style="width:100%;"/>
  83. </div>
  84. <div class="login-form">
  85. <!-- <img id="profile-img" class="profile-img-card" src="__CDN__/assets/img/avatar.png"/>-->
  86. <p id="profile-name" class="profile-name-card"></p>
  87. <form action="" method="post" id="login-form">
  88. <!--@AdminLoginFormBegin-->
  89. <div id="errtips" class="hide"></div>
  90. {:token()}
  91. <div class="input-group">
  92. <div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
  93. <input type="text" class="form-control" id="pd-form-username" placeholder="{:__('Username')}" name="username" autocomplete="off" value="" data-rule="{:__('Username')}:required;username"/>
  94. </div>
  95. <div class="input-group">
  96. <div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>
  97. <input type="password" class="form-control" id="pd-form-password" placeholder="{:__('Password')}" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;password"/>
  98. </div>
  99. <!--@CaptchaBegin-->
  100. {if $Think.config.fastadmin.login_captcha}
  101. <div class="input-group">
  102. <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
  103. <input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length({$Think.config.captcha.length})" autocomplete="off"/>
  104. <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
  105. <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>
  106. </span>
  107. </div>
  108. {/if}
  109. <!--@CaptchaEnd-->
  110. {if $keeyloginhours>0}
  111. <div class="form-group checkbox">
  112. <label class="inline" for="keeplogin" data-toggle="tooltip" title="{:__('The duration of the session is %s hours', $keeyloginhours)}">
  113. <input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>
  114. {:__('Keep login')}
  115. </label>
  116. </div>
  117. {/if}
  118. <div class="form-group">
  119. <button type="submit" class="btn btn-success btn-lg btn-block" style="background:#708eea;">{:__('Sign in')}</button>
  120. </div>
  121. <!--@AdminLoginFormEnd-->
  122. </form>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. {include file="common/script" /}
  129. </body>
  130. </html>
  131. <!--<!DOCTYPE html>-->
  132. <!--<html>-->
  133. <!--<head>-->
  134. <!-- {include file="common/meta" /}-->
  135. <!-- <style type="text/css">-->
  136. <!-- body {-->
  137. <!-- color: #999;-->
  138. <!-- background-color: #f1f4fd;-->
  139. <!-- background-size: cover;-->
  140. <!-- }-->
  141. <!-- a {-->
  142. <!-- color: #444;-->
  143. <!-- }-->
  144. <!-- .login-screen {-->
  145. <!-- max-width: 430px;-->
  146. <!-- padding: 0;-->
  147. <!-- margin: 100px auto 0 auto;-->
  148. <!-- }-->
  149. <!-- .login-screen .well {-->
  150. <!-- border-radius: 3px;-->
  151. <!-- -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);-->
  152. <!-- box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);-->
  153. <!-- background: rgba(255, 255, 255, 1);-->
  154. <!-- border: none;-->
  155. <!-- /*overflow: hidden;*/-->
  156. <!-- padding: 0;-->
  157. <!-- }-->
  158. <!-- @media (max-width: 767px) {-->
  159. <!-- .login-screen {-->
  160. <!-- padding: 0 20px;-->
  161. <!-- }-->
  162. <!-- }-->
  163. <!-- .profile-img-card {-->
  164. <!-- width: 100px;-->
  165. <!-- height: 100px;-->
  166. <!-- display: block;-->
  167. <!-- -moz-border-radius: 50%;-->
  168. <!-- -webkit-border-radius: 50%;-->
  169. <!-- border-radius: 50%;-->
  170. <!-- margin: -93px auto 30px;-->
  171. <!-- border: 5px solid #fff;-->
  172. <!-- }-->
  173. <!-- .profile-name-card {-->
  174. <!-- text-align: center;-->
  175. <!-- }-->
  176. <!-- .login-head {-->
  177. <!-- background: #899fe1;-->
  178. <!-- border-radius: 3px 3px 0 0;-->
  179. <!-- }-->
  180. <!-- .login-form {-->
  181. <!-- padding: 40px 30px;-->
  182. <!-- position: relative;-->
  183. <!-- z-index: 99;-->
  184. <!-- }-->
  185. <!-- #login-form {-->
  186. <!-- margin-top: 20px;-->
  187. <!-- }-->
  188. <!-- #login-form .input-group {-->
  189. <!-- margin-bottom: 15px;-->
  190. <!-- }-->
  191. <!-- #login-form .form-control {-->
  192. <!-- font-size: 13px;-->
  193. <!-- }-->
  194. <!-- </style>-->
  195. <!-- &lt;!&ndash;@formatter:off&ndash;&gt;-->
  196. <!-- {if $background}-->
  197. <!-- <style type="text/css">-->
  198. <!-- body{-->
  199. <!-- background-image: url('{$background}');-->
  200. <!-- }-->
  201. <!-- </style>-->
  202. <!-- {/if}-->
  203. <!-- &lt;!&ndash;@formatter:on&ndash;&gt;-->
  204. <!--</head>-->
  205. <!--<body>-->
  206. <!--<div class="container">-->
  207. <!-- <div class="login-wrapper">-->
  208. <!-- <br>-->
  209. <!-- <br>-->
  210. <!-- <div class="login-screen" style="margin-left: 400px">-->
  211. <!-- <div class="well">-->
  212. <!-- <div class="login-head">-->
  213. <!-- <img src="__CDN__/assets/img/login-head.png" style="width:100%;"/>-->
  214. <!--&lt;!&ndash; <img src="/uploads/bg.png" style="width:100%;"/>&ndash;&gt;-->
  215. <!-- </div>-->
  216. <!-- <div class="login-form">-->
  217. <!-- <img id="profile-img" class="profile-img-card" src="__CDN__/assets/img/avatar.png"/>-->
  218. <!-- <p id="profile-name" class="profile-name-card"></p>-->
  219. <!-- <form action="" method="post" id="login-form">-->
  220. <!-- &lt;!&ndash;@AdminLoginFormBegin&ndash;&gt;-->
  221. <!-- <div id="errtips" class="hide"></div>-->
  222. <!-- {:token()}-->
  223. <!-- <div class="input-group">-->
  224. <!-- <div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>-->
  225. <!-- <input type="text" class="form-control" id="pd-form-username" placeholder="{:__('Username')}" name="username" autocomplete="off" value="" data-rule="{:__('Username')}:required;username"/>-->
  226. <!-- </div>-->
  227. <!-- <div class="input-group">-->
  228. <!-- <div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>-->
  229. <!-- <input type="password" class="form-control" id="pd-form-password" placeholder="{:__('Password')}" name="password" autocomplete="off" value="" data-rule="{:__('Password')}:required;password"/>-->
  230. <!-- </div>-->
  231. <!-- &lt;!&ndash;@CaptchaBegin&ndash;&gt;-->
  232. <!-- {if $Think.config.fastadmin.login_captcha}-->
  233. <!-- <div class="input-group">-->
  234. <!-- <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>-->
  235. <!-- <input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="{:__('Captcha')}:required;length({$Think.config.captcha.length})" autocomplete="off"/>-->
  236. <!-- <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">-->
  237. <!-- <img src="{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha" width="100" height="30" onclick="this.src = '{:rtrim('__PUBLIC__', '/')}/index.php?s=/captcha&r=' + Math.random();"/>-->
  238. <!-- </span>-->
  239. <!-- </div>-->
  240. <!-- {/if}-->
  241. <!-- &lt;!&ndash;@CaptchaEnd&ndash;&gt;-->
  242. <!-- {if $keeyloginhours>0}-->
  243. <!-- <div class="form-group checkbox">-->
  244. <!-- <label class="inline" for="keeplogin" data-toggle="tooltip" title="{:__('The duration of the session is %s hours', $keeyloginhours)}">-->
  245. <!-- <input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>-->
  246. <!-- {:__('Keep login')}-->
  247. <!-- </label>-->
  248. <!-- </div>-->
  249. <!-- {/if}-->
  250. <!-- <div class="form-group">-->
  251. <!-- <button type="submit" class="btn btn-success btn-lg btn-block" style="background:#708eea;">{:__('Sign in')}</button>-->
  252. <!-- </div>-->
  253. <!-- &lt;!&ndash;@AdminLoginFormEnd&ndash;&gt;-->
  254. <!-- </form>-->
  255. <!-- </div>-->
  256. <!-- </div>-->
  257. <!-- </div>-->
  258. <!-- </div>-->
  259. <!--</div>-->
  260. <!--{include file="common/script" /}-->
  261. <!--</body>-->
  262. <!--</html>-->