mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge
--HG-- branch : dev
This commit is contained in:
10
src/Orchard.Web/Themes/Classic/Views/Menu-Main.cshtml
Normal file
10
src/Orchard.Web/Themes/Classic/Views/Menu-Main.cshtml
Normal file
@@ -0,0 +1,10 @@
|
||||
@{
|
||||
// Model is Model.Menu from the layout (Layout.Menu)
|
||||
var tag = Tag(Model, "ul");
|
||||
}
|
||||
<nav>
|
||||
@tag.StartElement
|
||||
@* see MenuItem shape template *@
|
||||
[@DisplayChildren(Model)]
|
||||
@tag.EndElement
|
||||
</nav>
|
7
src/Orchard.Web/Themes/Classic/Views/Zone-Content.cshtml
Normal file
7
src/Orchard.Web/Themes/Classic/Views/Zone-Content.cshtml
Normal file
@@ -0,0 +1,7 @@
|
||||
@{
|
||||
Model.Attributes.Add("style", "background:salmon;");
|
||||
var tag = Tag(Model, "div");
|
||||
}
|
||||
@tag.StartElement
|
||||
@DisplayChildren(Model)
|
||||
@tag.EndElement
|
Reference in New Issue
Block a user