55643213a0312eacd3a9d773cff91fa3.php 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:70:"/www/wwwroot/baoxian/public/../application/admin/view/index/login.html";i:1627698986;s:60:"/www/wwwroot/baoxian/application/admin/view/common/meta.html";i:1627698986;s:62:"/www/wwwroot/baoxian/application/admin/view/common/script.html";i:1627698986;}*/ ?>
  2. <!DOCTYPE html>
  3. <html lang="<?php echo $config['language']; ?>">
  4. <head>
  5. <meta charset="utf-8">
  6. <title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
  8. <meta name="renderer" content="webkit">
  9. <meta name="referrer" content="never">
  10. <meta name="robots" content="noindex, nofollow">
  11. <link rel="shortcut icon" href="/assets/img/favicon.ico" />
  12. <!-- Loading Bootstrap -->
  13. <link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  14. <?php if(\think\Config::get('fastadmin.adminskin')): ?>
  15. <link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
  16. <?php endif; ?>
  17. <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
  18. <!--[if lt IE 9]>
  19. <script src="/assets/js/html5shiv.js"></script>
  20. <script src="/assets/js/respond.min.js"></script>
  21. <![endif]-->
  22. <script type="text/javascript">
  23. var require = {
  24. config: <?php echo json_encode($config); ?>
  25. };
  26. </script>
  27. <style type="text/css">
  28. body {
  29. color: #999;
  30. background-color: #f1f4fd;
  31. background-size: cover;
  32. }
  33. a {
  34. color: #444;
  35. }
  36. .login-screen {
  37. max-width: 430px;
  38. padding: 0;
  39. margin: 100px auto 0 auto;
  40. }
  41. .login-screen .well {
  42. border-radius: 3px;
  43. -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  44. box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  45. background: rgba(255, 255, 255, 1);
  46. border: none;
  47. overflow: hidden;
  48. padding: 0;
  49. }
  50. @media (max-width: 767px) {
  51. .login-screen {
  52. padding: 0 20px;
  53. }
  54. }
  55. .profile-img-card {
  56. width: 100px;
  57. height: 100px;
  58. display: block;
  59. -moz-border-radius: 50%;
  60. -webkit-border-radius: 50%;
  61. border-radius: 50%;
  62. margin: -93px auto 30px;
  63. border: 5px solid #fff;
  64. }
  65. .profile-name-card {
  66. text-align: center;
  67. }
  68. .login-head {
  69. background: #899fe1;
  70. }
  71. .login-form {
  72. padding: 40px 30px;
  73. position: relative;
  74. z-index: 99;
  75. }
  76. #login-form {
  77. margin-top: 20px;
  78. }
  79. #login-form .input-group {
  80. margin-bottom: 15px;
  81. }
  82. #login-form .form-control {
  83. font-size: 13px;
  84. }
  85. </style>
  86. <!--@formatter:off-->
  87. <?php if($background): ?>
  88. <style type="text/css">
  89. body{
  90. background-image: url('<?php echo $background; ?>');
  91. }
  92. </style>
  93. <?php endif; ?>
  94. <!--@formatter:on-->
  95. </head>
  96. <body>
  97. <div class="container">
  98. <div class="login-wrapper">
  99. <div class="login-screen">
  100. <div class="well">
  101. <div class="login-head">
  102. <img src="/assets/img/login-head.png" style="width:100%;"/>
  103. </div>
  104. <div class="login-form">
  105. <img id="profile-img" class="profile-img-card" src="/assets/img/avatar.png"/>
  106. <p id="profile-name" class="profile-name-card"></p>
  107. <form action="" method="post" id="login-form">
  108. <div id="errtips" class="hide"></div>
  109. <?php echo token(); ?>
  110. <div class="input-group">
  111. <div class="input-group-addon"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></div>
  112. <input type="text" class="form-control" id="pd-form-username" placeholder="<?php echo __('Username'); ?>" name="username" autocomplete="off" value="" data-rule="<?php echo __('Username'); ?>:required;username"/>
  113. </div>
  114. <div class="input-group">
  115. <div class="input-group-addon"><span class="glyphicon glyphicon-lock" aria-hidden="true"></span></div>
  116. <input type="password" class="form-control" id="pd-form-password" placeholder="<?php echo __('Password'); ?>" name="password" autocomplete="off" value="" data-rule="<?php echo __('Password'); ?>:required;password"/>
  117. </div>
  118. <?php if(\think\Config::get('fastadmin.login_captcha')): ?>
  119. <div class="input-group">
  120. <div class="input-group-addon"><span class="glyphicon glyphicon-option-horizontal" aria-hidden="true"></span></div>
  121. <input type="text" name="captcha" class="form-control" placeholder="<?php echo __('Captcha'); ?>" data-rule="<?php echo __('Captcha'); ?>:required;length(4)" autocomplete="off"/>
  122. <span class="input-group-addon" style="padding:0;border:none;cursor:pointer;">
  123. <img src="<?php echo rtrim('/', '/'); ?>/index.php?s=/captcha" width="100" height="30" onclick="this.src = '<?php echo rtrim('/', '/'); ?>/index.php?s=/captcha&r=' + Math.random();"/>
  124. </span>
  125. </div>
  126. <?php endif; ?>
  127. <div class="form-group checkbox">
  128. <label class="inline" for="keeplogin">
  129. <input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>
  130. <?php echo __('Keep login'); ?>
  131. </label>
  132. </div>
  133. <div class="form-group">
  134. <button type="submit" class="btn btn-success btn-lg btn-block" style="background:#708eea;"><?php echo __('Sign in'); ?></button>
  135. </div>
  136. </form>
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. </div>
  142. <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
  143. </body>
  144. </html>