Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization/Index.cshtml @ 8545

Last change on this file since 8545 was 8545, checked in by fschoepp, 12 years ago

#1888:

  • Controller is now capable of gathering Hive Jobs
  • Hive Jobs will be mapped to independent Job-Class (shared between Controller and Frontend)
  • HiveScenarioManager is capable of gathering Hive Jobs + their results
  • Job Results will be mapped to string properties
  • Frontend renders all Results after opening the job details
  • Misc: Frontend now passes User-object to Controller so that it is able to connect to the Hive Service (hardcoded values removed)
File size: 716 bytes
Line 
1@model HeuristicLab.Services.Optimization.Web.Models.OptimizationModel
2
3@{
4    ViewBag.Title = "Index";
5}
6
7<h2>Your jobs:</h2>
8<table>
9  <thead>
10    <tr>
11      <td>Name</td>
12      <td>Resource</td>
13      <td>State</td>   
14    </tr>
15  </thead>
16  <tbody>
17    @foreach(var itm in Model.Jobs) {
18        <tr>
19            <td>@Html.ActionLink(itm.Name, "JobDetails", new { jobId = itm.Id })</td>
20            <td>@itm.Resource</td>
21            <td>@itm.State</td>           
22        </tr>
23    }
24  </tbody>
25</table>
26
27<h2>Choose your scenario</h2>
28
29<ul>
30@foreach (var itm in Model.Scenarios) {
31    <li>@Html.ActionLink(itm.Name, "ProblemParameters", new { scenario=itm.Name })</li>
32}
33</ul>
Note: See TracBrowser for help on using the repository browser.