Spaces:
Sleeping
Sleeping
Update templates/proposed-GUI.html
Browse files
templates/proposed-GUI.html
CHANGED
|
@@ -86,7 +86,7 @@
|
|
| 86 |
</div> -->
|
| 87 |
<input type="button" id="refreshAPIbutton" title="Refresh data retrieved from MC" value="Refresh data retrieved from MC ">
|
| 88 |
<div id ="">
|
| 89 |
-
<select name="selectproj" class="selectionsProj" id="selectionsProjid" required > </select>
|
| 90 |
</div>
|
| 91 |
|
| 92 |
<div id ="projectpart">
|
|
@@ -94,7 +94,7 @@
|
|
| 94 |
</div>
|
| 95 |
|
| 96 |
<div id ="projectsection">
|
| 97 |
-
<select name="selectprojs" class="selectionsProjs" onchange=
|
| 98 |
</div>
|
| 99 |
|
| 100 |
|
|
@@ -705,6 +705,7 @@ workerDropbox.onmessage= function(event)
|
|
| 705 |
|
| 706 |
function getALLMCTNAMES(){
|
| 707 |
MCTNames={}
|
|
|
|
| 708 |
$.get( '/RetrieveMCTNames/')
|
| 709 |
.success (function(data){
|
| 710 |
console.log(data)
|
|
@@ -967,8 +968,8 @@ var ratioPunit=1;
|
|
| 967 |
//___________________________________________________________________________________________________________
|
| 968 |
//Retrieves list of projects
|
| 969 |
function getproj(){
|
| 970 |
-
getALLMCTNAMES();
|
| 971 |
-
|
| 972 |
var proj = document.getElementsByClassName("selectionsProj")[0];
|
| 973 |
var projectVal=proj.value.toString() //selected project
|
| 974 |
|
|
|
|
| 86 |
</div> -->
|
| 87 |
<input type="button" id="refreshAPIbutton" title="Refresh data retrieved from MC" value="Refresh data retrieved from MC ">
|
| 88 |
<div id ="">
|
| 89 |
+
<select name="selectproj" class="selectionsProj" id="selectionsProjid" onchange=getproj() required > </select>
|
| 90 |
</div>
|
| 91 |
|
| 92 |
<div id ="projectpart">
|
|
|
|
| 94 |
</div>
|
| 95 |
|
| 96 |
<div id ="projectsection">
|
| 97 |
+
<select name="selectprojs" class="selectionsProjs" onchange=getALLMCTNAMES() required> </select>
|
| 98 |
</div>
|
| 99 |
|
| 100 |
|
|
|
|
| 705 |
|
| 706 |
function getALLMCTNAMES(){
|
| 707 |
MCTNames={}
|
| 708 |
+
document.getElementById("all").style.display = "block";
|
| 709 |
$.get( '/RetrieveMCTNames/')
|
| 710 |
.success (function(data){
|
| 711 |
console.log(data)
|
|
|
|
| 968 |
//___________________________________________________________________________________________________________
|
| 969 |
//Retrieves list of projects
|
| 970 |
function getproj(){
|
| 971 |
+
// getALLMCTNAMES();
|
| 972 |
+
|
| 973 |
var proj = document.getElementsByClassName("selectionsProj")[0];
|
| 974 |
var projectVal=proj.value.toString() //selected project
|
| 975 |
|