- More blogs admin UI work (mostly on /admin/blogs/<blog name>)

- More admin UI cleanup (working on getting rid of the remaining yui markup)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043118
This commit is contained in:
skewed
2009-12-03 22:47:43 +00:00
parent edcec5a480
commit 7b8aa47039
6 changed files with 30 additions and 30 deletions

View File

@@ -2,20 +2,12 @@
<%@ Import Namespace="Orchard.Security" %>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.Include("AdminHead"); %>
<div class="yui-u">
<h2 class="separator">
Add a new User</h2>
</div>
<div class="yui-u">
<%using (Html.BeginForm()) { %>
<ol>
<%= Html.ValidationSummary() %>
<%= Html.EditorForModel() %>
<li class="clearLayout">
<input class="button" type="submit" value="Create" />
<%=Html.ActionLink("Cancel", "Index", new{}, new{@class="button"}) %></li>
</ol>
<%}/*EndForm*/%>
</div>
<h2>Add a new User</h2>
<%using (Html.BeginForm()) { %>
<%= Html.ValidationSummary() %>
<%= Html.EditorForModel() %>
<fieldset>
<input class="button" type="submit" value="Create" />
</fieldset>
<% } %>
<% Html.Include("AdminFoot"); %>

View File

@@ -1,13 +1,14 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Orchard.Users.ViewModels.UserCreateViewModel>" %>
<%@ Import Namespace="Orchard.Utility" %>
<ol>
<fieldset>
<%=Html.EditorFor(m=>m.UserName, "inputTextLarge") %>
<%=Html.EditorFor(m=>m.Email, "inputTextLarge") %>
<%=Html.EditorFor(m=>m.Password, "inputPasswordLarge") %>
<%=Html.EditorFor(m=>m.ConfirmPassword, "inputPasswordLarge") %>
</ol>
<% foreach(var e in Model.ItemView.Editors) {%>
<%=Html.EditorFor(m => e.Model, e.TemplateName, e.Prefix)%>
<%} %>
</fieldset><%
foreach(var e in Model.ItemView.Editors) {
var editor = e;%>
<fieldset>
<%=Html.EditorFor(m => editor.Model, editor.TemplateName, editor.Prefix)%>
</fieldset>
<% } %>

View File

@@ -1,6 +1,6 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
<li>
<fieldset>
<%=Html.LabelForModel() %>
<%=Html.Password("",Model,new{@class="inputText inputTextLarge"}) %>
<%=Html.Password("",Model,new{@class="text"}) %>
<%=Html.ValidationMessage("","*")%>
</li>
</fieldset>

View File

@@ -1,6 +1,6 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<string>" %>
<li>
<fieldset>
<%=Html.LabelForModel() %>
<%=Html.TextBox("",Model,new{@class="inputText inputTextLarge"}) %>
<%=Html.TextBox("",Model,new{@class="text"}) %>
<%=Html.ValidationMessage("","*")%>
</li>
</fieldset>