Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/AlgorithmClass/Index.aspx @ 5186

Last change on this file since 5186 was 5186, checked in by wtollsch, 14 years ago

#1198 MVC2 plugin template added for HL OKBWebClient

File size: 1.4 KB
Line 
1<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<HLWebPluginHost.OKBService.AlgorithmClass>>" %>
2<%@ Import Namespace="HLWebOKBAdminPlugin.Helpers" %>
3<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
4  Index
5</asp:Content>
6
7<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
8
9    <h2>Index</h2>
10
11    <table>
12        <tr>
13            <th></th>
14            <th>
15                Description
16            </th>
17            <th>
18                Name
19            </th>
20            <th>
21                Id
22            </th>
23        </tr>
24
25    <% foreach (var item in Model) { %>
26   
27        <tr>
28            <td>
29                <%: Html.ActionLink("Edit", "Edit", new { id=item.Id }) %> |
30                <%: Html.ActionLink("Details", "Details", new { id=item.Id })%> |
31                <%: Html.ActionLink("Delete", "Delete", new { id = item.Id })%>
32            </td>
33            <td>
34                <%: Html.Truncate(item.Description,25) %>
35            </td>
36            <td>
37                <%: Html.Truncate(item.Name, 25)%>
38            </td>
39            <td>
40                <%: item.Id %>
41            </td>
42        </tr>
43   
44    <% } %>
45
46    </table>
47
48    <p>
49        <%: Html.ActionLink("Create New", "Create") %>
50    </p>
51
52</asp:Content>
53
Note: See TracBrowser for help on using the repository browser.