- Timestamp:
- 05/27/11 13:12:25 (14 years ago)
- Location:
- branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Detail.aspx
r6290 r6304 13 13 <% { %> 14 14 <h2>Detail</h2> 15 15 <div class="hl-menuButtons"> 16 <%: Html.ActionLink("Back to Index", "Index", null, new { @class = "hl-button-text-back" })%> 17 </div> 16 18 <% AlgorithmClass ac = ((AlgorithmClassModel)Model).AlgorithmClass; %> 17 <table border="1">19 <table class="hl-table"> 18 20 <tr> 19 <t d>21 <th> 20 22 Id: 21 </t d>23 </th> 22 24 <td> 23 25 <%: Html.Label(ac.Id.ToString())%> … … 26 28 </tr> 27 29 <tr> 28 <t d>30 <th> 29 31 Name: 30 </t d>32 </th> 31 33 <td> 32 34 <%: Html.TextBox("AlgorithmClassName", ac.Name, ac.Name)%> … … 34 36 </tr> 35 37 <tr> 36 <t d>38 <th> 37 39 Description: 38 </t d>40 </th> 39 41 <td> 40 42 <%: Html.TextBox("AlgorithmClassDescription", ac.Description, ac.Description)%> … … 42 44 </tr> 43 45 <tr> 44 <t d>46 <th> 45 47 Action: 46 </t d>48 </th> 47 49 <td> 48 50 <input type="submit" value="save" /> … … 50 52 </tr> 51 53 </table> 52 <%: Html.ActionLink("back to Index","Index") %>54 53 55 <% } %> 54 56 </asp:Content> -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Index.aspx
r6290 r6304 15 15 16 16 <% long? id = null; %> 17 <%: Html.ActionLink("New AlgorithmClass", "Detail", new {id}) %>18 <%: Html.ActionLink(" Order ASC", "SortAsc")%>19 <%: Html.ActionLink("Order DESC", "SortDesc")%>17 <div class="hl-menuButtons"> 18 <%: Html.ActionLink("New AlgorithmClass", "Detail", new { id }, new { @class = "hl-button-text-plus" })%> 19 </div> 20 20 21 <div style="height:150px; overflow:scroll;"> 22 <table> 21 22 <table class="hl-dataTable"> 23 <thead> 24 <tr> 25 <th>Name</th> 26 <th>Description</th> 27 <th>Actions</th> 28 </tr> 29 </thead> 30 <tbody> 23 31 <!--// We get this from the Controller (Index)--> 24 32 <% foreach (AlgorithmClass p in ((AlgorithmClassModel)Model).AlgorithmClasses) { %> … … 30 38 <%: Html.Label(p.Description) %> 31 39 </td> 32 <td> 33 <%: Html.ActionLink("detail", "Detail", new { p.Id })%> 34 </td> 35 <td> 36 <%: Html.ActionLink("delete", "Delete",new {p.Id}) %> 40 <td class="hl-iconcell"> 41 <%: Html.ActionLink("detail", "Detail", new { p.Id }, new { @class = "hl-icon-edit" })%> 42 <%: Html.ActionLink("delete", "Delete", new { p.Id }, new { @class = "hl-icon-delete" })%> 37 43 </td> 38 44 </tr> 39 45 <% } %> 46 </tbody> 40 47 </table> 41 </div>48 42 49 </asp:Content>
Note: See TracChangeset
for help on using the changeset viewer.