nginx-proxy-manager/src/frontend/js/app/ui/menu/main.ejs

45 lines
1.9 KiB
Plaintext
Raw Normal View History

2018-06-19 18:48:14 -04:00
<div class="container">
<div class="row align-items-center">
<div class="col-lg order-lg-first">
<ul class="nav nav-tabs border-0 flex-column flex-lg-row">
<li class="nav-item">
<a href="/" class="nav-link"><i class="fe fe-home"></i> Dashboard</a>
</li>
2018-06-19 18:48:14 -04:00
<li class="nav-item dropdown">
2018-06-25 02:56:13 -04:00
<a href="#" class="nav-link" data-toggle="dropdown"><i class="fe fe-monitor"></i> Hosts</a>
2018-06-19 18:48:14 -04:00
<div class="dropdown-menu dropdown-menu-arrow">
2018-07-08 21:22:10 -04:00
<% if (canShow('proxy_hosts')) { %>
2018-06-25 02:56:13 -04:00
<a href="/nginx/proxy" class="dropdown-item ">Proxy Hosts</a>
2018-07-08 21:22:10 -04:00
<% } %>
<% if (canShow('redirection_hosts')) { %>
2018-06-25 02:56:13 -04:00
<a href="/nginx/redirection" class="dropdown-item ">Redirections</a>
2018-07-08 21:22:10 -04:00
<% } %>
<% if (canShow('streams')) { %>
2018-06-25 02:56:13 -04:00
<a href="/nginx/stream" class="dropdown-item ">Streams</a>
2018-07-08 21:22:10 -04:00
<% } %>
<% if (canShow('dead_hosts')) { %>
2018-06-25 02:56:13 -04:00
<a href="/nginx/404" class="dropdown-item ">404 Hosts</a>
2018-07-08 21:22:10 -04:00
<% } %>
2018-06-19 18:48:14 -04:00
</div>
</li>
2018-07-08 21:22:10 -04:00
<% if (canShow('access_lists')) { %>
2018-06-19 18:48:14 -04:00
<li class="nav-item">
2018-06-25 02:56:13 -04:00
<a href="/nginx/access" class="nav-link"><i class="fe fe-lock"></i> Access Lists</a>
2018-06-19 18:48:14 -04:00
</li>
2018-07-08 21:22:10 -04:00
<% } %>
<% if (isAdmin()) { %>
2018-06-19 18:48:14 -04:00
<li class="nav-item">
2018-06-25 02:56:13 -04:00
<a href="/users" class="nav-link"><i class="fe fe-users"></i> Users</a>
2018-06-19 18:48:14 -04:00
</li>
<li class="nav-item">
<a href="/audit-log" class="nav-link"><i class="fe fe-book-open"></i> Audit Log</a>
</li>
2018-06-25 02:56:13 -04:00
<% } %>
2018-06-19 18:48:14 -04:00
</ul>
</div>
</div>
</div>