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