layout.htm 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>${projectTitle!}</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <link href="/admin/assets/css/bootstrap.min.css" rel="stylesheet" />
  8. <link rel="stylesheet" href="/admin/assets/css/font-awesome.min.css" />
  9. <link rel="stylesheet" href="/admin/assets/css/ace.min.css" />
  10. <link rel="stylesheet" href="/admin/assets/css/ace-rtl.min.css" />
  11. <link rel="stylesheet" href="/admin/assets/css/ace-skins.min.css" />
  12. <link rel="stylesheet" href="/admin/css/style.css" />
  13. <link rel="stylesheet" href="/admin/css/font_6jaydwydcya7zaor.css"/>
  14. <script src="/admin/assets/js/ace-extra.min.js"></script>
  15. <script src="/admin/script/jquery.min.js"></script>
  16. <script src="/admin/script/jquery.form.js"></script>
  17. <script src="/admin/assets/js/bootstrap.min.js"></script>
  18. <script src="/admin/assets/js/typeahead-bs2.min.js"></script>
  19. <script src="/admin/assets/js/ace-elements.min.js"></script>
  20. <script src="/admin/assets/js/ace.min.js"></script>
  21. <style type="text/css">
  22. .form-actions{
  23. background-color:#fff;
  24. border: 0px;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29. <div class="navbar navbar-default" id="navbar">
  30. <div class="navbar-container" id="navbar-container">
  31. <div class="navbar-header pull-left">
  32. <a href="/admin/dashboard" class="navbar-brand"><small><i class="icon-home"></i><span style="margin-left: 10px;">${projectTitle!}</span></small></a>
  33. </div>
  34. <div class="navbar-header pull-right" role="navigation">
  35. <ul class="nav ace-nav">
  36. <li class="light-blue">
  37. <a href="/admin/layout" class="dropdown-toggle">退出</a>
  38. </li>
  39. </ul>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="main-container" id="main-container">
  44. <div class="main-container-inner">
  45. <a class="menu-toggler" id="menu-toggler" href="javascript:void(0)">
  46. <span class="menu-text"></span>
  47. </a>
  48. <div class="sidebar" id="sidebar">
  49. <ul class="nav nav-list">
  50. ##for(_menu in session.menus){
  51. ##if(exist("menu") && menu==_menu.url){
  52. <li class="active" style="margin-bottom: 5px;">
  53. <a href="${_menu.url!}">
  54. <i class="${_menu.icon!}"></i>
  55. <span class="menu-text">
  56. ${_menu.title!}
  57. </span>
  58. </a>
  59. </li>
  60. ##}else{
  61. <li style="margin-bottom: 5px;">
  62. <a href="${_menu.url!}">
  63. <i class="${_menu.icon!}"></i>
  64. <span class="menu-text">
  65. ${_menu.title!}
  66. </span>
  67. </a>
  68. </li>
  69. ##}
  70. ##}
  71. </ul>
  72. </div>
  73. <div class="main-content">
  74. ${layoutContent}
  75. </div>
  76. </div>
  77. </div>
  78. <div class="tanchu_bg" id="tanchu_bg">
  79. <iframe id="tanchu_ifream" src="/admin/blank" scrolling="no" allowtransparency="true"></iframe>
  80. </div>
  81. <script>
  82. function hideAlert(){
  83. $("#tanchu_bg").hide();
  84. $("#tanchu_ifream").attr("src","/admin/blank");
  85. }
  86. function showAlert(url){
  87. $("#tanchu_ifream").attr("src",url);
  88. $("#tanchu_bg").show();
  89. }
  90. </script>
  91. </body>
  92. </html>