瀏覽代碼

加入Dashboard导航条

James Iter 8 年之前
父節點
當前提交
d27b02b1fa
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      templates/layout.html

+ 6 - 0
templates/layout.html

@@ -324,6 +324,12 @@
                 <div class="scroll-sidebar">
                     <ul id="sidebar-menu" data-spy="affix" data-offset-top="10">
                         <li class="header"><span>虚拟化管理平台</span></li>
+                        <li>
+                            <a href="{{ url_for('v_dashboard.show') }}" title="Dashboard">
+                                <i class="glyph-icon icon-linecons-shop"></i>
+                                <span>Dashboard</span>
+                            </a>
+                        </li>
                         <li>
                             <a href="#" title="虚拟机">
                                 <i class="glyph-icon icon-linecons-cloud"></i>