1 | @using HeuristicLab.Core;
|
---|
2 |
|
---|
3 |
|
---|
4 | @model HeuristicLab.Clients.Hive.WebJobManager.ViewModels.FileOpeningViewModel
|
---|
5 | @{System.Random randomizer = new Random();
|
---|
6 | int randy = randomizer.Next(50000); }
|
---|
7 |
|
---|
8 | <!-- Partial for opening an algorithm only file-->
|
---|
9 | <div style="margin-left:20px;margin-right:20px">
|
---|
10 | <div class="row" style="text-align:center">
|
---|
11 | @Model.message
|
---|
12 | </div>
|
---|
13 | <div class="row" style="text-align:center">
|
---|
14 | <h1>
|
---|
15 | <span class="label label-primary">Algorithm: @Model.SelectedTask.ItemTask.Name</span>
|
---|
16 | </h1>
|
---|
17 |
|
---|
18 | </div>
|
---|
19 |
|
---|
20 | <div class="row" id="algorithm">
|
---|
21 |
|
---|
22 | <div class="col">
|
---|
23 | <h4>Algorithm parameters</h4>
|
---|
24 | <table class="table table-condensed"
|
---|
25 | style="table-layout:fixed;overflow-wrap:break-word">
|
---|
26 | <thead>
|
---|
27 | <tr>
|
---|
28 | <th>Parameter</th>
|
---|
29 | <th>Value</th>
|
---|
30 | </tr>
|
---|
31 | </thead>
|
---|
32 | <tbody>
|
---|
33 | @foreach (var par in Model.SelectedAlgorithm.Parameters.OrderBy(x => x.Name))
|
---|
34 | {
|
---|
35 |
|
---|
36 | @Html.Partial("OpenFilePartials/DataPartials/DataMaster",
|
---|
37 | new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.Jobs.DataPackageVM( par,"[]",0, false))
|
---|
38 | }
|
---|
39 | </tbody>
|
---|
40 | </table>
|
---|
41 | </div>
|
---|
42 |
|
---|
43 | </div>
|
---|
44 | <hr style="border-color:gray" />
|
---|
45 |
|
---|
46 | <div class="row" id="problem">
|
---|
47 | <div class="col">
|
---|
48 | <h4>Problem parameters</h4>
|
---|
49 | <table class="table table-condensed"
|
---|
50 | style="table-layout:fixed;overflow-wrap:break-word">
|
---|
51 | <thead>
|
---|
52 | <tr>
|
---|
53 | <th>Parameter</th>
|
---|
54 | <th>Value</th>
|
---|
55 | </tr>
|
---|
56 | </thead>
|
---|
57 | <tbody>
|
---|
58 | @foreach (var prob in Model.SelectedAlgorithm.Problem.Parameters.OrderBy(x => x.Name))
|
---|
59 | {
|
---|
60 | @Html.Partial("OpenFilePartials/DataPartials/DataMaster",
|
---|
61 | new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.Jobs.DataPackageVM(prob, "[]", 0,true))
|
---|
62 |
|
---|
63 | }
|
---|
64 | </tbody>
|
---|
65 | </table>
|
---|
66 | </div>
|
---|
67 | </div>
|
---|
68 |
|
---|
69 |
|
---|
70 | </div> |
---|