- Timestamp:
- 05/10/16 16:55:18 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views
- Files:
-
- 9 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFile.cshtml
r13834 r13841 42 42 </a> 43 43 </div> 44 @Html.Partial("OpenFilePartials/_Help", Model); 44 45 <!-- Check model to select right partial, partial handles all subloading --> 45 46 <div class="col-md-9"> … … 164 165 </div> 165 166 <div class="col-sm-4"> 166 <h4>Save to file</h4> 167 <h3 style="text-align:center">Save to file</h3> 168 <p style="text-align:center;font-style:italic">Changed parameters get saved but child distribution and task priority get lost in the process.</p> 167 169 <form asp-controller="Job" 168 170 asp-action="saveToFile" … … 200 202 </div> 201 203 <!-- Side scrolling menu--> 202 <nav style="margin-top:50px; "204 <nav 203 205 class="col-md-2" id="scrolly"> 204 206 <ul class="nav nav-pills nav-stacked" … … 238 240 $('html, body').animate({ 239 241 scrollTop: target.offset().top 240 }, 1000);242 }, 700); 241 243 return false; 242 244 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/DataMaster.cshtml
r13834 r13841 12 12 @Html.Partial("OpenFilePartials/DataPartials/Bool", Model); 13 13 } 14 else if (Model.Data.ActualValue is BoolArray) 15 { 16 @Html.Partial("OpenFilePartials/DataPartials/BoolArray", Model); 17 } 18 else if (Model.Data.ActualValue is BoolMatrix) 19 { 20 @Html.Partial("OpenFilePartials/DataPartials/BoolMatrix", Model); 21 } 14 22 else if (Model.Data.ActualValue is StringValue) 15 23 { 16 24 @Html.Partial("OpenFilePartials/DataPartials/String", Model); 25 } 26 else if (Model.Data.ActualValue is StringArray) 27 { 28 @Html.Partial("OpenFilePartials/DataPartials/StringArray", Model); 29 } 30 else if (Model.Data.ActualValue is StringMatrix) 31 { 32 @Html.Partial("OpenFilePartials/DataPartials/StringMatrix", Model); 17 33 } 18 34 else if (Model.Data.ActualValue is IntValue) … … 20 36 @Html.Partial("OpenFilePartials/DataPartials/Int", Model); 21 37 } 38 else if (Model.Data.ActualValue is IntArray && !(Model.Data.ActualValue is HeuristicLab.Encodings.PermutationEncoding.Permutation)) 39 { 40 @Html.Partial("OpenFilePartials/DataPartials/IntArray", Model); 41 } 42 else if (Model.Data.ActualValue is IntMatrix) 43 { 44 @Html.Partial("OpenFilePartials/DataPartials/IntMatrix", Model); 45 } 22 46 else if (Model.Data.ActualValue is PercentValue) 23 47 { 24 48 @Html.Partial("OpenFilePartials/DataPartials/Percent", Model); 25 49 } 50 else if (Model.Data.ActualValue is PercentArray) 51 { 52 @Html.Partial("OpenFilePartials/DataPartials/PercentArray", Model); 53 } 54 else if (Model.Data.ActualValue is PercentMatrix) 55 { 56 @Html.Partial("OpenFilePartials/DataPartials/PercentMatrix", Model); 57 } 26 58 else if (Model.Data.ActualValue is DoubleValue) 27 59 { 28 60 @Html.Partial("OpenFilePartials/DataPartials/Double", Model); 29 }30 else if (Model.Data.ActualValue is IntArray)31 {32 @Html.Partial("OpenFilePartials/DataPartials/IntArray", Model);33 61 } 34 62 else if (Model.Data.ActualValue is DoubleArray) … … 42 70 else if (Model.Data.ActualValue is IItem) 43 71 { 44 @Html.Partial("OpenFilePartials/DataPartials/Others ", Model);72 @Html.Partial("OpenFilePartials/DataPartials/OthersClean", Model);//just Others to print the datatype too 45 73 } 46 74 } 47 75 catch(NotSupportedException e) 48 76 { 49 @Html.Partial("OpenFilePartials/DataPartials/Others ", Model)77 @Html.Partial("OpenFilePartials/DataPartials/OthersClean", Model) 50 78 51 79 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/DoubleMatrix.cshtml
r13834 r13841 10 10 { 11 11 s += "[ "; 12 s += dat[d,0] + "; " + dat[d,1]; 12 for (var i = 0; i < dat.Columns; i++) 13 { 14 s += dat[d, i]; 15 if (i < dat.Columns - 1) 16 { 17 s += "; "; 18 } 19 20 } 13 21 s += " ] " + Environment.NewLine; 14 22 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_Algorithm.cshtml
r13827 r13841 13 13 <div class="row" style="text-align:center"> 14 14 <h1> 15 <span class="label label-primary">Algorithm: @Model.SelectedTask.ItemTask.Name</span>15 <span class="label label-primary">Algorithm:<span id="nameCarrier@(randy)">@Model.SelectedTask.ItemTask.Name</span></span> 16 16 </h1> 17 17 <p> 18 <input type="text" 19 style="width:50%;display:initial; background-color:transparent;text-align:center" 20 onchange="changeName([],this.value,@randy)" 21 value="@Model.SelectedTask.ItemTask.Name" /> 22 </p> 18 23 </div> 19 24 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_AlgorithmSmall.cshtml
r13827 r13841 12 12 <p class="text-center"> 13 13 <a class="btn btn-primary" 14 id="nameCarrier@(randomal)" 14 15 data-toggle="collapse" 15 16 href="#collapseExample@(randomal)" … … 33 34 text-shadow:none"> 34 35 <div class="panel-heading panel-primary text-center"> 36 <p> 37 <input type="text" 38 class="form-control" 39 style="width:50%;display:initial; background-color:transparent; color:white;text-align:center" 40 onchange="changeName(@builder,this.value,@randomal)" 41 value="@Model.algo.Name" /> 42 </p> 35 43 <p>@Model.algo.Description</p> 36 44 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_BatchRun.cshtml
r13827 r13841 11 11 <div class="row" 12 12 style="text-align:center"> 13 <h1 14 > 13 <h1> 15 14 <span class="label label-warning " 16 15 style="text-shadow:2px 2px black;"> 17 Batch: @Model.SelectedBatchRun.Name16 Batch: <span id="nameCarrier@(randy)">@Model.SelectedBatchRun.Name</span> 18 17 </span> 18 19 19 </h1> 20 <input type="text" 21 class="form-control" 22 style="width:50%;display:initial; background-color:transparent;text-align:center" 23 onchange="changeName([],this.value,@randy)" 24 value="@Model.SelectedTask.ItemTask.Name" /> 20 25 </div> 21 26 <h4 id="tasks"> 22 Repeats: @Model.SelectedBatchRun.Repetitions x 27 Repeats: 28 <input type="number" 29 class="form-control" 30 style="width:80px;display:initial" 31 min="1" 32 value="@Model.SelectedBatchRun.Repetitions" 33 onchange="changeRepit([],this.value,@randy)" /> 34 x 23 35 24 36 </h4> … … 30 42 data-onstyle="warning" 31 43 onchange="toggleChild([], @randy)" /> 32 44 33 45 </p> 34 46 <div id="childs@(randy)"> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_BatchRunSmall.cshtml
r13827 r13841 13 13 <p class="text-center"> 14 14 <a class="btn btn-warning" 15 id="nameCarrier@(randombr)" 15 16 data-toggle="collapse" 16 17 href="#collapseExample@(randombr)" … … 36 37 text-shadow:2px 2px black"> 37 38 <div class="panel-heading text-center"> 39 <p> 40 <input type="text" 41 class="form-control" 42 style="width:50%;display:initial; background-color:transparent;text-align:center;color:white" 43 onchange="changeName(@builder,this.value,@randombr)" 44 value="@Model.batch.Name" /> 45 </p> 38 46 <p class="panel-title"> 39 Repeats @Model.batch.Repetitions X 47 Repeats: 48 <input type="number" 49 class="form-control" 50 style="width:80px;display:initial; margin-bottom:5px" 51 min="1" 52 value="@Model.batch.Repetitions" 53 onchange="changeRepit(@builder,this.value,@randombr)" /> 54 x 40 55 </p> 41 56 <p> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_Experiment.cshtml
r13827 r13841 12 12 > 13 13 <span class="label label-danger" 14 style="text-shadow:2px 2px black;"> 15 Experiment: @Model.SelectedTask.ItemTask.Name 14 style="text-shadow:2px 2px black;">Experiment: 15 <span id="nameCarrier@(randy)"> 16 @Model.SelectedTask.ItemTask.Name 17 </span> 16 18 </span> 17 19 </h1> 18 20 <p> 21 <input type="text" 22 style="width:50%;display:initial; background-color:transparent;text-align:center" 23 onchange="changeName([],this.value,@randy)" 24 value="@Model.SelectedTask.ItemTask.Name" /> 25 </p> 19 26 </div> 20 27 <h4 id="tasks"> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_ExperimentSmall.cshtml
r13827 r13841 14 14 href="#collapseExample@(randomex)" 15 15 aria-expanded="false" 16 id="nameCarrier@(randomex)" 16 17 aria-controls="collapseExample@(randomex)" 17 18 style="margin:10px; margin-bottom:0; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); … … 34 35 35 36 <div class="panel-heading panel-danger text-center"> 37 <p> 38 <input type="text" 39 class="form-control" 40 style="width:50%;display:initial; background-color:transparent; color:white;text-align:center" 41 onchange="changeName(@builder,this.value,@randomex)" 42 value="@Model.exp.Name" /> 43 </p> 36 44 <p class="panel-title"> 37 45 Children: @Model.exp.Optimizers.Count -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Uploads.cshtml
r13827 r13841 80 80 } 81 81 </div> 82 @if (ViewBag.active != null && ViewBag.active == true) 83 { 84 <div> 85 <a class="btn btn-warning btn-block" 86 asp-controller="Job" 87 asp-action="OpenRecent" 88 style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 89 text-shadow:2px 2px black;margin-top:10px"> 90 <i class="fa fa-undo"></i> Reopen last file 91 </a> 92 </div> 93 94 } 95 82 96 </div> 83 97 <p style="display:none" -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/User/Index.cshtml
r13827 r13841 68 68 </div> 69 69 <div class="btn-group-vertical btn-block"> 70 71 70 71 72 72 @foreach (var user in Model.users) 73 73 { … … 111 111 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);"> 112 112 <div class="row"> 113 <h2 style="padding-left:20px"> 113 @if (Model.SelectedUser.Id != Guid.Empty && Model.SelectedUser.IsApproved) 114 {<div class="row" style="margin-right:20px"> 115 <a class="btn btn-success pull-right disabled"><i class="fa fa-check-square-o "></i> Approved</a> 116 </div> 117 } 118 else if (Model.SelectedUser.Id != Guid.Empty && !Model.SelectedUser.IsApproved) 119 {<div class="row" style="margin-right:20px"> 120 <a class="btn btn-warning pull-right" 121 asp-action="approveUser" 122 asp-controller="User" 123 asp-route-id="@Model.SelectedUser.Id"> 124 <i class="fa fa-square-o" ></i> Not approved 125 </a> 126 127 </div> 128 } 129 <h2 style="padding-left:20px; margin-top:0"> 114 130 @if (Model.SelectedUser.Id != Guid.Empty) 115 131 { 116 <i class="fa fa-user "></i> @Model.SelectedUser.UserName; 132 <i class="fa fa-user "></i> @Model.SelectedUser.UserName 133 117 134 } 118 135 else … … 122 139 } 123 140 </h2> 141 124 142 <form class="form-horizontal" 125 143 method="post" … … 189 207 190 208 </div> 191 <div class="form-group"> 192 <label class="col-sm-3 control-label"> 193 User created 194 </label> 195 <label class="col-sm-8 control-label" style="text-align:left"> 196 @Model.SelectedUser.CreationDate.AddHours(2).ToString(); 197 </label> 198 </div> 199 <div class="form-group"> 200 <label class="col-sm-3 control-label"> 201 Last activity 202 </label> 203 <label class="col-sm-8 control-label" style="text-align:left"> 204 @Model.SelectedUser.LastActivityDate.AddHours(2).ToString() 205 </label> 206 </div> 207 <div class="form-group"> 208 <label class="col-sm-3 control-label"> 209 Password 210 </label> 211 <div id="inppassreset" class="col-sm-8"> 212 Last change: @Model.SelectedUser.LastPasswordChangedDate.ToShortDateString() 213 <button type="button" 214 onclick="resetPass('@(Model.SelectedUser.Id)')" 215 class="btn btn-default"> 216 <i class="fa fa-unlock"></i> Reset password 217 </button> 218 </div> 219 </div> 220 221 <div class="form-group"> 222 <label class="col-sm-3 control-label"> 223 Member of @Model.SelectedUserSubscriptions.Count groups 224 </label> 225 <div class="col-sm-8 control-label" style="text-align:left"> 226 @if (Model.SelectedUserSubscriptions.Count > 0) 227 { 228 @foreach (var g in Model.SelectedUserSubscriptions) 209 <div class="form-group"> 210 <label class="col-sm-3 control-label"> 211 User created 212 </label> 213 <label class="col-sm-8 control-label" style="text-align:left"> 214 @Model.SelectedUser.CreationDate.AddHours(2).ToString(); 215 </label> 216 </div> 217 <div class="form-group"> 218 <label class="col-sm-3 control-label"> 219 Last activity 220 </label> 221 <label class="col-sm-8 control-label" style="text-align:left"> 222 @Model.SelectedUser.LastActivityDate.AddHours(2).ToString() 223 </label> 224 </div> 225 <div class="form-group"> 226 <label class="col-sm-3 control-label"> 227 Password 228 </label> 229 <div id="inppassreset" class="col-sm-8"> 230 Last change: @Model.SelectedUser.LastPasswordChangedDate.ToShortDateString() 231 <button type="button" 232 onclick="resetPass('@(Model.SelectedUser.Id)')" 233 class="btn btn-default"> 234 <i class="fa fa-unlock"></i> Reset password 235 </button> 236 </div> 237 </div> 238 239 <div class="form-group"> 240 <label class="col-sm-3 control-label"> 241 Member of @Model.SelectedUserSubscriptions.Count groups 242 </label> 243 <div class="col-sm-8 control-label" style="text-align:left"> 244 @if (Model.SelectedUserSubscriptions.Count > 0) 229 245 { 230 <div class="row"> 231 <p class="col-sm-10"><i class="fa fa-group"></i> @g.Name</p> 232 <p class="col-sm-2"> 233 <a class="btn btn-danger pull-right" 234 asp-controller="User" 235 asp-action="deleteUserGroup" 236 asp-route-id="@Model.SelectedUser.Id" 237 asp-route-group="@g.Id" 238 onclick="showDeleter()"> 239 <i class="fa fa-trash-o"></i> 240 </a> 241 </p> 242 </div> 246 @foreach (var g in Model.SelectedUserSubscriptions) 247 { 248 <div class="row"> 249 <p class="col-sm-10"><i class="fa fa-group"></i> @g.Name</p> 250 <p class="col-sm-2"> 251 <a class="btn btn-danger pull-right" 252 asp-controller="User" 253 asp-action="deleteUserGroup" 254 asp-route-id="@Model.SelectedUser.Id" 255 asp-route-group="@g.Id" 256 onclick="showDeleter()"> 257 <i class="fa fa-trash-o"></i> 258 </a> 259 </p> 260 </div> 261 } 243 262 } 244 } 245 else 246 { 247 <p>Not a member of any groups</p> 248 } 249 </div> 250 </div> 263 else 264 { 265 <p>Not a member of any groups</p> 266 } 267 </div> 268 </div> 251 269 } 252 270 … … 293 311 <div class="form-group"> 294 312 <label class="col-sm-3 control-label"> 295 @Model.SelectedUserRoles.Count Roles313 @Model.SelectedUserRoles.Count Roles 296 314 </label> 297 315 <div class="col-sm-8 control-label" style="text-align:left">
Note: See TracChangeset
for help on using the changeset viewer.