main.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!DOCTYPE html>
  2. <html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <!--360浏览器优先以webkit内核解析-->
  7. <title></title>
  8. <link rel="shortcut icon" href="faviconOld.ico">
  9. <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
  10. <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
  11. <link href="../static/css/animate.min.css" th:href="@{/css/animate.min.css}" rel="stylesheet"/>
  12. <link href="../static/css/style.min862f.css" th:href="@{/css/style.min862f.css}" rel="stylesheet"/>
  13. <th:block th:include="include :: header('首页')" />
  14. <style type="text/css">
  15. .aInput {
  16. position: relative;
  17. color: rgba(255,255,255,1);
  18. text-decoration: none;
  19. background-color: rgba(60,141,188,1);
  20. font-family: 'Yanone Kaffeesatz';
  21. /*font-weight: 700;*/
  22. /*font-size: 2em;*/
  23. display: block;
  24. padding: 4px;
  25. -webkit-border-radius: 20px;
  26. -moz-border-radius: 20px;
  27. border-radius: 20px;
  28. -webkit-box-shadow: 0px 9px 0px rgba(60,141,188,1), 0px 9px 25px rgba(60,64,81,.7);
  29. -moz-box-shadow: 0px 9px 0px rgba(60,141,188,1), 0px 9px 25px rgba(60,64,81,.7);
  30. box-shadow: 0px 9px 0px rgba(60,141,188,1), 0px 9px 25px rgba(60,64,81,.7);
  31. margin: 20px auto;
  32. width: 60px;
  33. height: 60px;
  34. text-align: center;
  35. -webkit-transition: all .1s ease;
  36. -moz-transition: all .1s ease;
  37. -ms-transition: all .1s ease;
  38. -o-transition: all .1s ease;
  39. transition: all .1s ease;
  40. }
  41. .aInput:active {
  42. -webkit-box-shadow: 0px 3px 0px rgba(60,141,188,1), 0px 3px 6px rgba(60,64,81,.9);
  43. -moz-box-shadow: 0px 3px 0px rgba(60,141,188,1), 0px 3px 6px rgba(60,64,81,.9);
  44. box-shadow: 0px 3px 0px rgba(60,141,188,1), 0px 3px 6px rgba(60,64,81,.9);
  45. position: relative;
  46. top: 6px;
  47. }
  48. </style>
  49. </head>
  50. <body class="gray-bg">
  51. <div class="container-div">
  52. <div class="row">
  53. <div class="col-sm-12">
  54. <div class="ibox float-e-margins">
  55. <div class="ibox-title">
  56. <h3>系统状态</h3>
  57. </div>
  58. <div class="row" >
  59. <div class="col-sm-3" th:each="dangan:${danganList}">
  60. <div class="float-e-margins" style="text-align: center;border: none">
  61. <div >
  62. <!--<input type="text" th:value="${#httpServletRequest.getScheme() + '://' + #httpServletRequest.getServerName() + ':' + #request.getServerPort()}">-->
  63. <!--<button class="btn btn-primary dim" type="button" th:style="'background:url(' +${dangan.dangan==null?'':dangan.dangan.iconInfo}+') no-repeat center center;width:50px;height:50px;background-size:100% 100%'" th:onclick="opennewpage([[${dangan.danganUrl}]] ,[[${dangan.danganNums} ]]);">-->
  64. <a class="aInput" th:style="'background:url(' +${dangan.dangan==null?'':dangan.dangan.iconInfo}+') no-repeat center center;background-size:100% 100%'" th:onclick="opennewpage([[${dangan.danganUrl}]] ,[[${dangan.danganNums} ]]);"></a>
  65. <h3 class="no-margins" style="color:#1e9fff" th:text="${dangan.danganName}"></h3>
  66. <h4 th:text="${@dict.getLabel('sys_dangan_status', dangan.danganStatus)}" ></h4><br>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <script th:inline="javascript">
  76. var sessionId = [[${sessionId}]];
  77. function opennewpage(url,danganLoginName) {
  78. // window.location.href=url;
  79. url = url+"?"+"reqid="+sessionId;
  80. console.log(url)
  81. window.open(url)
  82. // console.log(danganLoginName)
  83. //
  84. // console.log(sessionId)
  85. }
  86. </script>
  87. </body>
  88. </html>