-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·63 lines (46 loc) · 2.03 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
$TITLE = "Soybean Phenotype Distribution Tool";
include '../header.php';
// include '../config.php';
include './php/pdoResultFilter.php';
?>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css"></link>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
<style>
.ui-accordion-header.ui-state-active {
background-color: green;
}
</style>
<script>
$(function() {
$("#accordion_1").accordion({
active: false,
collapsible: true
});
});
</script>
<form action="gene_summary_data.php" onsubmit="return validateForm('Gmax', 'error_message_div')" method="get" target="_blank">
<div id="accordion_1"></div>
<br/><br/>
<div style='margin-top:10px;' align='center'>
<!-- <button type="button" onclick="uncheck_all_phenotypes('Gmax')" style="margin-right:20px;">Uncheck All Phenotypes</button> -->
<!-- <button type="button" onclick="check_all_phenotypes('Gmax')" style="margin-right:20px;">Check All Phenotypes</button> -->
<label for="dataset_1"><b>Dataset:</b></label>
<select name="dataset_1" id="dataset_1"></select>
<!-- <label for="chromosome_1" style="margin-left:20px;"><b>Chromosome:</b></label> -->
<!-- <select name="chromosome_1" id="chromosome_1"></select> -->
</div>
<br/><br/>
<div id='error_message_div' style='margin-top:10px;' align='center'></div>
<div style='margin-top:10px;' align='center'>
<input type="submit" value="Search">
</div>
</form>
<script type="text/javascript" language="javascript" src="./js/index.js"></script>
<script type="text/javascript" language="javascript">
updatePhenotypeSelections('accordion_1', 'Soy2939');
updateDatasetSelections('dataset_1');
// updateChromosomeSelections('chromosome_1', 'Soy2939');
</script>
<?php include '../footer.php'; ?>