mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
Couple more public views get some temporary style and a UI fix (pulled extra create button) off the create blog post page
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042309
This commit is contained in:
@@ -9,6 +9,5 @@
|
||||
<%using (Html.BeginForm()) { %>
|
||||
<%= Html.ValidationSummary() %>
|
||||
<%= Html.EditorForModel() %>
|
||||
<fieldset><input class="button" type="submit" value="Create" /></fieldset>
|
||||
<% } %>
|
||||
<% Html.Include("Foot"); %>
|
@@ -1,13 +1,12 @@
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<TagsIndexViewModel>" %>
|
||||
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TagsIndexViewModel>" %>
|
||||
<%@ Import Namespace="Orchard.Tags.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
||||
<% Html.Include("Header"); %>
|
||||
<div class="yui-g">
|
||||
<h2 class="separator">Tags</h2>
|
||||
<%=Html.ValidationSummary() %>
|
||||
<% foreach (var tag in Model.Tags) { %>
|
||||
<%=Html.ActionLink(tag.TagName, "Search", new {tagName = tag.TagName}, new {@class="floatRight topSpacer"}) %>
|
||||
|
||||
<% } %>
|
||||
</div>
|
||||
<% Html.Include("Footer"); %>
|
||||
<%-- todo: (heskew) make master-less when we get into theming --%>
|
||||
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2>Tags</h2>
|
||||
<%=Html.ValidationSummary() %>
|
||||
<% foreach (var tag in Model.Tags) { %>
|
||||
<%=Html.ActionLink(tag.TagName, "Search", new {tagName = tag.TagName}, new {@class="floatRight topSpacer"}) %>
|
||||
|
||||
<% } %>
|
||||
</asp:Content>
|
@@ -1,16 +1,11 @@
|
||||
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<TagsSearchViewModel>" %>
|
||||
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TagsSearchViewModel>" %>
|
||||
<%@ Import Namespace="Orchard.Models"%>
|
||||
<%@ Import Namespace="Orchard.Tags.ViewModels"%>
|
||||
<%@ Import Namespace="Orchard.Mvc.Html"%>
|
||||
<% Html.Include("Header"); %>
|
||||
<% Html.BeginForm(); %>
|
||||
<div class="yui-g">
|
||||
<h2 class="separator">List of contents tagged with <%= Model.TagName %></h2>
|
||||
<%=Html.ValidationSummary() %>
|
||||
<% foreach (var contentItem in Model.Contents) { %>
|
||||
<%=Html.ItemDisplayLink(contentItem)%>
|
||||
|
||||
<% } %>
|
||||
</div>
|
||||
<% Html.EndForm(); %>
|
||||
<% Html.Include("Footer"); %>
|
||||
<%-- todo: (heskew) make master-less when we get into theming --%>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2>List of contents tagged with <%= Model.TagName %></h2><%
|
||||
foreach (var contentItem in Model.Contents) { %>
|
||||
<%=Html.ItemDisplayLink(contentItem)%><%
|
||||
} %>
|
||||
</asp:Content>
|
Reference in New Issue
Block a user