index.ejs 4.15 KB
Newer Older
Porter Libby's avatar
Porter Libby committed
1
2
3
<!DOCTYPE html>
<html lang="en" dir="ltr">
    <head>
Porter Libby's avatar
Porter Libby committed
4
5
6
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
        <title>Datavis 2.0</title>
Porter Libby's avatar
Porter Libby committed
7
        
Porter Libby's avatar
Porter Libby committed
8
        <link rel="stylesheet" href="https://js.arcgis.com/4.12/esri/css/main.css">
Porter Libby's avatar
Porter Libby committed
9
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Porter Libby's avatar
Porter Libby committed
10
        <script src="https://js.arcgis.com/4.12/"></script>
Porter Libby's avatar
Porter Libby committed
11
        <script type="text/javascript" src="js/main.js"></script>
Porter Libby's avatar
Porter Libby committed
12
        <script type="text/javascript" src="js/util.js"></script>
Porter Libby's avatar
Porter Libby committed
13
        <link rel="stylesheet" type="text/css" href="css/main.css" />
Porter Libby's avatar
Porter Libby committed
14
15
    </head>
    <body>
16
17
18
        <div id='mapView'>
            <div id="viewDiv"></div>
            <div id='navcontrols'>
Porter Libby's avatar
Porter Libby committed
19
                <input 
Porter Libby's avatar
update    
Porter Libby committed
20
                    style='background-color: gray; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
21
22
23
24
25
                    type="image" 
                    src="img/map-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
26
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
27
28
29
30
31
32
                    onclick='switchToData()' 
                    type="image" 
                    src="img/data-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
33
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
34
35
36
37
38
                    onclick='switchToGraph()' 
                    type="image" 
                    src="img/graph-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
39
            </div>
Porter Libby's avatar
Porter Libby committed
40
        </div>
41
42
43
44
45
46

        <div id='graphView'>
            <div id='graph'>
                graph
            </div>
            <div id='navcontrols'>
Porter Libby's avatar
Porter Libby committed
47
                <input 
Porter Libby's avatar
update    
Porter Libby committed
48
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
49
50
51
52
53
54
                    onclick='switchToMap()' 
                    type="image" 
                    src="img/map-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
55
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
56
57
58
59
60
61
                    onclick='switchToData()' 
                    type="image" 
                    src="img/data-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
62
                    style='background-color: gray; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
63
64
65
66
                    type="image" 
                    src="img/graph-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
67
            </div>
Porter Libby's avatar
Porter Libby committed
68
        </div>
69
70

        <div id='dataView'>
Porter Libby's avatar
Porter Libby committed
71
            <div id='data'>
Porter Libby's avatar
Porter Libby committed
72
73
74
                <div class='data-catagory' id='trips'></div>
                <div class='data-catagory' id='sites'></div>
                <div class='data-catagory' id='sectors'></div>
Porter Libby's avatar
Porter Libby committed
75
                <div class='data-catagory' id='spots'></div>
Porter Libby's avatar
Porter Libby committed
76
                <span id='data-prompt'>Pick a trip, site, sector, and spot.</span>
Porter Libby's avatar
Porter Libby committed
77
78
            </div>
            <div id='navcontrols'>
Porter Libby's avatar
Porter Libby committed
79
                <input 
Porter Libby's avatar
update    
Porter Libby committed
80
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
81
82
83
84
85
86
                    onclick='switchToMap()' 
                    type="image" 
                    src="img/map-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
87
                    style='background-color: gray; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
88
89
90
91
92
                    type="image" 
                    src="img/data-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
93
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
94
95
96
97
98
                    onclick='switchToGraph()' 
                    type="image" 
                    src="img/graph-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
99
            </div>
Porter Libby's avatar
Porter Libby committed
100
        </div>
101
102
103
        <script>
            mapReady();
        </script>
Porter Libby's avatar
Porter Libby committed
104
105
    </body>
</html>