Changeset 13733 for branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials
- Timestamp:
- 03/24/16 17:19:13 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_Algorithm.cshtml
r13712 r13733 8 8 @Model.message 9 9 </div> 10 <div class="row" style="text-align: left">11 <h1 data-toggle="tooltip" title="@Model.SelectedTask.ItemTask.ItemName10 <div class="row" style="text-align:center"> 11 <h1 id="top" data-toggle="tooltip" title="@Model.SelectedTask.ItemTask.ItemName 12 12 @Model.SelectedTask.ItemTask.Description"> 13 13 <span class="label label-primary">Algorithm: @Model.SelectedTask.ItemTask.Name</span> 14 14 </h1> 15 <a class="btn btn-success" id="fakehiveadd" onclick="addtoHive()">Add to Hive</a> 16 17 <div class="btn-group"> 18 <button 19 type="button" 20 id="prior@(randy)" 21 class="btn btn-info dropdown-toggle" 22 data-toggle="dropdown" 23 aria-haspopup="true" aria-expanded="false"> 24 Normal <span class="caret"></span> 25 </button> 26 <ul class="dropdown-menu"> 27 <li><a onclick="changePriority([],0,@randy)">Low</a></li> 28 <li><a onclick="changePriority([],1,@randy)">Normal</a></li> 29 <li><a onclick="changePriority([],2,@randy)">Urgent</a></li> 30 <li><a onclick="changePriority([],3,@randy)">Critical</a></li> 31 </ul> 32 </div> 33 34 35 <a class="btn btn-success" id="realhiveadd" asp-controller="Job" asp-action="AddToHive" style="display:none"></a> 36 <h4 id="result" style="display:none">Start uploading algorithm...</h4> 37 <div class="progress" id="progdiv" style="display:none"> 38 39 <div class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar" 40 id="progress" 41 aria-valuenow="00" aria-valuemin="0" aria-valuemax="100" style="width:10%"> 42 40% 43 </div> 44 </div> 15 45 16 </div> 46 17 47 <div class="row"> 48 <div class="btn-group-justified"> 49 <a class="btn btn-default active" id="btnprob" onclick="setProb()">Problems</a> 50 <a class="btn btn-default" id="btnalg" onclick="setAlgo()">Algorithm</a> 51 </div> 52 </div> 53 <div class="row" id="problem"> 54 <div class="col"> 55 <table class="table table-condensed"> 56 <thead> 57 <tr> 58 <th>Parameter</th> 59 <th>Value</th> 60 </tr> 61 </thead> 62 <tbody> 63 @foreach (var prob in Model.SelectedAlgorithm.Problem.Parameters.OrderBy(x => x.Name)) 64 { 65 <tr> 66 <td>@prob.Name</td> 67 68 <td>@prob.ActualValue</td> 69 </tr> 70 71 } 72 </tbody> 73 </table> 74 </div> 75 </div> 76 <div class="row" id="algorithm" style="display:none"> 18 <div class="row" id="algorithm"> 77 19 78 20 <div class="col"> 79 <table class="table table-condensed"> 21 <h4>Algorithm parameters</h4> 22 <table class="table table-condensed" 23 style="table-layout:fixed;overflow-wrap:break-word"> 80 24 <thead> 81 25 <tr> … … 99 43 100 44 </div> 45 <hr style="border-color:gray" /> 46 47 <div class="row" id="problem"> 48 <div class="col"> 49 <h4>Problem parameters</h4> 50 <table class="table table-condensed" 51 style="table-layout:fixed;overflow-wrap:break-word"> 52 <thead> 53 <tr> 54 <th>Parameter</th> 55 <th>Value</th> 56 </tr> 57 </thead> 58 <tbody> 59 @foreach (var prob in Model.SelectedAlgorithm.Problem.Parameters.OrderBy(x => x.Name)) 60 { 61 <tr> 62 <td>@prob.Name</td> 63 64 <td>@prob.ActualValue</td> 65 </tr> 66 67 } 68 </tbody> 69 </table> 70 </div> 71 </div> 72 73 101 74 <script type="text/javascript"> 102 103 function setProb() {104 resetAll();105 document.getElementById("problem").style.display = "";106 document.getElementById("btnprob").className += " active";107 108 }109 function setAlgo() {110 resetAll();111 document.getElementById("algorithm").style.display = "";112 document.getElementById("btnalg").className += " active";113 }114 115 116 function resetAll() {117 document.getElementById("problem").style.display = "none";118 document.getElementById("algorithm").style.display = "none";119 document.getElementById("btnprob").className = document.getElementById("btnprob").className.replace(/(?:^|\s)active(?!\S)/g, '');120 document.getElementById("btnalg").className = document.getElementById("btnalg").className.replace(/(?:^|\s)active(?!\S)/g, '');121 }122 75 $(document).ready(function () { 123 76 $('[data-toggle="tooltip"]').tooltip(); 124 77 }); 125 78 </script> 79 126 80 </div> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_AlgorithmSmall.cshtml
r13714 r13733 13 13 href="#collapseExample@(randomal)" 14 14 aria-expanded="false" 15 aria-controls="collapseExample@(randomal)"> 15 aria-controls="collapseExample@(randomal)" 16 style="margin:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 17 text-shadow:2px 2px black;"> 16 18 @Model.algo.Name 17 19 </a> 18 20 19 21 </p> 20 <div class="collapse" id="collapseExample@(randomal)" style="margin-left:10px;margin-right:10px;margin-top:-10px"> 22 <div class="collapse" 23 id="collapseExample@(randomal)" 24 style="margin-left:10px;margin-right:10px;margin-top:-10px"> 25 21 26 <img src="~/img/accoladealg.png" style="width:100%;" /> 22 <div class="panel panel-primary" style="border-width:2px!important; 23 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 24 text-shadow:none"> 27 28 <div class="panel panel-primary" 29 style="border-width:2px!important; 30 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 31 text-shadow:none"> 25 32 <div class="panel-heading panel-primary text-center"> 26 33 <p>@Model.algo.Description</p> 27 34 28 <div class="btn-group"> 35 <div class="btn-group" 36 style="text-shadow:none"> 29 37 <button type="button" 30 38 id="prior@(randomal)" … … 42 50 </div> 43 51 </div> 44 <table class="table table-responsive card-block" style="table-layout:fixed;overflow-wrap:break-word"> 52 <h4>Algorithm parameters</h4> 53 <table class="table table-condensed" 54 style="table-layout:fixed;overflow-wrap:break-word"> 55 <thead> 56 <tr> 57 <th>Parameter</th> 58 <th>Value</th> 59 </tr> 60 </thead> 61 <tbody> 62 @foreach (var par in Model.algo.Parameters.OrderBy(x => x.Name)) 63 { 64 <tr> 65 <td>@par.Name</td> 66 67 <td>@par.ActualValue</td> 68 </tr> 69 70 } 71 </tbody> 72 </table> 73 <hr style="border-color:gray" /> 74 <h4>Problem parameters</h4> 75 <table class="table table-responsive card-block" 76 style="table-layout:fixed;overflow-wrap:break-word"> 45 77 <thead> 46 78 <tr> … … 61 93 </tbody> 62 94 </table> 63 <table class="table table-condensed" style="table-layout:fixed;overflow-wrap:break-word">64 <thead>65 <tr>66 <th>Parameter</th>67 <th>Value</th>68 </tr>69 </thead>70 <tbody>71 @foreach (var par in Model.algo.Parameters.OrderBy(x => x.Name))72 {73 <tr>74 <td>@par.Name</td>75 95 76 <td>@par.ActualValue</td>77 </tr>78 96 79 }80 </tbody>81 </table>82 97 </div> 83 98 </div> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_BatchRun.cshtml
r13712 r13733 6 6 @Model.message 7 7 </div> 8 <div class="row" style="text-align:left"> 9 <h1 data-toggle="tooltip" title="@Model.SelectedTask.ItemTask.ItemName 8 <div class="row" 9 style="text-align:center"> 10 <h1 id="top" 11 data-toggle="tooltip" 12 title="@Model.SelectedTask.ItemTask.ItemName 10 13 @Model.SelectedTask.ItemTask.Description "> 11 <span class="label label-warning ">Batch: @Model.SelectedBatchRun.Name</span> 14 <span class="label label-warning " 15 style="text-shadow:2px 2px black;"> 16 Batch: @Model.SelectedBatchRun.Name 17 </span> 12 18 </h1> 13 <a class="btn btn-success" id="fakehiveadd" onclick="addtoHive()">Add to Hive</a>14 15 <div class="btn-group">16 <button type="button"17 id="prior@(randy)"18 class="btn btn-info dropdown-toggle"19 data-toggle="dropdown"20 aria-haspopup="true" aria-expanded="false">21 Normal <span class="caret"></span>22 </button>23 <ul class="dropdown-menu">24 <li><a onclick="changePriority([],0,@randy)">Low</a></li>25 <li><a onclick="changePriority([],1,@randy)">Normal</a></li>26 <li><a onclick="changePriority([],2,@randy)">Urgent</a></li>27 <li><a onclick="changePriority([],3,@randy)">Critical</a></li>28 </ul>29 </div>30 31 <a class="btn btn-success" id="realhiveadd" asp-controller="Job" asp-action="AddToHive" style="display:none"></a>32 <h4 id="result" style="display:none">Start uploading batch run...</h4>33 <div class="progress" id="progdiv" style="display:none">34 35 <div class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar"36 id="progress"37 aria-valuenow="00" aria-valuemin="0" aria-valuemax="100" style="width:10%">38 40%39 </div>40 </div>41 19 </div> 42 <h4 >20 <h4 id="tasks"> 43 21 Repeats: @Model.SelectedBatchRun.Repetitions x 44 22 45 23 </h4> 46 24 <p class="text-center"> 47 <input type="checkbox" checked data-toggle="toggle" data-onstyle="warning" 25 <input type="checkbox" 26 checked 27 data-toggle="toggle" 28 data-onstyle="warning" 48 29 onchange="toggleChild([], @randy)" /> 49 30 Distribute child tasks -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_BatchRunSmall.cshtml
r13714 r13733 16 16 href="#collapseExample@(randombr)" 17 17 aria-expanded="false" 18 aria-controls="collapseExample@(randombr)"> 18 aria-controls="collapseExample@(randombr)" 19 style="margin:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 20 text-shadow:2px 2px black;"> 19 21 @Model.batch.Name 20 22 </a> … … 26 28 27 29 > 28 <img src="~/img/accoladebatch.png" style="width:100%" /> 30 <img src="~/img/accoladebatch.png" 31 style="width:100%" /> 32 29 33 <div class="panel panel-warning" 30 34 style="border-color:#f6cd94!important; border-width:2px!important; 31 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);32 text-shadow:2px 2px black">35 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 36 text-shadow:2px 2px black"> 33 37 <div class="panel-heading text-center"> 34 38 <p class="panel-title"> … … 38 42 39 43 40 <input type="checkbox" checked data-toggle="toggle" data-onstyle="warning" 44 <input type="checkbox" 45 checked 46 data-toggle="toggle" 47 data-onstyle="warning" 41 48 onchange="toggleChild(@builder, @randombr)" /> 42 49 Distribute child tasks 43 50 44 51 </p> 45 <div class="btn-group"> 52 <div class="btn-group" 53 style="text-shadow:none"> 54 46 55 <button type="button" 47 56 id="prior@(randombr)" 48 57 class="btn btn-info dropdown-toggle" 49 58 data-toggle="dropdown" 50 aria-haspopup="true" aria-expanded="false"> 59 aria-haspopup="true" 60 aria-expanded="false"> 51 61 Normal <span class="caret"></span> 52 62 </button> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_Experiment.cshtml
r13712 r13733 2 2 @{System.Random randomizer = new Random(); 3 3 int randy = randomizer.Next(5000); } 4 <div style="margin-left:20px;margin-right:20px"> 4 5 6 <div style="margin-left:20px;margin-right:20px; "> 5 7 <div class="row" style="text-align:center"> 6 8 @Model.message 7 9 </div> 8 <div class="row" style="text-align:left"> 9 <h1 data-toggle="tooltip" title=" @Model.SelectedTask.ItemTask.ItemName 10 <div class="row" style="text-align:center"> 11 <h1 id="top" 12 data-toggle="tooltip" 13 title=" @Model.SelectedTask.ItemTask.ItemName 10 14 @Model.SelectedTask.ItemTask.Description "> 11 <span class="label label-danger">Experiment: @Model.SelectedTask.ItemTask.Name</span> 15 <span class="label label-danger" 16 style="text-shadow:2px 2px black;"> 17 Experiment: @Model.SelectedTask.ItemTask.Name 18 </span> 12 19 </h1> 13 <a class="btn btn-success" id="fakehiveadd" onclick="addtoHive()">Add to Hive</a>14 20 15 16 <div class="btn-group">17 <button type="button"18 id="prior@(randy)"19 class="btn btn-info dropdown-toggle"20 data-toggle="dropdown"21 aria-haspopup="true" aria-expanded="false">22 Normal <span class="caret"></span>23 </button>24 <ul class="dropdown-menu">25 <li><a onclick="changePriority([],0,@randy)">Low</a></li>26 <li><a onclick="changePriority([],1,@randy)">Normal</a></li>27 <li><a onclick="changePriority([],2,@randy)">Urgent</a></li>28 <li><a onclick="changePriority([],3,@randy)">Critical</a></li>29 </ul>30 </div>31 <a class="btn btn-success" id="realhiveadd" asp-controller="Job" asp-action="AddToHive" style="display:none"></a>32 <h4 id="result" style="display:none">Start uploading experiment...</h4>33 <div class="progress" id="progdiv" style="display:none">34 35 <div class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar"36 id="progress"37 aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:10%">38 39 </div>40 </div>41 21 </div> 42 <h4 >22 <h4 id="tasks"> 43 23 Children: @Model.SelectedExperiment.Optimizers.Count 44 24 </h4> … … 84 64 } 85 65 </div> 66 86 67 <script type="text/javascript"> 87 68 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_ExperimentSmall.cshtml
r13714 r13733 13 13 href="#collapseExample@(randomex)" 14 14 aria-expanded="false" 15 aria-controls="collapseExample@(randomex)"> 15 aria-controls="collapseExample@(randomex)" 16 style="margin:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 17 text-shadow:2px 2px black;"> 16 18 @Model.exp.Name 17 19 </a> 18 20 19 21 </p> 20 <div class="collapse" id="collapseExample@(randomex)" style="margin-left:10px;margin-right:10px;margin-top:-10px"> 21 <img src="~/img/accoladeexp.png" style="width:100%" /> 22 <div class="panel panel-danger" style="border-color:#c12e2a!important; border-width:2px!important; 23 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 24 text-shadow:2px 2px black"> 22 <div class="collapse" 23 id="collapseExample@(randomex)" 24 style="margin-left:10px;margin-right:10px;margin-top:-10px"> 25 26 <img src="~/img/accoladeexp.png" 27 style="width:100%" /> 28 29 <div class="panel panel-danger" 30 style="border-color:#c12e2a!important; border-width:2px!important; 31 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 32 text-shadow:2px 2px black"> 33 25 34 <div class="panel-heading panel-danger text-center"> 26 <p class="panel-title">Children: @Model.exp.Optimizers.Count</p> 35 <p class="panel-title"> 36 Children: @Model.exp.Optimizers.Count 37 </p> 27 38 <p> 28 39 <label> 29 40 30 <input type="checkbox" checked data-toggle="toggle" data-onstyle="danger" 41 <input type="checkbox" 42 checked 43 data-toggle="toggle" 44 data-onstyle="danger" 31 45 onchange="toggleChild(@builder, @randomex)" /> 32 46 Distribute child tasks 33 47 </label> 34 48 </p> 35 <div class="btn-group"> 49 <div class="btn-group" 50 style="text-shadow:none"> 36 51 <button type="button" 37 52 id="prior@(randomex)"
Note: See TracChangeset
for help on using the changeset viewer.