Line | |
---|
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
|
---|
2 |
|
---|
3 | <%@ Import Namespace="HLWebOKBAdminPlugin.Models" %>
|
---|
4 | <%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %>
|
---|
5 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
---|
6 | Detail
|
---|
7 | </asp:Content>
|
---|
8 | <asp:Content ID="Content3" runat="server" ContentPlaceHolderID="SubMenuContent">
|
---|
9 | <% Html.RenderAction("Menu", "Admin"); %>
|
---|
10 | </asp:Content>
|
---|
11 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
---|
12 | <% using (Html.BeginForm("SaveChanges", "AlgorithmClass")) %>
|
---|
13 | <% { %>
|
---|
14 | <h2>Detail</h2>
|
---|
15 |
|
---|
16 | <% AlgorithmClass ac = ((AlgorithmClassModel)Model).AlgorithmClass; %>
|
---|
17 | <table border="1">
|
---|
18 | <tr>
|
---|
19 | <td>
|
---|
20 | Id:
|
---|
21 | </td>
|
---|
22 | <td>
|
---|
23 | <%: Html.Label(ac.Id.ToString())%>
|
---|
24 | </td>
|
---|
25 | <%: Html.Hidden("AlgorithmClassId", ac.Id.ToString(), ac.Id.ToString())%>
|
---|
26 | </tr>
|
---|
27 | <tr>
|
---|
28 | <td>
|
---|
29 | Name:
|
---|
30 | </td>
|
---|
31 | <td>
|
---|
32 | <%: Html.TextBox("AlgorithmClassName", ac.Name, ac.Name)%>
|
---|
33 | </td>
|
---|
34 | </tr>
|
---|
35 | <tr>
|
---|
36 | <td>
|
---|
37 | Description:
|
---|
38 | </td>
|
---|
39 | <td>
|
---|
40 | <%: Html.TextBox("AlgorithmClassDescription", ac.Description, ac.Description)%>
|
---|
41 | </td>
|
---|
42 | </tr>
|
---|
43 | <tr>
|
---|
44 | <td>
|
---|
45 | Action:
|
---|
46 | </td>
|
---|
47 | <td>
|
---|
48 | <input type="submit" value="save" />
|
---|
49 | </td>
|
---|
50 | </tr>
|
---|
51 | </table>
|
---|
52 | <%: Html.ActionLink("back to Index","Index") %>
|
---|
53 | <% } %>
|
---|
54 | </asp:Content>
|
---|
Note: See
TracBrowser
for help on using the repository browser.