webdav portal group permission fix
added logout button
This commit is contained in:
parent
2ec10f6988
commit
e4785dabca
8 changed files with 75 additions and 9 deletions
|
@ -2,6 +2,7 @@
|
|||
@using WebsitePanel.WebDavPortal.Config
|
||||
@using WebsitePanel.WebDavPortal.DependencyInjection
|
||||
@using WebsitePanel.WebDavPortal.Models
|
||||
@using WebsitePanel.WebDavPortal.UI.Routes;
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
@ -28,9 +29,10 @@
|
|||
var account = kernel.Get<AccountModel>();
|
||||
if (account != null)
|
||||
{
|
||||
<h4 class="nav navbar-text navbar-right">@account.UserName</h4>
|
||||
<a id="logout" class="nav navbar-text navbar-right" href="@Url.RouteUrl(AccountRouteNames.Logout)" title="Log out"><i class="glyphicon glyphicon-log-out"></i></a>
|
||||
<h4 id="username" class="nav navbar-text navbar-right">@account.UserName</h4>
|
||||
}
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue