Files
Orchard/src/Orchard.Web/Packages/Orchard.Users/Views/Admin/Index.aspx
skewed 81ab21f645 UI cleanup pass (progress - Orchard.Users, TinyMce and remaining Core modules)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045045
2010-01-06 09:06:55 +00:00

37 lines
1.4 KiB
Plaintext

<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage<UsersIndexViewModel>" %>
<%@ Import Namespace="Orchard.Users.ViewModels"%>
<h1><%=Html.TitleForPage(T("Manage Users").ToString()) %></h1>
<% using (Html.BeginFormAntiForgeryPost()) { %>
<%=Html.ValidationSummary()%>
<div class="manage"><%=Html.ActionLink(T("Add a new user").ToString(), "Create", new { }, new { @class = "button" })%></div>
<fieldset>
<table class="items">
<colgroup>
<col id="Name" />
<col id="Email" />
<col id="Edit" />
</colgroup>
<thead>
<tr>
<th scope="col"><%=_Encoded("Name")%></th>
<th scope="col"><%=_Encoded("Email")%></th>
<th scope="col"><%=_Encoded("") %></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(T("Edit").ToString(), "Edit", new { row.User.Id })%>
</td>
</tr>
<%}%>
</table>
</fieldset>
<% } %>