forked from ModelEarth/localsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.html
509 lines (419 loc) · 14.7 KB
/
header.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
<style>
/*
Could use these state shapes: https://github.com/coryetzkorn/state-svg-defs
*/
#local-header {
min-height: auto !important; /* Removed min-height 56px set for map-filters bar. */
}
</style>
<div id="menuHolder" style="pointer-events: auto; background:#333; display:none">
<!--
<div style="float:right;">
<div class="expandToFullscreen" style="border:0px; padding: 10px; cursor: pointer; color:#ccc">
<span style="font-size:34px;line-height:34px;padding-right:4px">❐</span>
</div>
<div class="reduceFromFullscreen" style="display:none; border:0px; padding: 10px; cursor: pointer">
<span style="font-size:33px;line-height:34px;padding-right:4px">❒</span>
</div>
</div>
-->
<div id="menuTop">
<div class="hideMenu"><span class="hideMenuInner" style="color:#aaa">✕</span></div>
</div>
<div style="clearX:both"></div>
<div id="menuNav">
<!-- Right Links -->
<div style="padding-top:10px;" class="local hideMobile">
<!-- move to naics section
<div class="local downloadbutton showDownload pagebutton" href="#" style="float:left; display:none">
<div style="float:left">
<i class="material-icons" style="font-size:15pt;padding-top:8px"></i>
</div>
<div class="downloadtext" style="margin:10px 5px 0 3px;white-space: nowrap; float:left">
Download
</div>
</div>
-->
<!--
<div class="local addlisting pagebutton greenbutton" href="#" style="float:left; display:none">
<div class="hideMobile" style="margin:10px 5px 0 3px;white-space: nowrap; float:left">
Add Listing
</div>
<div class="showMobile" style="display:none;"><i class="material-icons" style="font-size:19pt;padding-top:4px"></i></div>
</div>
<div class="local partnertools pagebutton" href="#" style="float:left; display:none">
<div style="margin:10px 5px 0 3px;white-space: nowrap; float:left">
Partner Tools
</div>
</div>
-->
<div class="showInfo showInfoButton1 pagebutton" style="float: left; padding: 3px 3px 3px 4px; color:#fff; display:none;"><i class="material-icons" style="font-size:28px;"></i>
</div>
<div class="showApps local" style="display:none;float:left;">
<div style="display:none" class="showMobile">
<i class="material-icons georgiaorg-hide" style="color:#fff"></i>
</div>
</div>
</div>
<!-- /Right Links -->
<!-- Side Nav -->
<div class="neighborhood" style="display:none">
<a href="../"><b>Neighborhood</b></a>
<hr>
</div>
<div class="earth" style="display:none">
<a href="../community/"><b><span class="siteTitleShort"></span></b></a>
</div>
<div class="georgia" style="display:none">
<a href="../"><b><span class="siteTitleShort"></span></b></a>
</div>
<a href="../io/">Web Applications</a>
<a href="../io/communities/">For Communities</a>
<a href="../io/coders/">Coders & Designers</a>
<a href="../io/learn/">Teachers & Students</a>
<!--<a href="start/dataset">Goods & Services</a>-->
<hr>
<a href="../community/challenge/"><b>Web Challenge</b></a>
<a href="../community/projects/">Project Areas</a>
<a href="../localsite/info/">Local Industries</a>
<a href="../community/start/">Starter Samples</a>
<a href="../io/charts/">IO Widgets</a>
<a href="../community/challenge/meetups/">Meetups & Slack</a>
<!--
<a href="../community/start/maps/">Map Samples</a>
<a href="../community/start/charts/">Chart Starters</a>
-->
<!--
<a href="start/maps/counties/counties.html">Regions & Counties</a>
-->
<hr>
<!--
<a href="https://github.com/modelearth/community" target="_parent"><b>Git Involved!</b></a>
-->
<a href="../localsite/info/input/" target="_parent">Send Input</a>
</div>
</div>
<div id="headerbar" class="headerbar headerbarheight" style="border-bottom:1px solid #ccc; width:100%;position:fixed;overflow:visible;z-index:1002;pointer-events:auto;">
<div class="contentpadding" style="padding-top:0px; padding-bottom:0px; float:left; min-width: 200px">
<div id="logospace" class="headerbarheight">
<div id="logoholder">
<div id="headerLogo">
</div>
<div id="headerLocTitleHolder">
<span id="headerSiteTitle"></span>
<!--
<div style="padding-top:8px; float:right; displayX:none" class="mock-up">
<i class="material-icons">more_vert</i>
</div>
-->
<div class="headerDropdown mock-up">
<span class='arrownext' style='margin:10px 10px 0 10px'></span>
</div>
<a href="../community/tools" class="logolink">
<span id="headerLocTitle"></span>
</a>
</div>
</div>
</div>
</div>
<div style="float:left; border-left:1px solid #ccc;">
<style>
.topstack {
float:left;
padding-right: 10px;
padding:18px;
border-right:1px solid #ccc;
}
.topsm {
font-size: 11px;
float: left;
}
.toplg {
clear:both;
font-size: 17px;
color: #686868;
}
.arrow_down_sm {
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #999;
margin: 4px;
float: left;
pointer-events: auto;
}
</style>
<div class="localX" style="display:none">
<div class="hideMobile">
<div class="topstack">
<div class="topsm">Locations</div><div class="arrow_down_sm"></div>
<div class="toplg">3 counties in Arizona</div>
</div>
<div class="topstack">
<div class="topsm">Goods & Services</div><div class="arrow_down_sm"></div>
<div class="toplg">Recycling Industries</div>
</div>
<div class="topstack">
<div class="topsm">Project Teams</div><div class="arrow_down_sm"></div>
<div class="toplg">React Developers</div>
</div>
</div>
</div>
</div>
<div class="upperIcons noprint" style="float:right;">
<div class="showSearch local" style="display:none;float:left">
<!-- To do: use javascript to retain the current window.location.search value from URL when on a search page.
add -active rollover
-->
<img src="../localsite/img/icon/search.png" style="width:27px; opacity:0.5">
<!--
<div style="font-size:18pt;padding:2px 4px 0 2px;">🔍</div>
-->
</div>
<div class="hideMobile" style="float:left;">
<div class="expandToFullscreen" style="border:0px; padding: 3px 3px; cursor: pointer;">
<img src="../localsite/img/icon/fullscreen.png" style="width:22px; opacity:0.5">
<!--span style="font-size:34px;line-height:34px;padding-right:4px; color:#777">❐</span-->
</div>
<div class="reduceFromFullscreen" style="display:none; border:0px; padding: 3px 3px; cursor: pointer">
<img src="../localsite/img/icon/minimize.png" style="width:25px; opacity:0.5">
<!--
<span style="font-size:33px;line-height:34px;padding-right:4px; color:#777">❒</span>
-->
</div>
</div>
<div class="showMenu" style="displayX:none; float:left;font-size:24px; color:#999;">
<img src="../localsite/img/icon/hamburger.png" style="width:30px; opacity:0.5">
<!--
<div style="font-size: 28px; color:#999; padding: 2px 6px 0 2px; margin-top:-5px">☰</div>
-->
</div>
</div>
</div>
<div id="headeroffset" style="height:100px;"></div>
<script>
$(document).ready(function () {
$('.expandToFullscreen, .reduceFromFullscreen').click(function(event) {
toggleFullScreen();
});
$('.showSearch').click(function(event) {
showSearchClick();
});
if (location.host.indexOf('model') >= 0) {
$(".showSearch").show();
$(".showSearch").removeClass("local");
}
$("#sidecolumn").append($("#sidecolumnContent"));
function showSearchClick() {
if (!$("#filterFieldsHolder").length) { // Doesn't exist
window.location = "/localsite/info/" + window.location.hash;
return;
}
console.log("showSearchClick")
if ($("#filterFieldsHolder").is(':visible')) {
$("#filterFieldsHolder").hide();
//$(".filterbarOffset").hide();
$("#filterbaroffset").hide();
//$("#pageLinksHolder").hide();
} else {
$("#filterFieldsHolder").show();
//$(".filterbarOffset").show();
$("#filterbaroffset").show();
$(".hideWhenPop").show();
}
return;
// NOT CURRENTLY USED
//$(".filterFields").hide();
//$(".moduleBackgroundImage").addClass("moduleBackgroundImageDarken"); // Not needed since filters are not over image.
//$(".siteHeaderImage").addClass("siteHeaderImageDarken"); // Not needed since filters are not over image.
//$('.topButtons').show(); // Avoid showing bar when no layer.
$(".layerContent").show(); // For main page, over video.
//$(".showFilters").hide(); // Avoid hiding because title jumps.
//$(".hideFilters").show();
// Coming soon - Select if searching Georgia.org or Georgia.gov
//$(".searchModuleIconLinks").show();
$(".hideWhenFilters").hide();
$(".filterPanelHolder").show();
//$(".filterPanelWidget").show();
$("#filterPanel").show(); // Don't use "normal", causes overflow:hidden.
$(".searchHeader").show();
$("#panelHolder").show();
$(".showFiltersClick").hide();
$(".hideFiltersClick").show();
// Would remove active from Overview Map
$(".horizontalButtons .layoutTab").removeClass("active");
$(".showFiltersButton").addClass("active");
$(".hideSearch").show();
//$(".hideFilters").show(); // X not needed since magnifying glass remains visible now.
//$("#hideSearch").show();
if ($(".settingsPanel").is(':visible')) {
hideSettings();
}
if ($("#menuHolder").is(':visible')) {
$('.hideMetaMenu').trigger("click");
}
//updateOffsets();
// Hide because map is displayed, causing overlap.
// Could be adjusted to reside left of search filters.
//$(".quickMenu").hide();
}
});
</script>
<!-- nav.html -->
<style>
body {
background-color: rgb(250, 250, 250); /* For side nav */
}
.sidecolumn-inpage #sidecolumnContent {
position: static !important;
float:left;
padding: 0px;
}
.sidecolumn-inpage #sidecolumnContentScroll {
position: relative;
bottom:auto !important;
right:0 !important;
}
#sidecolumn {
float: left;
width: 200px;
height: 100%;
padding-right: 10px;
background-color: rgb(253, 253, 253);
background-color: #aaa;
position: relative;
}
#sidecolumnContent {
padding: 24px;
position: fixed;
line-height: 24px;
width: 178px;
width: 220px;
font-size: 14px;
bottom:0;
top:100px;
z-index:1; /* allows border highlight to overlap adjacent content area. */
}
#sidecolumnContent b {
color:#333;
}
#sidecolumnContentScroll {
position:absolute;
top:0px;
bottom:0px;
right:24px;
left:18px;
overflow-y:scroll;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
#sidecolumnContentScroll::-webkit-scrollbar {
display: none;
}
#sidecolumnContent a {
display:block;
color: #112e51;
color: #fff;
}
#sidecolumnContent b a {
color: #333;
font-size: 16px;
line-height: 1.8em;
}
#sidecolumnContent a:hover {
border-right: 4px solid #f3f3f3;
margin-right: -4px;
border-bottomX: solid 4px #333;
}
#sidecolumnContent a.active {
border-right: 4px solid #999;
margin-left:-20px;
padding-left:20px;
}
#fullcolumn {
overflow: auto;
position: relative;
min-height: 100%; /* For short samples page */
margin-bottomX: 80px;
heightX:100%; /* For counties map, but breaks fixed position map on tools page. */
}
@media (max-width: 800px) {
.content {
padding: 30px 22px 30px 25px;
}
#sidecolumn {
display: none;
}
}
.sidecolumn-inpage {
position: static !important;
position: relative;
}
.sidecolumn-inpage > #sidecolumnContent {
position: static;
}
</style>
<div id="logoholderside" class="logoholder" style="display:none; z-index:2"></div>
<div id="sidecolumnContent">
<div id="sidecolumnContentScroll">
<div class="hideSide close-X-sm" style="position:absolute;right:0;top:0;z-index:1">✕</div>
<br>
<b><a href="/community/">Overview</a></b>
<a href="/io/">Community Apps</a>
<a href="/localsite/info/">Industry Comparisons</a>
<a href="/io/charts">Input-Output Widgets</a>
<a href="/community/challenge/">Web Challenge</a>
<a href="/community/start/">Starter Samples</a>
<br>
<b><a href="/community/projects/">Project Areas</a></b>
<a href="/community/projects/#profile-editor">React - Profile Editor</a>
<a href="/community/projects/#io">React - IO Charts</a>
<!--
<a href="/community/projects/#jquery">JQuery - Interactivity</a>
-->
<a href="/community/projects/#github-actions">Python - GitHub Actions</a>
<a href="/community/projects/#python">Python - Machine Learning</a>
<a href="/community/projects/#ux">UX/UI - Report Design</a>
<a href="/community/projects/#maps">Maps - Data Visualization</a>
<a href="/community/projects/#ux">High School Teams</a>
<br>
<!--
<a href="../community/tools/#projects">Web Projects</a>
<a href="../community/interns/">Internships</a>
-->
<!--
<b>About</b><br>
<a href="../community/tools/#">Overview</a>
-->
<!-- tools/# tells page not to reload, and avoids jumping down to section. -->
<!--a href="../community/tools/#objectives">Objectives</a-->
<!--
<a href="../community/tools/#data">Data Driven</a>
<a href="../community/tools/#modeling">IO Modeling</a>
<a href="../community/tools/#charts">Material Flow</a>
<a href="../community/tools/#regional">Multi-County</a>
<a href="../community/tools/#local">Recycling Maps</a>
<a href="../community/tools/#partners">Partners</a>
-->
<b><a href="/community/carbon-capture/" hashid="carbon-capture">Beyond Carbon</a></b>
<a href="/community/carbon-capture/" hashid="carbon-capture">Carbon Capture</a>
<a href="/community/carbon-capture/#forestry">Fast Forestry</a>
<a href="/community/carbon-capture/#superwood">Superwood</a>
<a href="/community/carbon-capture/#hydrogen">Hydrogen Fuel</a>
<a href="/community/biotech/" hashid="biotech">Bioeconomy</a><!-- Biotech Products -->
<a href="/community/projects/wood/" hashid="wood">Mass Timber</a>
<a href="/community/projects/rail" hashid="rail">Net Positive Rail</a>
<a href="/community/projects/nuclear" hashid="nuclear">Nuclear Power</a>
<a href="/community/projects/mobility" hashid="mobility">Electric Vehicles</a>
<a href="/community/architecture/" hashid="new-countryside">New Countryside</a>
<br>
<!--
<b>Design/Coding</b><br>
-->
<br><br>
<br><br><br><br><br><br><br><br><br><br><br><!-- Allows scrolling when footer -->
</div>
</div>
<!-- /nav.html -->