修改BUG:调用Home/Index页面由于缺少nav元素导致userinfo没有再右上方
This commit is contained in:
parent
ae5b9c01e0
commit
ddfdf2e520
|
@ -6,9 +6,9 @@
|
|||
<i class="fa fa-bars"></i>
|
||||
<span id="websiteTitle">@Model.Title</span>
|
||||
</a>
|
||||
@if (User.IsInRole("Administrators"))
|
||||
{
|
||||
<div class="nav">
|
||||
<div class="nav">
|
||||
@if (User.IsInRole("Administrators"))
|
||||
{
|
||||
<!-- tasks start -->
|
||||
<div class="dropdown">
|
||||
<a data-toggle="dropdown" class="shadow-primary" href="#">
|
||||
|
@ -84,13 +84,12 @@
|
|||
</div>
|
||||
</div>
|
||||
<!-- db dropdown end -->
|
||||
</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
<div class="dropdown userinfo">
|
||||
<a data-toggle="dropdown" class="dropdown-toggle shadow-default" href="#">
|
||||
<img id="headerIcon" alt="" src="@Url.Content(Model.Icon)">
|
||||
<span id="userDisplayName" data-userName="@Model.UserName" class="username">@Model.DisplayName</span>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<div class="dropdown-item">
|
||||
|
|
Loading…
Reference in New Issue