- Timestamp:
- 03/29/16 17:02:16 (8 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Index.cshtml
r13735 r13739 1 1 @using HeuristicLab.Clients.Hive.WebJobManager.ViewModels 2 2 @model JobViewModel 3 3 <div id="userId" style="display:none">@ViewBag.SessionId</div> 4 4 <div> 5 5 @Html.Partial("Navbar", new NavbarViewModel("Job")) … … 165 165 } 166 166 </div> 167 167 168 168 169 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFile.cshtml
r13735 r13739 1 @model HeuristicLab.Clients.Hive.WebJobManager.ViewModels.FileOpeningViewModel 1 @using Microsoft.AspNet.Http; 2 3 @model HeuristicLab.Clients.Hive.WebJobManager.ViewModels.FileOpeningViewModel 2 4 3 5 … … 9 11 onscroll="showScrolly()" 10 12 style="margin-bottom:500px;margin-left:1px;margin-right:1px;"> 11 13 <div id="userId" style="display:none">@ViewBag.SessionId</div> 12 14 @Html.Partial("Navbar", new HeuristicLab.Clients.Hive.WebJobManager.ViewModels.NavbarViewModel("Job")) 13 15 … … 181 183 </ul> 182 184 </nav> 185 183 186 <script src="~/js/scripts/hubber.js"></script> 184 187 <script> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/UploaderPartial/_UploaderPartial.cshtml
r13733 r13739 25 25 <div class="row" style="margin:10px"> 26 26 27 <div id="selectedfiles"></div> 27 <div id="selectedfiles"> 28 <h3>Files</h3> 29 <p>No files selected: press the above button to choose files</p> 30 </div> 28 31 29 < div style="display:none;margin-bottom:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);32 <button style="margin-bottom:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 30 33 text-shadow:2px 2px black;" 34 type="button" 35 disabled 31 36 id="del" 32 37 class='btn btn-danger' … … 34 39 <span class='glyphicon glyphicon-trash' aria-hidden='true'></span> 35 40 Remove files 36 </ div>41 </button> 37 42 38 <div id="dir"39 style=" display:none;margin-top:20px;margin-bottom:20px">43 <div 44 style="margin-top:20px;margin-bottom:20px"> 40 45 41 46 <label for="basic-url">Directory name</label> … … 45 50 .../uploads/@ViewBag.Name 46 51 </span> 47 <input type="text" 52 <input 53 type="text" 54 disabled 48 55 class="form-control" 49 56 id="directory" … … 53 60 </div> 54 61 </div> 55 <button style=" display:none;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);62 <button style=" box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 56 63 text-shadow:2px 2px black;" 57 id="upl" 64 disabled 65 id="upl" 58 66 class="btn btn-lg btn-block btn-success" 59 67 type="submit" … … 70 78 var div = document.getElementById("selectedfiles"); 71 79 var files = document.getElementById("files").files; 72 div.innerHTML = " ";80 div.innerHTML = "<h3>Files</h3>"; 73 81 if (files.length > 0) { 74 document.getElementById("upl"). style.display = "";75 document.getElementById("del"). style.display = "";76 document.getElementById("dir ").style.display = "";82 document.getElementById("upl").disabled = false; 83 document.getElementById("del").disabled = false; 84 document.getElementById("directory").disabled = false; 77 85 78 div.innerHTML += "<h3>Files</h3>";86 79 87 for (var i = 0; i < files.length; i++) { 80 88 div.innerHTML += "<p>File " + (i + 1) + ":" + files[i].name + … … 84 92 } 85 93 else { 86 document.getElementById("upl").style.display = "none"; 87 document.getElementById("del").style.display = "none"; 88 document.getElementById("dir").style.display = "none"; 94 div.innerHTML += "<p>No files selected</p>"; 95 document.getElementById("upl").disabled = true; 96 document.getElementById("del").disabled = true; 97 document.getElementById("directory").disabled = true; 89 98 } 90 99 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Uploads.cshtml
r13733 r13739 45 45 <div class="col-sm-4"> 46 46 <div class="btn-group-vertical btn-block"> 47 <a class="btn btn-success btn-lg btn-block 47 <a class="btn btn-info btn-lg btn-block disabled" 48 style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 49 text-shadow:2px 2px black;"> 50 <i class="fa fa-cloud"></i> Uploads 51 </a> 52 <a class="btn btn-success btn-block 48 53 @(Model.SelectedIndex == -1 ? "active" : "") 49 54 " -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Shared/_Layout.cshtml
r13733 r13739 12 12 </environment> 13 13 <link href="https://gitcdn.github.io/bootstrap-toggle/2.2.0/css/bootstrap-toggle.min.css" rel="stylesheet"> 14 <link rel="shortcut icon" type="image/x-icon" href="~/favicon.ico" /> 14 15 <link rel="stylesheet" href="//rawgithub.com/Caged/d3-tip/master/examples/example-styles.css"> 15 16 </head> … … 28 29 <script src="~/js/jquery.signalr-2.1.2.js"></script> 29 30 <script src='~/signalr/js'></script> 30 <script src="~/js/morris.js"></script>31 <script src="~/js/npm.js"></script>32 <script src="~/js/raphael.js"></script>33 31 <script src="~/js/plotly.js"></script> 34 <script src="~/js/moment.js"></script>35 <script src="~/js/moment-timezone-with-data.js"></script>36 32 <script src="~/js/d3.js"></script> 37 33 <script src="~/js/d3.v3.min.js"></script>
Note: See TracChangeset
for help on using the changeset viewer.