You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

login.html 8.1 kB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <!DOCTYPE html>
  2. <html dir="ltr" lang="en" xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <!-- Tell the browser to be responsive to screen width -->
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <meta name="description" content="">
  9. <meta name="author" content="">
  10. <!-- Favicon icon -->
  11. <link rel="icon" type="image/png" sizes="16x16" th:href="@{/assets/images/favicon.png}">
  12. <title>登录·网络情报分析系统</title>
  13. <script th:src="@{/common/analyze-cloud.js}"></script>
  14. <!---->
  15. <!-- Custom CSS -->
  16. <link th:href="@{/dist/css/style.min.css}" rel="stylesheet">
  17. <link th:href="@{/dist/css/custom.css}" rel="stylesheet">
  18. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  19. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  20. <!--[if lt IE 9]>
  21. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  22. <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  23. <![endif]-->
  24. </head>
  25. <body>
  26. <div class="main-wrapper">
  27. <!-- ============================================================== -->
  28. <!-- Preloader - style you can find in spinners.css -->
  29. <!-- ============================================================== -->
  30. <!-- <div class="preloader"> -->
  31. <!-- <div class="lds-ripple"> -->
  32. <!-- <div class="lds-pos"></div> -->
  33. <!-- <div class="lds-pos"></div> -->
  34. <!-- </div> -->
  35. <!-- </div> -->
  36. <!-- ============================================================== -->
  37. <!-- Preloader - style you can find in spinners.css -->
  38. <!-- ============================================================== -->
  39. <!-- ============================================================== -->
  40. <!-- Login box.scss -->
  41. <!-- ============================================================== -->
  42. <div class="auth-wrapper auth-wrapper-bg d-flex">
  43. <div class="login-header">
  44. <img th:src="@{/assets/images/favicon.png}" alt="">
  45. <span>思通数据</span>
  46. </div>
  47. <div class="auth-box-left slogan-wrapper">
  48. <div class="slogan">
  49. <img th:src="@{/assets/images/login-left.png}" alt="">
  50. </div>
  51. </div>
  52. <div class="auth-login p-r">
  53. <div class="loginform" id="loginform">
  54. <!-- Form -->
  55. <div class="row">
  56. <div class="col-12" style="height: 100%;">
  57. <div class="logo">
  58. <p class="login-title">登录</p>
  59. </div>
  60. <!--<form class="form-horizontal m-t-20" id="loginform" action="/login" method="post">-->
  61. <form class="form-horizontal m-t-20" id="loginform" method="post">
  62. <div class="input-group mb-4">
  63. <input required="required" type="text" class="form-control form-control-lg"
  64. name="telephone" placeholder-class="login-place" placeholder="用户名"
  65. aria-label="Username" aria-describedby="basic-addon1">
  66. </div>
  67. <div class="input-group mb-4">
  68. <input required="required" type="password" class="form-control form-control-lg"
  69. name="password" placeholder="密码" aria-label="Password"
  70. aria-describedby="basic-addon1">
  71. </div>
  72. <div class="form-group text-center">
  73. <div class="col-xs-12 p-b-20"
  74. style="display: flex; justify-content: space-between;align-items: center;">
  75. <a th:href="@{/forgotpwd}" style="color: #7290e0;">忘记密码?</a>
  76. <button class="btn btn-block btn-lg btn-info bt-login" type="button"
  77. onclick="login()">登录
  78. </button>
  79. </div>
  80. </div>
  81. </form>
  82. </div>
  83. <div class="cus-footer" style="color: #5a5a5a;"> © 2014-<span id="currentyear"></span> 南京涌亿思信息技术有限公司 苏ICP备17066984号-1</div>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. <!-- ============================================================== -->
  89. <!-- Login box.scss -->
  90. <!-- ============================================================== -->
  91. <!-- ============================================================== -->
  92. <!-- Page wrapper scss in scafholding.scss -->
  93. <!-- ============================================================== -->
  94. <!-- ============================================================== -->
  95. <!-- Page wrapper scss in scafholding.scss -->
  96. <!-- ============================================================== -->
  97. <!-- ============================================================== -->
  98. <!-- Right Sidebar -->
  99. <!-- ============================================================== -->
  100. <!-- ============================================================== -->
  101. <!-- Right Sidebar -->
  102. <!-- ============================================================== -->
  103. </div>
  104. <!-- ============================================================== -->
  105. <!-- All Required js -->
  106. <!-- ============================================================== -->
  107. <script th:src="@{/assets/libs/jquery/dist/jquery.min.js}"></script>
  108. <!-- Bootstrap tether Core JavaScript -->
  109. <script th:src="@{/assets/libs/popper.js/dist/umd/popper.min.js}"></script>
  110. <script th:src="@{/assets/libs/bootstrap/dist/js/bootstrap.min.js}"></script>
  111. <script th:src="@{/assets/libs/block-ui/jquery.blockUI.js}"></script>
  112. <script th:src="@{/dist/js/sidebarmenu.js}"></script>
  113. <script th:src="@{/dist/baidu/baidu_statistics.js}"></script>
  114. <!-- ============================================================== -->
  115. <!-- This page plugin js -->
  116. <!-- ============================================================== -->
  117. <script type="application/javascript">
  118. $("#currentyear").text((new Date()).getFullYear());
  119. $('[data-toggle="tooltip"]').tooltip();
  120. $(".preloader").fadeOut();
  121. // ==============================================================
  122. // Login and Recover Password
  123. // ==============================================================
  124. function login() {
  125. var telephone = $("input[name='telephone']").val();
  126. var password = $("input[name='password']").val();
  127. $.ajax({
  128. type: "POST",
  129. url: "/login",
  130. dataType: 'json',
  131. data: {
  132. telephone: telephone,
  133. password: password
  134. },
  135. success: function (res) {
  136. let code = res.code;
  137. let msg = res.msg;
  138. if (code == 1) {
  139. /*window.location.href = "/displayboard";*/
  140. //2021.7.26,跳转修改为数据监测页面
  141. window.location.href = "/monitor"
  142. } else if (code == 4) {
  143. showtips(msg);
  144. } else {
  145. showtips(msg);
  146. }
  147. },
  148. error: function (xhr, ajaxOptions, thrownError) {
  149. if (xhr.status == 403) {
  150. window.location.href = ctxPath + "login";
  151. }
  152. }
  153. });
  154. }
  155. </script>
  156. </body>
  157. </html>

一款开源免费的舆情系统。 支持本地化部署,支持在线体验。 支持对海量舆情数据分析和挖掘。