Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/27/11 13:12:25 (13 years ago)
Author:
dkahn
Message:

#1198 Ongoing styling

Location:
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/ProblemClass
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/ProblemClass/Detail.aspx

    r6290 r6304  
    1414    <% { %>
    1515    <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>
    1719    <% ProblemClass pc = ((ProblemClassModel)Model).ProblemClass; %>
    18     <table border="1">
     20    <table class="hl-table">
    1921        <tr>
    20             <td>
     22            <th>
    2123                Id:
    22             </td>
     24            </th>
    2325            <td>
    2426                <%: Html.Label(pc.Id.ToString())%>
     
    2729        </tr>
    2830        <tr>
    29             <td>
     31            <th>
    3032                Name:
    31             </td>
     33            </th>
    3234            <td>
    3335                <%: Html.TextBox("ProblemClassName", pc.Name, pc.Name)%>
     
    3537        </tr>
    3638        <tr>
    37             <td>
     39            <th>
    3840                Description:
    39             </td>
     41            </th>
    4042            <td>
    4143                <%: Html.TextBox("ProblemClassDescription", pc.Description, pc.Description)%>
     
    4345        </tr>
    4446        <tr>
    45             <td>
     47            <th>
    4648                Action:
    47             </td>
     49            </th>
    4850            <td>
    4951                <input type="submit" value="save" />
     
    5153        </tr>
    5254    </table>
    53     <%: Html.ActionLink("back to Index","Index") %>
    5455    <% } %>
    5556</asp:Content>
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/ProblemClass/Index.aspx

    r6290 r6304  
    1616
    1717<%  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>
    2121
    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>
    2431            <!--// We get this from the Controller (Index)-->
    2532            <% foreach (ProblemClass p in ((ProblemClassModel)Model).ProblemClasses) {  %>
     
    3138                    <%: Html.Label(p.Description) %>
    3239                </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" })%>
    3543                </td>
    36                 <td>
    37                     <%: Html.ActionLink("delete", "Delete",new {p.Id}) %>
    38                 </td>
     44
    3945            </tr>
    4046            <% } %>
     47        </tbody>
    4148        </table>
    42     </div>       
     49 
    4350</asp:Content>
Note: See TracChangeset for help on using the changeset viewer.