|
Wersja 752, 1.2 KB
(wprowadzona przez marek, 17 years temu)
|
|
wiersz
|
| Line | |
|---|
| 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Wierszowki.Core.Linq.User>>" %>
|
|---|
| 2 |
|
|---|
| 3 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | Lista u¿ytkowników
|
|---|
| 5 | </asp:Content>
|
|---|
| 6 |
|
|---|
| 7 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 8 |
|
|---|
| 9 | <h2>Lista u¿ytkowników</h2>
|
|---|
| 10 |
|
|---|
| 11 | <table>
|
|---|
| 12 | <tr>
|
|---|
| 13 | <th></th>
|
|---|
| 14 | <th>
|
|---|
| 15 | Login
|
|---|
| 16 | </th>
|
|---|
| 17 | <th>
|
|---|
| 18 | Imiê
|
|---|
| 19 | </th>
|
|---|
| 20 | <th>
|
|---|
| 21 | Nazwisko
|
|---|
| 22 | </th>
|
|---|
| 23 | </tr>
|
|---|
| 24 |
|
|---|
| 25 | <% foreach (var item in Model) { %>
|
|---|
| 26 |
|
|---|
| 27 | <tr>
|
|---|
| 28 | <td>
|
|---|
| 29 | <%= Html.ActionLink("Edycja", "Edit", new { id=item.Id }) %>
|
|---|
| 30 | </td>
|
|---|
| 31 | <td>
|
|---|
| 32 | <%= Html.Encode(item.Login) %>
|
|---|
| 33 | </td>
|
|---|
| 34 | <td>
|
|---|
| 35 | <%= Html.Encode(item.FirstName) %>
|
|---|
| 36 | </td>
|
|---|
| 37 | <td>
|
|---|
| 38 | <%= Html.Encode(item.LastName) %>
|
|---|
| 39 | </td>
|
|---|
| 40 | </tr>
|
|---|
| 41 |
|
|---|
| 42 | <% } %>
|
|---|
| 43 |
|
|---|
| 44 | </table>
|
|---|
| 45 |
|
|---|
| 46 | <p>
|
|---|
| 47 | <%= Html.ActionLink("Dodaj nowego u¿ytkownika", "Create") %>
|
|---|
| 48 | </p>
|
|---|
| 49 | </asp:Content> |
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.