layout.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <title>{{.siteName}}</title>
  7. {{if .zTree}}
  8. <link rel="stylesheet" href="/static/zTree3/css/demo.css?t=5" type="text/css">
  9. <link rel="stylesheet" href="/static/zTree3/css/zTreeStyle/zTreeStyle.css" type="text/css">
  10. {{end}}
  11. <link rel="stylesheet" href="/static/layui/css/layui.css">
  12. <link rel="stylesheet" href="/static/css/main.css?s=1223">
  13. {{if .ApiCss}}
  14. <link rel="stylesheet" href="/static/css/api.css?s=426">
  15. {{end}}
  16. <link rel="stylesheet" href="/static/font-awesome/css/font-awesome.min.css" media="all">
  17. <script src="/static/layui/layui.js?s=36"></script>
  18. </head>
  19. <body>
  20. <div class="nav-title">
  21. <div class="tl fl">
  22. {{.pageTitle}}
  23. </div>
  24. <div class="tr fr">
  25. <button class="layui-btn layui-btn-radius layui-btn-primary layui-btn-xs" onclick="javascript:history.go(-1);"><i class="fa fa-arrow-left" aria-hidden="true"></i></button>
  26. <button class="layui-btn layui-btn-radius layui-btn-primary layui-btn-xs" onclick="javascript:window.location.reload();"><i class="fa fa-refresh" aria-hidden="true"></i></button>
  27. </div>
  28. </div>
  29. <!-- 内容主体区域 -->
  30. {{.LayoutContent}}
  31. </body>
  32. </html>