- Timestamp:
- 05/07/11 13:39:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Index.aspx
r6130 r6142 7 7 </asp:Content> 8 8 <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> 9 <h2> 10 Problems</h2> 11 <table> 12 <tr> 13 <td> 14 <ul> 15 <% 16 // We get this from the Controller (Index) 17 foreach (Problem p in ((ProblemModel)Model).Problems) 18 { %> 19 <li> 20 <%: Html.ActionLink(p.Name, "Detail",new {p.Id}) %></li> 21 <% } %> 22 </ul> 23 </td> 24 <td> 25 <!-- maybe we can use here partial views that will be shown ...--> 26 </td> 27 </tr> 28 </table> 9 <h2>Problems</h2> 10 <div style="height:150px; overflow:scroll;"> 11 <table> 12 <!--// We get this from the Controller (Index)--> 13 <% foreach(Problem p in ((ProblemModel)Model).Problems) { %> 14 <tr> 15 <td> 16 <%: Html.ActionLink(p.Name, "Detail",new {p.Id}) %> 17 </td> 18 <td> 19 <%: Html.Label(p.Description) %> 20 </td> 21 <td> 22 <%: Html.Label(p.DataTypeName)%> 23 </td> 24 </tr> 25 <% } %> 26 </table> 27 </div> 28 29 30 <h2>Create new Problem</h2> 31 32 29 33 </asp:Content>
Note: See TracChangeset
for help on using the changeset viewer.