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:
skewed
2009-11-26 07:35:08 +00:00
parent 2d9aa59cc6
commit 0c0b49dfc9
3 changed files with 18 additions and 25 deletions

View File

@@ -9,6 +9,5 @@
<%using (Html.BeginForm()) { %>
<%= Html.ValidationSummary() %>
<%= Html.EditorForModel() %>
<fieldset><input class="button" type="submit" value="Create" /></fieldset>
<% } %>
<% Html.Include("Foot"); %>

View File

@@ -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"}) %>
&nbsp;
<% } %>
</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"}) %>
&nbsp;
<% } %>
</asp:Content>

View File

@@ -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)%>
&nbsp;
<% } %>
</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>