diff --git a/Bootstrap.Admin/Bootstrap.Admin.csproj b/Bootstrap.Admin/Bootstrap.Admin.csproj
index e0bca834..33fdce17 100644
--- a/Bootstrap.Admin/Bootstrap.Admin.csproj
+++ b/Bootstrap.Admin/Bootstrap.Admin.csproj
@@ -294,6 +294,7 @@
+
Web.config
diff --git a/Bootstrap.Admin/Content/css/admin.css b/Bootstrap.Admin/Content/css/admin.css
index c1012385..c9cb4534 100644
--- a/Bootstrap.Admin/Content/css/admin.css
+++ b/Bootstrap.Admin/Content/css/admin.css
@@ -226,3 +226,155 @@ ul.sidebar-menu {
input[type="datetime"] {
min-width: 220px;
}
+
+/*Messages*/
+.mail-box {
+ border-collapse: collapse;
+ border-spacing: 0;
+ display: table;
+ table-layout: fixed;
+ width: 100%;
+}
+
+ .mail-box aside {
+ display: table-cell;
+ float: none;
+ height: 100%;
+ padding: 0;
+ vertical-align: top;
+ }
+
+ .mail-box .sm-side {
+ width: 25%;
+ background: #e5e8ef;
+ border-radius: 4px 0 0 4px;
+ -webkit-border-radius: 4px 0 0 4px;
+ }
+
+ .mail-box .sm-side .user-head {
+ background: #00a8b3;
+ border-radius: 4px 0px 0px 0;
+ -webkit-border-radius: 4px 0px 0px 0;
+ padding: 10px;
+ color: #fff;
+ min-height: 80px;
+ }
+
+ .mail-box .sm-side .user-head .inbox-avatar {
+ width: 65px;
+ float: left;
+ }
+
+ .mail-box .sm-side .user-head .inbox-avatar img {
+ height: 65px;
+ border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border: 0;
+ vertical-align: middle;
+ }
+
+ .mail-box .sm-side .user-head .user-name {
+ display: inline-block;
+ margin: 0 0 0 10px;
+ }
+
+ .mail-box .sm-side .user-head .user-name h5 {
+ font-size: 14px;
+ margin-top: 15px;
+ margin-bottom: 0;
+ font-weight: 300;
+ }
+
+ .mail-box .sm-side .user-head .user-name h5 a {
+ color: #fff;
+ }
+
+ .mail-box .sm-side .inbox-body, .mail-box .lg-side .inbox-body {
+ padding: 20px;
+ }
+
+ .mail-box .sm-side .inbox-body .btn-compose {
+ background: #ff6c60;
+ padding: 12px 0;
+ text-align: center;
+ width: 100%;
+ color: #fff;
+ }
+
+ .mail-box .sm-side .inbox-body .btn-compose:hover {
+ background: #f5675c;
+ color: #fff;
+ }
+
+ .mail-box .sm-side ul.inbox-nav {
+ display: inline-block;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ }
+
+ .mail-box .sm-side ul.inbox-nav li {
+ display: inline-block;
+ line-height: 45px;
+ width: 100%;
+ }
+
+ .mail-box .sm-side ul.inbox-nav li a {
+ color: #6a6a6a;
+ line-height: 45px;
+ width: 100%;
+ display: inline-block;
+ padding: 0 20px;
+ }
+
+ .mail-box .sm-side ul.inbox-nav li a:hover, .mail-box .sm-side ul.inbox-nav li.active a, .mail-box .sm-side ul.inbox-nav li a:focus {
+ color: #6a6a6a;
+ background: #d5d7de;
+ }
+
+ .mail-box .sm-side ul.inbox-nav li a span.label {
+ margin-top: 13px;
+ padding: 0.5em 0.8em;
+ }
+
+ .mail-box .sm-side ul.inbox-nav li a i {
+ width: 18px;
+ }
+
+ .mail-box .lg-side {
+ width: 75%;
+ background: #fff;
+ border-radius: 0px 4px 4px 0;
+ -webkit-border-radius: 0px 4px 4px 0;
+ }
+
+ .mail-box .lg-side .inbox-head {
+ padding: 12px;
+ background: #41cac0;
+ color: #fff;
+ border-radius: 0 4px 0 0;
+ -webkit-border-radius: 0 4px 0 0;
+ min-height: 80px;
+ }
+
+ .mail-box .lg-side .table-inbox {
+ border: 1px solid #d3d3d3;
+ margin-bottom: 0;
+ }
+
+ .mail-box .lg-side .table-inbox tr.unread td {
+ font-weight: 600;
+ background: #f7f7f7;
+ }
+
+ .mail-box .lg-side .table-inbox tr td {
+ padding: 12px !important;
+ }
+
+ .mail-box .lg-side .table-inbox tr td .fa-star.inbox-started, .mail-box .lg-side .table-inbox tr td .fa-star:hover {
+ color: #f78a09;
+ }
+
+ .mail-box .lg-side .table-inbox tr td:hover {
+ cursor: pointer;
+ }
diff --git a/Bootstrap.Admin/Controllers/AdminController.cs b/Bootstrap.Admin/Controllers/AdminController.cs
index 4831a9e3..bcb1d69f 100644
--- a/Bootstrap.Admin/Controllers/AdminController.cs
+++ b/Bootstrap.Admin/Controllers/AdminController.cs
@@ -130,5 +130,14 @@ namespace Bootstrap.Admin.Controllers
var v = new NavigatorBarModel("~/Admin/Exceptions");
return View(v);
}
+ ///
+ ///
+ ///
+ ///
+ public ActionResult Messages()
+ {
+ var v = new NavigatorBarModel("~/Admin/Messages");
+ return View(v);
+ }
}
}
diff --git a/Bootstrap.Admin/Views/Admin/Messages.cshtml b/Bootstrap.Admin/Views/Admin/Messages.cshtml
new file mode 100644
index 00000000..eadcbb4d
--- /dev/null
+++ b/Bootstrap.Admin/Views/Admin/Messages.cshtml
@@ -0,0 +1,94 @@
+@model NavigatorBarModel
+@{
+ ViewBag.Title = "站内消息";
+ Layout = "~/Views/Shared/_Admin.cshtml";
+}
+@section header {
+ @Html.Partial("Header", Model)
+}
+@section navigator {
+ @Html.Partial("Navigator", Model)
+}
+
\ No newline at end of file