Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/27/11 19:09:49 (13 years ago)
Author:
jwolfing
Message:

#1433 code formatted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/AlgorithmClass/Index.aspx

    r6310 r6317  
    33<%@ Import Namespace="HLWebOKBAdminPlugin.Models" %>
    44<%@ Import Namespace="HLWebOKBAdminPlugin.OKBAdministrationService" %>
    5 
    65<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    7     Index
     6  Index
    87</asp:Content>
    98<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="SubMenuContent">
    10    <% Html.RenderAction("Menu", "Admin"); %>
     9  <% Html.RenderAction("Menu", "Admin"); %>
    1110</asp:Content>
    1211<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    13 
    14     <h2>AlgorithmClass</h2>
    15 
    16 <%  long? id = null;  %>
    17 <div class="hl-menuButtons">
     12  <h2>
     13    AlgorithmClass</h2>
     14  <%  long? id = null;  %>
     15  <div class="hl-menuButtons">
    1816    <%: Html.ActionLink("New AlgorithmClass", "Detail", new { id }, new { @class = "hl-button-text-plus" })%>
    19 </div>
    20 
    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>
    31             <!--// We get this from the Controller (Index)-->
    32             <% foreach (AlgorithmClass p in ((AlgorithmClassModel)Model).AlgorithmClasses) {  %>
    33             <tr>
    34                 <td>
    35                     <%: p.Name %>
    36                 </td>
    37                 <td>
    38                     <%: p.Description %>
    39                 </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>
    44             </tr>
    45             <% } %>
    46             </tbody>
    47         </table>
    48  
     17  </div>
     18  <table class="hl-dataTable">
     19    <thead>
     20      <tr>
     21        <th>
     22          Name
     23        </th>
     24        <th>
     25          Description
     26        </th>
     27        <th>
     28          Actions
     29        </th>
     30      </tr>
     31    </thead>
     32    <tbody>
     33      <!--// We get this from the Controller (Index)-->
     34      <% foreach (AlgorithmClass p in ((AlgorithmClassModel)Model).AlgorithmClasses) {  %>
     35      <tr>
     36        <td>
     37          <%: p.Name %>
     38        </td>
     39        <td>
     40          <%: p.Description %>
     41        </td>
     42        <td class="hl-iconcell">
     43          <%: Html.ActionLink("detail", "Detail", new { p.Id }, new { @class = "hl-icon-edit" })%>
     44          <%: Html.ActionLink("delete", "Delete", new { p.Id }, new { @class = "hl-icon-delete" })%>
     45        </td>
     46      </tr>
     47      <% } %>
     48    </tbody>
     49  </table>
    4950</asp:Content>
Note: See TracChangeset for help on using the changeset viewer.