Changeset 6317 for branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Detail.aspx
- Timestamp:
- 05/27/11 19:09:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Detail.aspx
r6304 r6317 4 4 <%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %> 5 5 <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> 6 6 Detail 7 7 </asp:Content> 8 8 <asp:Content ID="Content3" runat="server" ContentPlaceHolderID="SubMenuContent"> 9 9 <% Html.RenderAction("Menu", "Admin"); %> 10 10 </asp:Content> 11 11 <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> 12 13 14 <h2>Detail</h2>15 <div class="hl-menuButtons">16 <%: Html.ActionLink("Back to Index", "Index", null, new { @class = "hl-button-text-back" })%>17 </div>18 <% AlgorithmClass ac = ((AlgorithmClassModel)Model).AlgorithmClass; %>19 <table class="hl-table">20 <tr>21 <th>22 Id:23 </th>24 <td>25 <%: Html.Label(ac.Id.ToString())%>26 </td>27 <%: Html.Hidden("AlgorithmClassId", ac.Id.ToString(), ac.Id.ToString())%>28 </tr>29 <tr>30 <th>31 Name:32 </th>33 <td>34 <%: Html.TextBox("AlgorithmClassName", ac.Name, ac.Name)%>35 </td>36 </tr>37 <tr>38 <th>39 Description:40 </th>41 <td>42 <%: Html.TextBox("AlgorithmClassDescription", ac.Description, ac.Description)%>43 </td>44 </tr>45 <tr>46 <th>47 Action:48 </th>49 <td>50 <input type="submit" value="save" />51 </td>52 </tr>53 </t able>54 55 12 <% using (Html.BeginForm("SaveChanges", "AlgorithmClass")) %> 13 <% { %> 14 <h2> 15 Detail</h2> 16 <div class="hl-menuButtons"> 17 <%: Html.ActionLink("Back to Index", "Index", null, new { @class = "hl-button-text-back" })%> 18 </div> 19 <% AlgorithmClass ac = ((AlgorithmClassModel)Model).AlgorithmClass; %> 20 <table class="hl-table"> 21 <tr> 22 <th> 23 Id: 24 </th> 25 <td> 26 <%: Html.Label(ac.Id.ToString())%> 27 </td> 28 <%: Html.Hidden("AlgorithmClassId", ac.Id.ToString(), ac.Id.ToString())%> 29 </tr> 30 <tr> 31 <th> 32 Name: 33 </th> 34 <td> 35 <%: Html.TextBox("AlgorithmClassName", ac.Name, ac.Name)%> 36 </td> 37 </tr> 38 <tr> 39 <th> 40 Description: 41 </th> 42 <td> 43 <%: Html.TextBox("AlgorithmClassDescription", ac.Description, ac.Description)%> 44 </td> 45 </tr> 46 <tr> 47 <th> 48 Action: 49 </th> 50 <td> 51 <input type="submit" value="save" /> 52 </td> 53 </tr> 54 </table> 55 <% } %> 56 56 </asp:Content>
Note: See TracChangeset
for help on using the changeset viewer.