-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathARCHESpage.html
132 lines (131 loc) · 4.92 KB
/
ARCHESpage.html
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="stylesheets/styles.css">
</head>
<body>
<div class="ui-widget">
<p><b>Jump ARCHES Data Visualization</b></p>
<button class="toggleButton" id="filterPanel">Add Filters</button>
<button type="button" id="toggleNames">Hide Names</button>
<button type="button" id="toggleFunding">Hide Funding</button>
<input size="80" id="search" placeholder="Search for an Investigator...">
<button type="button" id="searchF">Search</button>
<button type="button" id="clear">Clear</button>
<button type="button" id="download">Download Data</button>
</div>
<div class="infoPanel" id="infoPanel">
<button type="button" class="exitPanel" id="exitPanelNode">X</button>
<h4>Investigator:</h4>
<p id="Investigator"></p>
<h4>Affiliation:</h4>
<p id="Affiliation"></p>
<h4>Total Funding Received:</h4>
<p id="Funding"></p>
<h4>Total Projects:</h4>
<p id="TotalProjects"></p>
<h4>Project Names:</h4>
<div class="ProjectNames" id="ProjectNames"></div>
<h4>Collaborating Investigators:</h4>
<div class="Collab" id="Collab"></div>
</div>
<div class="infoPanelL" id="infoPanelL">
<button type="button" class="exitPanel" id="exitPanelLink">X</button>
<h4>Project Title:</h4>
<p id="ProjectName"></p>
<h4>Project Number:</h4>
<p id="ProjectNumber"></p>
<h4>Project Year:</h4>
<p id="ProjectYear"></p>
<h4>Close Date:</h4>
<p id="CloseDate"></p>
<h4>Project Funding:</h4>
<p id="ProjectFunding"></p>
<h4>Principle Investigators:</h4>
<div id="PrincipleInvest"></div>
<h4>Additional Investigators:</h4>
<div id="AddlInvest"></div>
<h4>Tags:</h4>
<div id="Tags"></div>
<h4>Box:</h4>
<a id="BoxLink" href="none">Link to File</a>
</div>
<div class = "filterBar" id="filterBar">
<div class = "tagFilters">
<p><b>Project Tags</b></p>
<input size="60" id="tagSearch" placeholder="Search for a Tag...">
<button type="button" class="filterButton" id="addTag">Add Tag</button>
<button type="button" class="filterButton" id="clearTags">Clear All Tags</button>
<br>
<div class = "tagListWindow" id ="tagListWindow">
</div>
</div>
<form class = "yearSlider" id = "yearSlider">
<p><b>Project Year Range</b></p>
<div>
<div class = "minYear">
<label>Minimum Year</label>
<input type="text" class="sliderValue" data-index="0" value="2014" />
</div>
<div class = "maxYear">
<label>Maximum Year</label>
<input type="text" class="sliderValue" data-index="1" value="2021" />
</div>
</div>
<div class = "sliderDiv">
<!--
<style>
.ui-slider-horizontal {
height: unset !important;
}
</style>
-->
<div id="slider">
</div>
</div>
</form>
<div class = "orgFilters">
<p><b>Investigator Affiliation</b></p>
<form>
<div class = "orgFilterWindow" id = "orgFilterWindow">
<input type="checkbox" id="orgOSF" checked="false"/>OSF
<input type="checkbox" id="orgUIC" checked="false"/>UIC
<input type="checkbox" id="orgUICOMP" checked="false"/>UICOMP
<input type="checkbox" id="orgUIUC" checked="false"/>UIUC
<input type="checkbox" id="orgOther" checked="false"/>Other
</div>
</form>
</div>
<div class= "finalFilterButtons">
<button type="button" class="filterButton" id="filter">Set Filters</button>
<button type="button" class="filterButton" id="clearFilter">Clear Filters</button>
</div>
</div>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://d3js.org/d3-scale-chromatic.v2.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-legend/2.25.6/d3-legend.min.js"></script>
<div class = "graphToolContainer">
<div class = "graphContainer">
<svg id="viz"></svg>
<svg class = "orgLegendSVG" id="orgLegendSVG"></svg>
<script src="scripts/orgLegend.js"></script>
<div class = "contLegend" id="colorLegend"></div>
<script src="scripts/contLegend.js"></script>
</div>
</div>
<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.12.1/jquery-ui.min.js"
integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU="
crossorigin="anonymous"></script>
<link type='text/css' href="https://code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css" rel="stylesheet"/>
<script type="module" src="ARCHESgraph.js"></script>
<script src="scripts/addTagList.js"></script>
<script src="scripts/yearSlider.js"></script>
</body>
</html>