index.ejs 2.11 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
23
24
25
        <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'>
                <input onclick='switchToData()' type="image" src="img/data-icon.png" alt="Submit" width="32" height="32">
                <input onclick='switchToGraph()' type="image" src="img/graph-icon.png" alt="Submit" width="32" height="32">
            </div>
Porter Libby's avatar
Porter Libby committed
26
        </div>
27
28
29
30
31
32
33
34
35
36

        <div id='graphView'>
            <div id='graph'>
                graph
            </div>
            <div id='navcontrols'>
                <input onclick='switchToData()' type="image" src="img/data-icon.png" alt="Submit" width="32" height="32">
                <input onclick='switchToMap()' type="image" src="img/map-icon.png" alt="Submit" width="32" height="32">

            </div>
Porter Libby's avatar
Porter Libby committed
37
        </div>
38
39
40
41
42
43
44
45
46
47
48
49
50

        <div id='dataView'>
                <div id='data'>
                    data
                </div>
                <div id='navcontrols'>
                    <input onclick='switchToMap()' type="image" src="img/map-icon.png" alt="Submit" width="32" height="32">
                    <input onclick='switchToGraph()' type="image" src="img/graph-icon.png" alt="Submit" width="32" height="32">
                </div>
            </div>
        <script>
            mapReady();
        </script>
Porter Libby's avatar
Porter Libby committed
51
52
    </body>
</html>