mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00

--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045045
37 lines
1.4 KiB
Plaintext
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>
|
|
<% } %> |