Changeset 6271 for branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views
- Timestamp:
- 05/24/11 23:29:21 (14 years ago)
- Location:
- branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Admin/Menu.ascx
r6246 r6271 3 3 <ul> 4 4 <li <% if(Session["SelectedSubMenu"] == "AlgorithmClass") {%> class="selected" <%}%>> 5 <%: Html.ActionLink("AlgorithmClass", "Index", "AlgorithmClass Plgin")%>5 <%: Html.ActionLink("AlgorithmClass", "Index", "AlgorithmClass")%> 6 6 </li> 7 7 <li <% if(Session["SelectedSubMenu"] == "Algorithm") {%> class="selected" <%}%>> -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Index.aspx
r6244 r6271 1 <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %> 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 2 6 3 7 <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> 4 8 Index 5 9 </asp:Content> 6 10 7 11 <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> 8 12 9 <h2> Index</h2>13 <h2>AlgorithmClass</h2> 10 14 15 <% long? id = null; %> 16 <%: Html.ActionLink("New AlgorithmClass", "Detail", new {id}) %> 17 <%: Html.ActionLink("Order ASC", "SortAsc")%> 18 <%: Html.ActionLink("Order DESC", "SortDesc")%> 19 20 <div style="height:150px; overflow:scroll;"> 21 <table> 22 <!--// We get this from the Controller (Index)--> 23 <% foreach (AlgorithmClass p in ((AlgorithmClassModel)Model).AlgorithmClasses) { %> 24 <tr> 25 <td> 26 <%: Html.Label(p.Name)%> 27 </td> 28 <td> 29 <%: Html.Label(p.Description) %> 30 </td> 31 <td> 32 <%: Html.ActionLink("detail", "Detail", new { p.Id })%> 33 </td> 34 <td> 35 <%: Html.ActionLink("delete", "Delete",new {p.Id}) %> 36 </td> 37 </tr> 38 <% } %> 39 </table> 40 </div> 11 41 </asp:Content>
Note: See TracChangeset
for help on using the changeset viewer.