left.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>{:app_conf("SITE_NAME")}{:l("ADMIN_PLATFORM")}</title>
  6. <load href='__TMPL__Common/new/css/reset.css' />
  7. <load href='__TMPL__Common/new/css/frame.css' />
  8. <load href='__TMPL__Common/js/jquery.js' />
  9. <load href='__TMPL__Common/js/jquery.timer.js' />
  10. <load href='__TMPL__Common/js/left.js' />
  11. </head>
  12. <body>
  13. <div class="layout-left">
  14. <volist name="menus" id="menu_group" key="k">
  15. <div class="nav ">
  16. <div class="navlist hasmore <if condition="$k gt 0">a</if> active">
  17. <a class="" href="javascript:void(0)" >
  18. <i class="iconfont left basicdata"><b class="bg-success"></b></i>
  19. <span>{$menu_group.name}</span>
  20. <i class="iconfont right"></i>
  21. <div class="blank0"></div>
  22. </a>
  23. <div class="navtwo">
  24. <foreach name="menu_group.nodes" item="node">
  25. <a class="linkto " href="javascript:void(0)" data-href="{:u($node["module"]."/".$node["action"])}">
  26. <i class="iconfont left">&#xe60b;</i>
  27. <span>{$node.name}</span>
  28. <i class="iconfont right"></i>
  29. <div class="blank0"></div>
  30. </a>
  31. </foreach>
  32. </div>
  33. </div>
  34. </div>
  35. </volist>
  36. </div>
  37. <script type="text/javascript">
  38. $(document).ready(function(){
  39. });
  40. </script>
  41. </body>
  42. </html>
  43. <!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  44. <html xmlns="http://www.w3.org/1999/xhtml">
  45. <head>
  46. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  47. <title>{:app_conf("SITE_NAME")}{:l("ADMIN_PLATFORM")}</title>
  48. <load href='__TMPL__Common/style/style.css' />
  49. <load href='__TMPL__Common/style/left.css' />
  50. <load href='__TMPL__Common/js/jquery.js' />
  51. <load href='__TMPL__Common/js/jquery.timer.js' />
  52. <load href='__TMPL__Common/js/left.js' />
  53. </head>
  54. <body>
  55. <volist name="menus" id="menu_group" key="k">
  56. <dl class="menu <if condition="$k gt 1">menu-hide</if>">
  57. <dt>{$menu_group.name}</dt>
  58. <foreach name="menu_group.nodes" item="node">
  59. <dd><a href="{:u($node["module"]."/".$node["action"])}">{$node.name}</a></dd>
  60. </foreach>
  61. </dl>
  62. </volist>
  63. <script type="text/javascript">
  64. jQuery(function(){
  65. $(".menu dt").click(function(){
  66. if($(this).parent().hasClass("menu-hide")){
  67. $(this).parent().removeClass("menu-hide");
  68. }
  69. else{
  70. $(this).parent().addClass("menu-hide");
  71. }
  72. });
  73. })
  74. </script>
  75. </body>
  76. </html> -->