Changeset 6304 for branches/WebApplication/MVC2/HLWebOKBAdminPlugin
- Timestamp:
- 05/27/11 13:12:25 (14 years ago)
- Location:
- branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Algorithm/Detail.aspx
r6290 r6304 23 23 Algorithm p = ((AlgorithmModel)Model).Algorithm; 24 24 %> 25 <table border="1"> 25 26 <div class="hl-menuButtons"> 27 <%: Html.ActionLink("Back to Index", "Index", null, new { @class = "hl-button-text-back" })%> 28 </div> 29 30 <table class="hl-table"> 26 31 <tr> 27 <t d>32 <th> 28 33 Id: 29 </t d>34 </th> 30 35 <td> 31 36 <%: Html.Label(p.Id.ToString())%> … … 34 39 </tr> 35 40 <tr> 36 <t d>41 <th> 37 42 Name: 38 </t d>43 </th> 39 44 <td> 40 45 <%: Html.TextBox("AlgorithmName", p.Name, p.Name)%> … … 42 47 </tr> 43 48 <tr> 44 <t d>49 <th> 45 50 Description: 46 </t d>51 </th> 47 52 <td> 48 53 <%: Html.TextBox("AlgorithmDescription", p.Description, p.Description)%> … … 50 55 </tr> 51 56 <tr> 52 <t d>57 <th> 53 58 DataTypeName: 54 </t d>59 </th> 55 60 <td> 56 61 <%: Html.TextBox("AlgorithmDataTypeName", p.DataTypeName, p.DataTypeName)%> … … 58 63 </tr> 59 64 <tr> 60 <t d>65 <th> 61 66 Algorith Class: 62 </t d>67 </th> 63 68 <td> 64 69 <select name="AlgorithmClassId"> … … 74 79 </tr> 75 80 <tr> 76 <t d>81 <th> 77 82 Platform: 78 </t d>83 </th> 79 84 <td> 80 85 <select name="PlatformId"> … … 90 95 </tr> 91 96 <tr> 92 <t d>97 <th> 93 98 Action: 94 </t d>99 </th> 95 100 <td> 96 101 <input type="submit" value="save" /> … … 104 109 {%><br /> 105 110 <% Algorithm p = ((AlgorithmModel)Model).Algorithm; %> 106 <table border="1">111 <table class="hl-table"> 107 112 <tr> 108 <t d>113 <th> 109 114 File: 110 </t d>115 </th> 111 116 <td> 112 117 <%: Html.Hidden("AlgorithmId", p.Id.ToString(), p.Id.ToString())%> … … 115 120 </tr> 116 121 <tr> 117 <t d>122 <th> 118 123 Action: 119 </t d>124 </th> 120 125 <td> 121 126 <input type="submit" value="Upload file" /> 122 127 </td> 123 128 </tr> 124 </table> 125 <%: Html.ActionLink("back to Index","Index") %> 129 </table> 130 126 131 <% } %> 127 132 -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Algorithm/Index.aspx
r6290 r6304 22 22 <th>Description</th> 23 23 <th>Type</th> 24 <th colspan="2">Actions</th>24 <th>Actions</th> 25 25 </tr> 26 26 </thead> … … 38 38 <%: Html.Label(p.DataTypeName)%> 39 39 </td> 40 <td> 41 <%: Html.ActionLink("detail", "Detail", new { p.Id }, new { @class = "hl-icon-edit" })%> 42 </td> 43 <td> 44 <%: Html.ActionLink("delete", "Delete", new { p.Id }, new { @class = "hl-icon-delete" })%> 45 </td> 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" })%> 43 </td> 46 44 </tr> 47 45 <% } %> -
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> -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Detail.aspx
r6290 r6304 23 23 Problem p = ((ProblemModel)Model).Problem; 24 24 %> 25 <table border="1"> 25 <div class="hl-menuButtons"> 26 <%: Html.ActionLink("Back to Index", "Index", null, new { @class = "hl-button-text-back" })%> 27 </div> 28 <table class="hl-table"> 26 29 <tr> 27 <t d>30 <th> 28 31 Id: 29 </t d>32 </th> 30 33 <td> 31 34 <%: Html.Label(p.Id.ToString())%> … … 34 37 </tr> 35 38 <tr> 36 <t d>39 <th> 37 40 Name: 38 </t d>41 </th> 39 42 <td> 40 43 <%: Html.TextBox("ProblemName", p.Name, p.Name)%> … … 42 45 </tr> 43 46 <tr> 44 <t d>47 <th> 45 48 Description: 46 </t d>49 </th> 47 50 <td> 48 51 <%: Html.TextBox("ProblemDescription", p.Description, p.Description)%> … … 50 53 </tr> 51 54 <tr> 52 <t d>55 <th> 53 56 DataTypeName: 54 </t d>57 </th> 55 58 <td> 56 59 <%: Html.TextBox("ProblemDataTypeName", p.DataTypeName, p.DataTypeName)%> … … 58 61 </tr> 59 62 <tr> 60 <t d>63 <th> 61 64 Problem Class: 62 </t d>65 </th> 63 66 <td> 64 67 <select name="ProblemClassId"> … … 74 77 </tr> 75 78 <tr> 76 <t d>79 <th> 77 80 Platform: 78 </t d>81 </th> 79 82 <td> 80 83 <select name="PlatformId"> … … 90 93 </tr> 91 94 <tr> 92 <t d>95 <th> 93 96 Action: 94 </t d>97 </th> 95 98 <td> 96 99 <input type="submit" value="save" /> … … 104 107 {%><br /> 105 108 <% Problem p = ((ProblemModel)Model).Problem; %> 106 <table border="1">109 <table class="hl-table"> 107 110 <tr> 108 <t d>111 <th> 109 112 File: 110 </t d>113 </th> 111 114 <td> 112 115 <%: Html.Hidden("ProblemId", p.Id.ToString(), p.Id.ToString()) %> … … 115 118 </tr> 116 119 <tr> 117 <t d>120 <th> 118 121 Action: 119 </t d>122 </th> 120 123 <td> 121 124 <input type="submit" value="Upload file" /> … … 123 126 </tr> 124 127 </table> 125 <%: Html.ActionLink("back to Index","Index") %>126 128 <% } %> 127 129 -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Index.aspx
r6290 r6304 15 15 16 16 <% long? id = null; %> 17 < %: Html.ActionLink("New Problem", "Detail", new {id}) %>18 <%: Html.ActionLink(" Order ASC", "SortAsc")%>19 < %: Html.ActionLink("Order DESC", "SortDesc")%>17 <div class="hl-menuButtons"> 18 <%: Html.ActionLink("New Problem", "Detail", new { id }, new { @class = "hl-button-text-plus" })%> 19 </div> 20 20 21 <div style="height:150px; overflow:scroll;"> 22 <table> 21 <table class="hl-dataTable"> 22 <thead> 23 <tr> 24 <th>Name</th> 25 <th>Description</th> 26 <th>Type</th> 27 <th>Actions</th> 28 </tr> 29 </thead> 30 <tbody> 23 31 <!--// We get this from the Controller (Index)--> 24 32 <% foreach(Problem p in ((ProblemModel)Model).Problems) { %> … … 33 41 <%: Html.Label(p.DataTypeName)%> 34 42 </td> 35 <td> 36 <%: Html.ActionLink("detail", "Detail", new { p.Id })%> 37 </td> 38 <td> 39 <%: Html.ActionLink("delete", "Delete",new {p.Id}) %> 43 <td class="hl-iconcell"> 44 <%: Html.ActionLink("detail", "Detail", new { p.Id }, new { @class = "hl-icon-edit" })%> 45 <%: Html.ActionLink("delete", "Delete", new { p.Id }, new { @class = "hl-icon-delete" })%> 40 46 </td> 41 47 </tr> 42 48 <% } %> 49 </tbody> 43 50 </table> 44 </div>51 45 52 </asp:Content> -
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.