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/Problem
Files:
2 edited

Legend:

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

    r6290 r6304  
    2323        Problem p = ((ProblemModel)Model).Problem;
    2424    %>
    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">
    2629        <tr>
    27             <td>
     30            <th>
    2831                Id:
    29             </td>
     32            </th>
    3033            <td>
    3134                <%: Html.Label(p.Id.ToString())%>
     
    3437        </tr>
    3538        <tr>
    36             <td>
     39            <th>
    3740                Name:
    38             </td>
     41            </th>
    3942            <td>
    4043                <%: Html.TextBox("ProblemName", p.Name, p.Name)%>
     
    4245        </tr>
    4346        <tr>
    44             <td>
     47            <th>
    4548                Description:
    46             </td>
     49            </th>
    4750            <td>
    4851                <%: Html.TextBox("ProblemDescription", p.Description, p.Description)%>
     
    5053        </tr>
    5154        <tr>
    52             <td>
     55            <th>
    5356                DataTypeName:
    54             </td>
     57            </th>
    5558            <td>
    5659                <%: Html.TextBox("ProblemDataTypeName", p.DataTypeName, p.DataTypeName)%>
     
    5861        </tr>
    5962        <tr>
    60             <td>
     63            <th>
    6164                Problem Class:
    62             </td>
     65            </th>
    6366            <td>
    6467                <select name="ProblemClassId">
     
    7477        </tr>
    7578        <tr>
    76             <td>
     79            <th>
    7780                Platform:
    78             </td>
     81            </th>
    7982            <td>
    8083                <select name="PlatformId">
     
    9093        </tr>
    9194        <tr>
    92             <td>
     95            <th>
    9396                Action:
    94             </td>
     97            </th>
    9598            <td>
    9699                <input type="submit" value="save" />
     
    104107    {%><br />
    105108        <% Problem p = ((ProblemModel)Model).Problem; %>       
    106         <table border="1">
     109        <table class="hl-table">
    107110            <tr>
    108                 <td>
     111                <th>
    109112                    File:
    110                 </td>
     113                </th>
    111114                <td>
    112115                    <%: Html.Hidden("ProblemId", p.Id.ToString(), p.Id.ToString()) %>
     
    115118            </tr>
    116119            <tr>
    117                 <td>
     120                <th>
    118121                    Action:
    119                 </td>
     122                </th>
    120123                <td>
    121124                    <input type="submit" value="Upload file" />
     
    123126            </tr>
    124127        </table>                             
    125         <%: Html.ActionLink("back to Index","Index") %>
    126128        <% } %>
    127129       
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Views/Problem/Index.aspx

    r6290 r6304  
    1515   
    1616    <%  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>
    2020
    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>
    2331            <!--// We get this from the Controller (Index)-->
    2432            <% foreach(Problem p in ((ProblemModel)Model).Problems) {  %>
     
    3341                    <%: Html.Label(p.DataTypeName)%>
    3442                </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" })%>
    4046                </td>
    4147            </tr>
    4248            <% } %>
     49            </tbody>
    4350        </table>
    44     </div>     
     51   
    4552</asp:Content>
Note: See TracChangeset for help on using the changeset viewer.