list.tpl 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>标签列表 - Powered by MinDoc</title>
  8. <meta name="author" content="Minho" />
  9. <meta name="site" content="https://www.iminho.me" />
  10. <!-- Bootstrap -->
  11. <link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet">
  12. <link href="{{cdncss "/static/font-awesome/css/font-awesome.min.css"}}" rel="stylesheet">
  13. <link href="{{cdncss "/static/css/main.css"}}" rel="stylesheet">
  14. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  15. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  16. <!--[if lt IE 9]>
  17. <script src="/static/html5shiv/3.7.3/html5shiv.min.js"></script>
  18. <script src="/static/respond.js/1.4.2/respond.min.js"></script>
  19. <![endif]-->
  20. </head>
  21. <body>
  22. <div class="manual-reader manual-container manual-search-reader">
  23. {{template "widgets/header.tpl" .}}
  24. <div class="container manual-body">
  25. <div class="search-head">
  26. <strong class="search-title">显示标签列表</strong>
  27. </div>
  28. <div class="row">
  29. {{if gt (.Labels|len) 0}}
  30. <div class="hide tag-container-outer" style="border: 0;margin-top: 0;padding: 5px 15px;min-height: 200px;">
  31. <span class="tags">
  32. {{range $index,$item := .Labels}}
  33. <a href="{{urlfor "LabelController.Index" ":key" $item.LabelName}}">{{$item.LabelName}}<span class="detail">{{$item.BookNumber}}</span></a>
  34. {{end}}
  35. </span>
  36. </div>
  37. {{end}}
  38. <nav class="pagination-container">
  39. {{if gt .TotalPages 1}}
  40. {{.PageHtml}}
  41. {{end}}
  42. <div class="clearfix"></div>
  43. </nav>
  44. </div>
  45. </div>
  46. {{template "widgets/footer.tpl" .}}
  47. </div>
  48. <script src="{{cdnjs "/static/jquery/1.12.4/jquery.min.js"}}" type="text/javascript"></script>
  49. <script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}" type="text/javascript"></script>
  50. </body>
  51. </html>