Browse Source

加入Dashboard导航条

James Iter 8 years ago
parent
commit
d27b02b1fa
1 changed files with 6 additions and 0 deletions
  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>