Changeset 6153 for branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views
- Timestamp:
- 05/07/11 14:17:42 (14 years ago)
- Location:
- branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Detail.aspx
r6142 r6153 61 61 <select name="ProblemClassId"> 62 62 <% foreach(ProblemClass pc in ((ProblemModel)Model).ProblemClasses) { %> 63 <% if(p.ProblemClassId == pc.Id) { %> 64 <option selected="selected" value="<%=pc.Id%>"><%=pc.Name%></option> 65 <% } else { %> 63 66 <option value="<%=pc.Id%>"><%=pc.Name%></option> 67 <% } %> 64 68 <% } %> 65 69 </select> … … 73 77 <select name="PlattformId"> 74 78 <% foreach(Platform pc in ((ProblemModel)Model).Plattforms) { %> 79 <% if(p.PlatformId == pc.Id) { %> 80 <option selected="selected" value="<%=pc.Id%>"><%=pc.Name%></option> 81 <% } else { %> 75 82 <option value="<%=pc.Id%>"><%=pc.Name%></option> 83 <% } %> 76 84 <% } %> 77 85 </select> -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Index.aspx
r6142 r6153 8 8 <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> 9 9 <h2>Problems</h2> 10 11 12 13 <% long? id = null; %> 14 <%: Html.ActionLink("New Problem", "Detail", new {id}) %> 15 <%: Html.ActionLink("Order ASC", "SortAsc")%> 16 <%: Html.ActionLink("Order DESC", "SortDesc")%> 17 10 18 <div style="height:150px; overflow:scroll;"> 11 19 <table> … … 22 30 <%: Html.Label(p.DataTypeName)%> 23 31 </td> 32 <td> 33 <%: Html.ActionLink("delete", "Detail",new {p.Id}) %> 34 </td> 24 35 </tr> 25 36 <% } %> 26 37 </table> 27 </div> 28 29 30 <h2>Create new Problem</h2> 31 32 38 </div> 33 39 </asp:Content>
Note: See TracChangeset
for help on using the changeset viewer.