19 lines
875 B
Plaintext
19 lines
875 B
Plaintext
|
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<VideoGameQuotes.Web.Models.PagedModelWithUser<VideoGameQuotes.Api.User>>" MasterPageFile="~/Views/Shared/Site.Master" %>
|
||
|
<%@ Import Namespace="VideoGameQuotes.Web.Models" %>
|
||
|
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent">Manage Users</asp:Content>
|
||
|
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
|
||
|
<h2>Users</h2>
|
||
|
|
||
|
<p>
|
||
|
<% if (Model.HasPrevious) { %>
|
||
|
<%= Html.ActionLink("previous", "users", new { start = Model.PreviousStart, end = Model.PreviousEnd }) %>
|
||
|
<% } %>
|
||
|
<%= Html.ActionLink("next", "users", new { start = Model.NextStart, end = Model.NextEnd }) %>
|
||
|
</p>
|
||
|
|
||
|
<%
|
||
|
foreach (var user in Model.Records) {
|
||
|
Html.RenderPartial("SingleUser", new UserModel { CurrentUser = Model.CurrentUser, User = user });
|
||
|
}
|
||
|
%>
|
||
|
</asp:Content>
|