Changeset 13834 for branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials
- Timestamp:
- 05/04/16 16:38:21 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/DataMaster.cshtml
r13827 r13834 4 4 <tr> 5 5 <td>@Model.Data.Name</td> 6 @if (Model.Data.ActualValue is BoolValue) 7 { 8 @Html.Partial("OpenFilePartials/DataPartials/Bool", Model); 9 } 10 else if (Model.Data.ActualValue is StringValue) { 11 @Html.Partial("OpenFilePartials/DataPartials/String", Model); 12 } 13 else if (Model.Data.ActualValue is IntValue) 14 { 15 @Html.Partial("OpenFilePartials/DataPartials/Int", Model); 16 } 17 else if (Model.Data.ActualValue is PercentValue) 18 { 19 @Html.Partial("OpenFilePartials/DataPartials/Percent", Model); 20 } 21 else if(Model.Data.ActualValue is DoubleValue) 22 { 23 @Html.Partial("OpenFilePartials/DataPartials/Double", Model); 24 } 25 else if (Model.Data.ActualValue is IItem) 26 { 27 @Html.Partial("OpenFilePartials/DataPartials/Others", Model); 6 @{ 7 try 8 { 9 Model.Data.ActualValue = Model.Data.ActualValue; 10 @if (Model.Data.ActualValue is BoolValue) 11 { 12 @Html.Partial("OpenFilePartials/DataPartials/Bool", Model); 13 } 14 else if (Model.Data.ActualValue is StringValue) 15 { 16 @Html.Partial("OpenFilePartials/DataPartials/String", Model); 17 } 18 else if (Model.Data.ActualValue is IntValue) 19 { 20 @Html.Partial("OpenFilePartials/DataPartials/Int", Model); 21 } 22 else if (Model.Data.ActualValue is PercentValue) 23 { 24 @Html.Partial("OpenFilePartials/DataPartials/Percent", Model); 25 } 26 else if (Model.Data.ActualValue is DoubleValue) 27 { 28 @Html.Partial("OpenFilePartials/DataPartials/Double", Model); 29 } 30 else if (Model.Data.ActualValue is IntArray) 31 { 32 @Html.Partial("OpenFilePartials/DataPartials/IntArray", Model); 33 } 34 else if (Model.Data.ActualValue is DoubleArray) 35 { 36 @Html.Partial("OpenFilePartials/DataPartials/DoubleArray", Model); 37 } 38 else if (Model.Data.ActualValue is DoubleMatrix) 39 { 40 @Html.Partial("OpenFilePartials/DataPartials/DoubleMatrix", Model); 41 } 42 else if (Model.Data.ActualValue is IItem) 43 { 44 @Html.Partial("OpenFilePartials/DataPartials/Others", Model); 45 } 46 } 47 catch(NotSupportedException e) 48 { 49 @Html.Partial("OpenFilePartials/DataPartials/Others", Model) 50 51 } 28 52 } 29 53 </tr> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/Double.cshtml
r13827 r13834 4 4 5 5 <td> 6 <input type="number" 6 <input style="width:50%;" 7 type="number" 7 8 value="@Model.Data.ActualValue" 8 9 onchange="paraEdit(@Model.Position,'@Model.Problem.ToString()', -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/Int.cshtml
r13827 r13834 4 4 5 5 <td> 6 <input type="number" 6 <input style="width:50%;" 7 type="number" 7 8 value="@Model.Data.ActualValue" 8 9 onchange="paraEdit(@Model.Position,'@Model.Problem.ToString()', -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/Percent.cshtml
r13827 r13834 7 7 min="0" 8 8 max="100" 9 style="width:50%;" 9 10 value="@(int.Parse(new String(Model.Data.ActualValue.ToString().Where(Char.IsDigit).ToArray())))" 10 11 onchange="paraEdit(@Model.Position,'@Model.Problem.ToString()', -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/String.cshtml
r13827 r13834 5 5 <td> 6 6 <input type="text" 7 style="width:100%;" 7 8 value="@Model.Data.ActualValue" 8 9 onchange="paraEdit(@Model.Position,'@Model.Problem.ToString()',
Note: See TracChangeset
for help on using the changeset viewer.