|
|
@ -34,28 +34,28 @@
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<a class="navbar-brand" href="#">Plex Requests</a>
|
|
|
|
<a class="navbar-brand" href="/search">Plex Requests</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
<ul class="nav navbar-nav">
|
|
|
|
@if (Context.Request.Path == "/search")
|
|
|
|
@if (Context.Request.Path == "/search")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<li class="active"><a href="/search">Search</a></li>
|
|
|
|
<li class="active"><a href="/search"><i class="fa fa-search"></i> Search</a></li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<li><a href="/search">Search</a></li>
|
|
|
|
<li><a href="/search"><i class="fa fa-search"></i> Search</a></li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@if (Context.Request.Path == "/requests")
|
|
|
|
@if (Context.Request.Path == "/requests")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<li class="active"><a href="/requests">Requests</a></li>
|
|
|
|
<li class="active"><a href="/requests"><i class="fa fa-plus-circle"></i> Requests</a></li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<li><a href="/requests">Requests</a></li>
|
|
|
|
<li><a href="/requests"><i class="fa fa-plus-circle"></i> Requests</a></li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
@ -64,23 +64,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
@if (!Context.CurrentUser.IsAuthenticated())
|
|
|
|
@if (!Context.CurrentUser.IsAuthenticated())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<li><a href="/login">Admin</a></li>
|
|
|
|
<li><a href="/login"><i class="fa fa-user"></i> Admin</a></li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<li class="dropdown">
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Admin <span class="caret"></span></a>
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-user"></i> Admin <span class="caret"></span></a>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
|
|
<li><a href="/admin">Settings</a></li>
|
|
|
|
<li><a href="/admin"><i class="fa fa-cog"></i> Settings</a></li>
|
|
|
|
<li><a href="/changepassword">Change password</a></li>
|
|
|
|
<li><a href="/changepassword"><i class="fa fa-key"></i> Change password</a></li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li><a href="/logout">Logout</a></li>
|
|
|
|
<li><a href="/logout"><i class="fa fa-sign-out"></i> Logout</a></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@if (Context.Request.Session[SessionKeys.UsernameKey] != null)
|
|
|
|
@if (Context.Request.Session[SessionKeys.UsernameKey] != null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
<li><a href="/userlogin/logout">Logout</a></li>
|
|
|
|
<li><a href="/userlogin/logout"><i class="fa fa-sign-out"></i> Logout</a></li>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|