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
13
    </head>
    <body>
14
15
16
17
18
19
20
21
22
        <div id='mapView'>
            <div id="viewDiv"></div>
            <div id="mapcontrols">
                </br>
                <button class='btns' id='btn_sat'>Satellite</button>
                </br>
                <button class='btns' id='btn_topo'>Topography</button>
            </div>
            <div id='navcontrols'>
Porter Libby's avatar
Porter Libby committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
                <input 
                    style='background-color: gray; padding: 10px; border-radius: 25px;' 
                    type="image" 
                    src="img/map-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
                    style='background-color: white; padding: 10px; border-radius: 25px;' 
                    onclick='switchToData()' 
                    type="image" 
                    src="img/data-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
                <input 
                    style='background-color: white; padding: 10px; border-radius: 25px;' 
                    onclick='switchToGraph()' 
                    type="image" 
                    src="img/graph-icon.png" 
                    alt="Submit" 
                    width="32" height="32">
43
            </div>
Porter Libby's avatar
Porter Libby committed
44
        </div>
45
46
47
48
49
50

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

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