1 | @model HeuristicLab.Services.Optimization.Web.Models.ExperimentViewModel
|
---|
2 |
|
---|
3 | @{
|
---|
4 | ViewBag.Title = "Experiments";
|
---|
5 | }
|
---|
6 |
|
---|
7 | <h2>Build your experiment:</h2>
|
---|
8 | @using (Html.BeginForm("SaveExperiment", "Experiment"))
|
---|
9 | {
|
---|
10 | <fieldset>
|
---|
11 | <legend>Create Template Experiment:</legend>
|
---|
12 |
|
---|
13 | <div class="editor-label">
|
---|
14 | <label for="name">Experiment Template Name:</label>
|
---|
15 | </div>
|
---|
16 |
|
---|
17 | <div class="editor-field">
|
---|
18 | <input id="name" name="Name" type="text" value="My Experiment" />
|
---|
19 | </div>
|
---|
20 |
|
---|
21 | <div>
|
---|
22 | <p>Experiment Tree:</p>
|
---|
23 | </div>
|
---|
24 |
|
---|
25 | <div id="container" class="treeStyle">
|
---|
26 | <ul>
|
---|
27 | <li id="root">Experiment</li>
|
---|
28 | </ul>
|
---|
29 | </div>
|
---|
30 | <input style="margin-top:5px;" name="RemoveNode" type="button" value="Remove" disabled="disabled" />
|
---|
31 |
|
---|
32 | <div id="scenarios">
|
---|
33 | @if (Model.Scenarios.Count > 0) {
|
---|
34 | <p>Choose an algorithm:</p>
|
---|
35 | foreach (var scen in Model.Scenarios) {
|
---|
36 | <div class="dragables" id="@scen"><p>@scen</p></div>
|
---|
37 | }
|
---|
38 |
|
---|
39 | }
|
---|
40 | <div class="clearer"/>
|
---|
41 | </div>
|
---|
42 |
|
---|
43 | <div id="experiments">
|
---|
44 | @if (Model.Scenarios.Count > 0) {
|
---|
45 | <p>Choose from your stored experiments:</p>
|
---|
46 | foreach (var scen in Model.Experiments) {
|
---|
47 | <div class="dragables" id="@scen"><p>@scen</p></div>
|
---|
48 | }
|
---|
49 |
|
---|
50 | }
|
---|
51 | <div class="clearer"/>
|
---|
52 | </div>
|
---|
53 | <input type="submit" value="Save experiment" class="submitter" />
|
---|
54 | <img src="@Url.Content("~/Content/hl/images/ajax-loader.gif")" alt="Loading animation" class="loader unseen" />
|
---|
55 | </fieldset>
|
---|
56 | <div><p id="jsonMessage"></p></div>
|
---|
57 | }
|
---|
58 |
|
---|
59 |
|
---|
60 | @section submenu {
|
---|
61 | <ul>
|
---|
62 | <li class="selected">@Html.ActionLink("Build", "New")</li>
|
---|
63 | <li>@Html.ActionLink("Edit", "NewEdit")</li>
|
---|
64 | <li>@Html.ActionLink("Status", "Index", "Status")</li>
|
---|
65 | </ul>
|
---|
66 | } |
---|