github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/themes/wind/templates/root/dashboard.html (about)

     1  {%include "head.html"%}
     2  <body>
     3  {%include "header.html"%}
     4  {%include "sidebar.html"%}
     5  
     6  <!--main-container-part-->
     7  <div id="content">
     8  <!--breadcrumbs-->
     9    <div id="content-header">
    10      <div id="breadcrumb"> <a href="/root/dashboard/" title="管理面板" class="tip-bottom"><i class="icon-home"></i> 管理面板</a></div>
    11    </div>
    12  <!--End-breadcrumbs-->
    13      <div class="container-fluid">
    14  {%include "action_boxes.html"%}
    15  {%include "chart_box.html"%}
    16          <hr/>
    17  {%include "widget_boxes.html"%}
    18      </div>
    19  </div>
    20  
    21  <!--end-main-container-part-->
    22  {%include "footer.html"%}
    23  {% include "js.html" %}
    24  <script type="text/javascript">
    25    // This function is called from the pop-up menus to transfer to
    26    // a different page. Ignore if the value returned is a null string:
    27    function goPage (newURL) {
    28  
    29        // if url is empty, skip the menu dividers and reset the menu selection to default
    30        if (newURL != "") {
    31            // if url is "-", it is this page -- reset the menu:
    32            if (newURL == "-" ) {
    33                resetMenu();
    34            }
    35            // else, send page to designated URL
    36            else {
    37              document.location.href = newURL;
    38            }
    39        }
    40    }
    41  
    42  // resets the menu selection upon entry to this page:
    43  function resetMenu() {
    44     document.gomenu.selector.selectedIndex = 2;
    45  }
    46  </script>
    47  </body>
    48  </html>