Files
Orchard/src/Orchard.Web/Packages/Orchard.Users/Views/Admin/Index.aspx
skewed 2164bb79bb Some initial work on admin view cleanup (trying to commit a file that couldn't be committed in the previous...commit :| ).
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4041369
2009-11-19 09:39:12 +00:00

47 lines
1.6 KiB
Plaintext

<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Orchard.Users.ViewModels.UsersIndexViewModel>" %>
<%@ Import Namespace="Orchard.Models"%>
<%@ Import Namespace="Orchard.Security" %>
<%@ Import Namespace="Orchard.Mvc.Html" %>
<% Html.Include("Header"); %>
<% Html.BeginForm(); %>
<div class="yui-g">
<h2>
Manage Users</h2>
<%=Html.ValidationSummary() %>
<%=Html.ActionLink("Add a new user", "Create", new {}, new {@class="floatRight topSpacer"}) %>
<table id="pluginListTable" cellspacing="0" class="clearLayout">
<colgroup>
<col id="Name" />
<col id="Email" />
<col id="Edit" />
</colgroup>
<thead>
<tr>
<th scope="col">
Name
</th>
<th scope="col">
Email
</th>
<th scope="col">
</th>
</tr>
</thead>
<% foreach (var row in Model.Rows) { %>
<tr>
<td>
<%=Html.Encode(row.User.UserName) %>
</td>
<td>
<%=Html.Encode(row.User.Email) %>
</td>
<td>
<%=Html.ActionLink("Edit", "Edit", new { row.User.Id })%>
</td>
</tr>
<%}%>
</table>
</div>
<% Html.EndForm(); %>
<% Html.Include("Footer"); %>