Line | |
---|
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
|
---|
2 |
|
---|
3 | <%@ Import Namespace="HLWebOKBQueryPlugin.Models" %>
|
---|
4 | <%@ Import Namespace="HLWebOKBQueryPlugin.OKBQueryService" %>
|
---|
5 | <%@ Import Namespace="HLWebOKBQueryPlugin.Helpers" %>
|
---|
6 |
|
---|
7 | <asp:Content ID="Content3" runat="server" ContentPlaceHolderID="SubMenuContent">
|
---|
8 | <% Html.RenderAction("Menu","Query"); %>
|
---|
9 | </asp:Content>
|
---|
10 |
|
---|
11 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
---|
12 | Results
|
---|
13 | </asp:Content>
|
---|
14 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
---|
15 | <h2>
|
---|
16 | Results</h2>
|
---|
17 | <table class="hl-dataTable">
|
---|
18 | <thead>
|
---|
19 | <tr>
|
---|
20 | <th>
|
---|
21 | Number of Run
|
---|
22 | </th>
|
---|
23 | <th>
|
---|
24 | Action
|
---|
25 | </th>
|
---|
26 | </tr>
|
---|
27 | </thead>
|
---|
28 | <tbody>
|
---|
29 | <%
|
---|
30 |
|
---|
31 | QueryModel model = (QueryModel)Model;
|
---|
32 |
|
---|
33 | if (model != null && model.RunCollection != null)
|
---|
34 | {
|
---|
35 | int i = 0;
|
---|
36 | foreach (RunCollectionData rc in model.RunCollection)
|
---|
37 | {
|
---|
38 | i++;
|
---|
39 | %><tr>
|
---|
40 | <td>
|
---|
41 | <%= i %>
|
---|
42 | </td>
|
---|
43 | <td>
|
---|
44 | <%: Html.ActionLink("details", "Details", "Query", rc, null)%>
|
---|
45 | </td>
|
---|
46 | </tr>
|
---|
47 | <%
|
---|
48 | }
|
---|
49 | }
|
---|
50 | %>
|
---|
51 | </tbody>
|
---|
52 | </table>
|
---|
53 | </asp:Content>
|
---|
Note: See
TracBrowser
for help on using the repository browser.