index.ejs 4.09 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
        <link rel="stylesheet" type="text/css" href="css/main.css" />
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
14
    </head>
    <body>
15
16
17
        <div id='mapView'>
            <div id="viewDiv"></div>
            <div id='navcontrols'>
Porter Libby's avatar
Porter Libby committed
18
                <input 
Porter Libby's avatar
update    
Porter Libby committed
19
                    style='background-color: gray; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
20
21
22
23
24
                    type="image" 
                    src="img/map-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
25
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
26
27
28
29
30
31
                    onclick='switchToData()' 
                    type="image" 
                    src="img/data-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
Porter Libby's avatar
update    
Porter Libby committed
32
                    style='background-color: white; padding: 10px; border-radius: 10px;' 
Porter Libby's avatar
Porter Libby committed
33
34
35
36
37
                    onclick='switchToGraph()' 
                    type="image" 
                    src="img/graph-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
38
            </div>
Porter Libby's avatar
Porter Libby committed
39
        </div>
40
41
42
43
44
45

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

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