67 lines
2.6 KiB
Plaintext
67 lines
2.6 KiB
Plaintext
@model NavigatorBarModel
|
|
@{
|
|
ViewBag.Title = "站内消息";
|
|
Layout = "~/Views/Shared/_Admin.cshtml";
|
|
}
|
|
|
|
@section header {
|
|
@Html.Partial("Header", Model)
|
|
}
|
|
@section navigator {
|
|
@Html.Partial("Navigator", Model)
|
|
}
|
|
<div class="mail-box">
|
|
<aside class="sm-side">
|
|
<div class="user-head">
|
|
<a href="javascript:;" class="inbox-avatar">
|
|
<img src="../../content/images/logo6.jpg" alt="">
|
|
</a>
|
|
<div class="user-name"><h5><a href="#">@Model.DisplayName</a></h5></div>
|
|
</div>
|
|
<div class="inbox-body">
|
|
<a class="btn btn-compose" data-toggle="modal" href="#myModal">
|
|
写消息
|
|
</a>
|
|
</div>
|
|
<ul class="inbox-nav inbox-divider">
|
|
<li class="active">
|
|
<a href="~/Admin/Messages/Inbox"><i class="fa fa-inbox"></i>收信箱<span class="label label-danger pull-right">2</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="~/Admin/Messages/SendMail"><i class="fa fa-envelope-o"></i>发信箱</a>
|
|
</li>
|
|
<li>
|
|
<a href="~/Admin/Messages/Mark"><i class="fa fa-bookmark-o"></i>标旗消息</a>
|
|
</li>
|
|
<li>
|
|
<a href="~/Admin/Messages/Trash"><i class=" fa fa-trash-o"></i>垃圾箱</a>
|
|
</li>
|
|
</ul>
|
|
</aside>
|
|
|
|
<aside class="lg-side">
|
|
<div class="inbox-head">
|
|
<h3>消息列表</h3>
|
|
</div>
|
|
<div class="inbox-body">
|
|
<table class="table table-inbox table-hover">
|
|
<tbody>
|
|
@foreach (var mess in Model.MessageList)
|
|
{
|
|
<tr >
|
|
<td class="inbox-small-cells"><input type="checkbox" class="mail-checkbox"></td>
|
|
@if(mess.Mark==0)
|
|
{ <td class="inbox-small-cells"><i class="fa fa-star"></i></td> }
|
|
else
|
|
{ <td class="inbox-small-cells"><i class="fa fa-star inbox-started"></i></td> }
|
|
<td class="view-message dont-show">@mess.From</td>
|
|
<td class="view-message dont-show">@mess.To</td>
|
|
<td class="view-message ">@mess.Title</td>
|
|
<td class="view-message text-right">@mess.SendTime</td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</aside>
|
|
</div> |