openpdu/templates/common/sidebar-menu.html

63 lines
2.4 KiB
HTML
Raw Normal View History

2020-12-27 21:29:16 +00:00
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
2020-12-23 09:11:11 +00:00
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
2020-12-27 21:29:16 +00:00
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu" data-widget="tree">
2020-12-28 21:58:08 +00:00
<li {% if pageselected=="status" %} class="active" {% endif %}>
<a href="/">
<i class="fa fa-dashboard"></i> <span>Status</span>
</a>
</li>
<li {% if pageselected=="boards" %} class="active" {% endif %}>
<a href="/boards">
<i class="fa fa-sliders"></i> <span>Boards</span>
</a>
</li>
2020-12-27 21:29:16 +00:00
<li class="treeview {% if pageselected in " outlets lan mqtt ups syslog backup " %}active menu-open{% endif %}">
2020-12-27 21:29:16 +00:00
2020-12-28 21:58:08 +00:00
<a href="#">
<i class="fa fa-gears"></i>
<span>Settings</span>
<span class="pull-right-container">
2020-12-23 09:11:11 +00:00
<i class="fa fa-angle-left pull-right"></i>
</span>
2020-12-28 21:58:08 +00:00
</a>
<ul class="treeview-menu">
<li {% if pageselected=="outlets" %}class="active" {% endif %}>
<a href="/outlets"><i class="fa fa-circle-o"></i> Outlets</a>
</li>
2020-12-28 21:58:08 +00:00
<li {% if pageselected=="lan" %}class="active" {% endif %}>
<a href="/lan"><i class="fa fa-circle-o"></i> LAN</a>
</li>
<li {% if pageselected=="mqtt" %}class="active" {% endif %}>
<a href="/mqtt"><i class="fa fa-circle-o"></i> MQTT</a>
</li>
2020-12-27 21:29:16 +00:00
2020-12-28 21:58:08 +00:00
<li {% if pageselected=="ups" %}class="active" {% endif %}>
<a href="/ups"><i class="fa fa-circle-o"></i> UPS</a>
</li>
2020-12-27 21:29:16 +00:00
2020-12-28 21:58:08 +00:00
<li {% if pageselected=="syslog" %}class="active" {% endif %}>
<a href="/syslog"><i class="fa fa-circle-o"></i> Syslog</a>
</li>
<li {% if pageselected=="backup" %}class="active" {% endif %}>
<a href="/backup"><i class="fa fa-circle-o"></i> Backup/Restore</a>
</li>
2020-12-27 21:29:16 +00:00
2020-12-28 21:58:08 +00:00
</ul>
</li>
2020-12-27 21:29:16 +00:00
</ul>
2020-12-23 09:11:11 +00:00
</section>
<!-- /.sidebar -->
2020-12-28 21:58:08 +00:00
</aside>