home-tabs.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <div class="f-home-tabs">
  2. <!-- Top Bar -->
  3. <div class="flex-header">
  4. <div class="nav-title">
  5. <div style=" margin-left:20px;">
  6. <!--<img style="width:60px;height:62px;" src="/api/resource/Logo"/>-->
  7. </div>
  8. <div>
  9. <div style=" margin-left: -25px; margin-top: 20px;">
  10. <ul><li style="font-size: 28px;">{{htmlResource.Title}}</li>
  11. <li style="font-size: 14px;">{{htmlResource.EnTitle}}</li></ul>
  12. </div>
  13. </div>
  14. </div>
  15. <div class="nav-user">
  16. <div>
  17. <!--<a ng-click="logout()" class="dropdown-toggle" data-toggle="dropdown" role="button">-->
  18. <!--&lt;!&ndash;<img style="width:24px;height:24px;" src="images/logout.svg">&ndash;&gt;-->
  19. <!--<span class="icon iconfont">&#xe623;</span>-->
  20. <!--</a>-->
  21. <span style="padding-right: 5px; margin-bottom: 1px;"><!--当前角色:{{User.roleName}}-->&nbsp;&nbsp;&nbsp;{{now|date:'yyyy年MM月dd日 HH:mm:ss'}} {{week}}</span>
  22. <i class="material-icons" style="float: left;margin-right: 7px;font-size: 20px;" title="">help_outline</i>
  23. <i ng-click="updatePwd()" class="material-icons" title="修改密码" style="float: left;margin-right: 7px;font-size: 20px; cursor:pointer;">lock_outline</i>
  24. <a ng-click="logout()" class="dropdown-toggle" data-toggle="dropdown" role="button" title="退出登录">
  25. <i class="material-icons" style="float: left;margin-right: 7px;font-size: 20px;">power_settings_new</i>
  26. </a>
  27. </div>
  28. </div>
  29. </div>
  30. <!-- #Top Bar -->
  31. <div class="page_content" ng-class="{'sidebar-collapsed':!menudatas.toggle,'sidebar-collapsed-back':menudatas.toggle}">
  32. <!-- Left Sidebar -->
  33. <aside class="leftsidebar">
  34. <!-- User Info -->
  35. <div class="user-info">
  36. <div class="toggle-user-info">
  37. <div class="image">
  38. <img ng-src="images/man.jpg" onerror="this.src='images/man.jpg'" width="48" height="48"
  39. alt="User" />
  40. </div>
  41. <!--<div class="info-container" style="display: none;">
  42. <div class="name" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></div>
  43. </div>-->
  44. <div class="user-name1">
  45. {{User.name}}
  46. </div>
  47. </div>
  48. <div class="btn-toggle">
  49. <a class="sidebar-icon" ng-click="menudatas.toggle=!menudatas.toggle">
  50. <span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>
  51. </a>
  52. </div>
  53. </div>
  54. <div class="mainmenu" ng-if="menudatas.toggle">
  55. <div class="header">
  56. 工作导航
  57. </div>
  58. <div class="sidebar">
  59. <div class="menu">
  60. <ul class="list">
  61. <li ng-repeat="panel in panels" ng-include="'menuNodes.html'"
  62. class="{{panel.childShow==1?'active':''}}">
  63. </li>
  64. </ul>
  65. <script type="text/ng-template" id="menuNodes.html">
  66. <a ng-if="panel.isblank!='1' && panel.name"
  67. class="waves-effect waves-block {{(panel.cNodes&&panel.cNodes.length>0)?(panel.childShow==0?'menu-toggle':'menu-toggle toggled'):''}}"
  68. ng-click="menutoggle(panel)"
  69. bs-ui-sref="{{panel.name}}">
  70. <i class="material-icons">{{panel.icon}}</i>
  71. <span>{{panel.title}}</span>
  72. </a>
  73. <a ng-if="panel.isblank!='1' && !panel.name"
  74. class="waves-effect waves-block {{(panel.cNodes&&panel.cNodes.length>0)?(panel.childShow==0?'menu-toggle':'menu-toggle toggled'):''}}"
  75. ng-click="menutoggle(panel)">
  76. <i class="material-icons">{{panel.icon}}</i>
  77. <span>{{panel.title}}</span>
  78. </a>
  79. <a ng-if="panel.isblank=='1'"
  80. class="waves-effect waves-block {{(panel.cNodes&&panel.cNodes.length>0)?(panel.childShow==0?'menu-toggle':'menu-toggle toggled'):''}}"
  81. href="{{panel.url}}" target="_blank">
  82. <span>{{panel.title}}</span>
  83. </a>
  84. <div ng-hide="panel.childShow==0">
  85. <ul class="ml-menu">
  86. <li ng-repeat="panel in panel.cNodes" ng-include="'menuNodes.html'"
  87. class="{{panel.childShow==1?'active':''}}"></li>
  88. </ul>
  89. </div>
  90. </script>
  91. </div>
  92. </div>
  93. </div>
  94. </aside>
  95. <!-- tabs content -->
  96. <div class="content">
  97. <div class="div-f" ng-controller="homeTabsCtrl">
  98. <div class="div-tabs" bs-tabs data-template="home/tab.tpl.html" data-nav-class="nav-tabs nav-tabs-a" bs-active-pane="tabs.activeTab">
  99. <div data-title="{{ tab.title }}" bs-pane-url panedata="tab" name="{{ tab.name }}" ng-repeat="tab in tabs" bs-tab-pane-heigth>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>