viewfile.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:sec="http://www.pollix.at/thymeleaf/shiro">
  4. <head th:replace="admin/common/html/tableHead :: head(~{::title},~{::link},~{::style})">
  5. <title th:text=${title}></title>
  6. <!-- 这儿引用单独的css link -->
  7. <!-- Ladda for Bootstrap 3按钮加载进度插件 -->
  8. <link rel="stylesheet" th:href="@{/static/admin/assets/js/button/ladda/ladda.min.css}">
  9. <style type="text/css">
  10. .content-wrap {
  11. padding: 0px;
  12. }
  13. body {
  14. color: #9ea7b3;
  15. font-family: "Open Sans", Arial, sans-serif!important;
  16. font-size: 13px!important;
  17. line-height: 20px;
  18. overflow-x: hidden!important;
  19. min-height: 100%;
  20. z-index: -2;
  21. margin: 0px !important;
  22. background: url() no-repeat top center fixed;
  23. -moz-background-size: cover;
  24. -webkit-background-size: cover;
  25. -o-background-size: cover;
  26. background-size: cover;
  27. }
  28. label.error {
  29. position: absolute;
  30. right: 18px;
  31. top: 5px;
  32. color: #ef392b;
  33. font-size: 12px;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <div id="fcapp" class="content-wrap">
  39. <div class="row">
  40. <div class="col-sm-12">
  41. <div class="nest" id="elementClose">
  42. <div class="">
  43. </div>
  44. <div class="body-nest" id="element">
  45. <div class="panel-body">
  46. <form class="form-horizontal m" id="form-view" >
  47. <div class="form-group" th:each="sysdata : ${tsysDatas}">
  48. <div class="col-sm-8">
  49. <img th:if="${sysdata.fileSuffix=='.jpg' || sysdata.fileSuffix=='.gif'||sysdata.fileSuffix=='.png'||sysdata.fileSuffix=='.jpeg'}" th:src="@{'/'+${sysdata.filePath}}">
  50. <a th:if="${sysdata.fileSuffix!='.jpg' || sysdata.fileSuffix!='.gif'||sysdata.fileSuffix!='.png'||sysdata.fileSuffix!='.jpeg'}" th:href="@{'/'+${sysdata.filePath}}">点击下载</a>
  51. </div>
  52. </div>
  53. </form>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. </body>
  61. </html>