+
+
diff --git a/Bootstrap.Admin/Controllers/HomeController.cs b/Bootstrap.Admin/Controllers/HomeController.cs
index 555f0a83..ce7f1042 100644
--- a/Bootstrap.Admin/Controllers/HomeController.cs
+++ b/Bootstrap.Admin/Controllers/HomeController.cs
@@ -17,8 +17,9 @@ namespace Bootstrap.Admin.Controllers
///
public ActionResult Index()
{
- var v = new HeaderBarModel();
+ var v = new ContentModel();
v.ShowMenu = "hide";
+ v.Url = "/Content/html/dummy.html";
return View(v);
}
///
diff --git a/Bootstrap.Admin/Models/ContentModel.cs b/Bootstrap.Admin/Models/ContentModel.cs
new file mode 100644
index 00000000..c5775ebe
--- /dev/null
+++ b/Bootstrap.Admin/Models/ContentModel.cs
@@ -0,0 +1,8 @@
+
+namespace Bootstrap.Admin.Models
+{
+ public class ContentModel : HeaderBarModel
+ {
+ public string Url { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/Bootstrap.Admin/Scripts/Content.js b/Bootstrap.Admin/Scripts/Content.js
new file mode 100644
index 00000000..5f282702
--- /dev/null
+++ b/Bootstrap.Admin/Scripts/Content.js
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/Bootstrap.Admin/Views/Home/Index.cshtml b/Bootstrap.Admin/Views/Home/Index.cshtml
index e51031da..0a91e2a4 100644
--- a/Bootstrap.Admin/Views/Home/Index.cshtml
+++ b/Bootstrap.Admin/Views/Home/Index.cshtml
@@ -1,9 +1,12 @@
-@model Bootstrap.Admin.Models.HeaderBarModel
+@model ContentModel
@{
- ViewBag.Title = "Rules";
Layout = "~/Views/Shared/_Normal.cshtml";
}
+@section javascript {
+
+}
+
@section header {
@Html.Partial("Header", Model)
}
-
欢迎使用本系统
+@Html.Partial("Content", Model)
\ No newline at end of file
diff --git a/Bootstrap.Admin/Views/Shared/Content.cshtml b/Bootstrap.Admin/Views/Shared/Content.cshtml
new file mode 100644
index 00000000..5af3f5bf
--- /dev/null
+++ b/Bootstrap.Admin/Views/Shared/Content.cshtml
@@ -0,0 +1,3 @@
+@model ContentModel
+