- Timestamp:
- 01/15/13 15:50:53 (12 years ago)
- Location:
- branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization/AlgorithmParameters.cshtml
r8506 r9166 2 2 3 3 @{ 4 ViewBag.Title = "Algorithm Parameters";4 ViewBag.Title = "Algorithm Parameters"; 5 5 } 6 6 7 7 <h2>Adjust algorithm parameters:</h2> 8 @using (Html.BeginForm( )) {8 @using (Html.BeginForm("AlgorithmParameters", "Optimization")) { 9 9 @Html.ValidationSummary(true) 10 10 <fieldset> -
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization/Index.cshtml
r9062 r9166 2 2 3 3 @{ 4 ViewBag.Title = " Index";4 ViewBag.Title = "Optimization-as-a-Service"; 5 5 } 6 6 … … 32 32 <ul> 33 33 @foreach (var itm in Model.Scenarios) { 34 <li>@Html.ActionLink(itm. Name, "ProblemParameters", new { scenario=itm.Name})</li>34 <li>@Html.ActionLink(itm.Id, "ProblemParameters", new { scenario=itm.Id })</li> 35 35 } 36 36 </ul> -
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization/JobDetails.cshtml
r9062 r9166 28 28 29 29 <h3>Run details:</h3> 30 @for (int j=0; j < Model.Runs.Count; j++) { 30 <div class="collapsible"> 31 @if (Model.Runs.Count > 1) { 32 <h3>Analyze runs</h3> 33 <div> 34 <div class="resizable ui-widget-content" style="width: 800px; height: 600px;"> 35 <div id="dataTableView" style="width: 96%; height: 96%;"> 36 <form action="#"> 37 <label for="dataTable">DataTable:</label> 38 <select name="dataTable" id="dataTable"></select> 39 <label for="dataRow">DataRow:</label> 40 <select name="dataRow" id="dataRow"></select> 41 <div id="dataTableGraph" style="width: 100%; height: 100%;"></div> 42 </form> 43 </div> 44 </div> 45 </div> 46 } 47 @for (int j = 0; j < Model.Runs.Count; j++) { 31 48 var run = Model.Runs[j]; 32 <p>@run.Name:</p> 49 <h3>@run.Name</h3> 50 <div> 33 51 <table> 34 52 <thead> … … 40 58 <tbody> 41 59 @for (var i = 0; i < run.Results.Count; i++) { 42 var result = run.Results[i];60 var result = run.Results[i]; 43 61 <tr> 44 <td>@ result.Value.Name</td>62 <td>@Html.Label(result.Value.Name, result.Value.Name)</td> 45 63 @if (result.Value is HeuristicLab.Services.Optimization.ControllerService.Model.DecimalMatrix) { 46 64 var matrix = (result.Value as HeuristicLab.Services.Optimization.ControllerService.Model.DecimalMatrix); … … 65 83 </div> 66 84 </td> 67 } 85 } 68 86 else { 69 <td>@((result.Value as HeuristicLab.Services.Optimization.ControllerService.Model.StringValue).Value)</td> 87 <td> 88 @Html.DisplayFor(m => result.Value) 89 </td> 90 <!-- Html.Partial(string.Format("~/Views/Shared/DisplayTemplates/{0}.cshtml", result.Value.GetType().Name), result.Value) --> 91 <!--td>((result.Value as HeuristicLab.Services.Optimization.ControllerService.Model.StringValue).Value)</td--> 70 92 } 71 93 </tr> … … 73 95 </tbody> 74 96 </table> 97 </div> 75 98 } 99 </div> -
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization/ProblemParameters.cshtml
r8506 r9166 1 @model HeuristicLab.Services.Optimization.ControllerService.Model. InputParameters1 @model HeuristicLab.Services.Optimization.ControllerService.Model.ProblemParameters 2 2 3 3 @{ 4 ViewBag.Title = "Problem Parameters";4 ViewBag.Title = "Problem Parameters"; 5 5 } 6 6 7 7 <h2>Adjust problem parameters:</h2> 8 8 9 @using (Html.BeginForm( )) {9 @using (Html.BeginForm("ProblemParameters", "Optimization")) { 10 10 @Html.ValidationSummary(true) 11 11 <fieldset> -
branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Optimization/ScheduleJob.cshtml
r8506 r9166 2 2 3 3 @{ 4 ViewBag.Title = "Schedule Job";4 ViewBag.Title = "Schedule Job"; 5 5 } 6 6 7 <h2>Do you really want to schedule the following job?</h2> 8 9 10 <h3>Problem Parameters:</h3> 11 @Html.DisplayFor(model => Model.InputParameters) 12 7 @using (Html.BeginForm()) { 8 <fieldset> 9 <legend>Scheduling parameters</legend> 10 <div class="editor-label"> 11 <label for="name">Name:</label> 12 </div> 13 <div class="editor-field"> 14 <input id="name" name="Name" type="text" value="Web scheduled job" /> 15 </div> 16 <div class="editor-label"> 17 <label for="repetitions">Repetitions:</label> 18 </div> 19 <div class="editor-field"> 20 <input id="repetitions" name="Repetitions" type="text" value="1" /> 21 </div> 22 <div class="editor-label"> 23 <label for="group">Group:</label> 24 </div> 25 <div class="editor-field"> 26 <input id="group" name="Group" type="text" value="TESTAZURE" /> 27 </div> 28 <div class="editor-field"> 29 <input type="submit" value="Schedule job!" /> 30 </div> 31 </fieldset> 32 } 33 @if (Model.FirstAlgorithm.Problem != null) { 34 <h3>Problem Parameters:</h3> 35 @Html.DisplayFor(model => Model.FirstAlgorithm.Problem.Parameters) 36 } 37 13 38 <h3>Algorithm Parameters:</h3> 14 @Html.DisplayFor(model => Model.AlgorithmParameters) 15 16 @using (Html.BeginForm()) { 17 <p> 18 <input type="submit" value="Schedule job!" /> 19 </p> 20 } 39 @Html.DisplayFor(model => Model.FirstAlgorithm.Parameters)
Note: See TracChangeset
for help on using the changeset viewer.