File: index.html

package info (click to toggle)
sumo 0.28.0+dfsg1-1~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 103,616 kB
  • sloc: xml: 534,021; cpp: 183,697; python: 66,271; java: 43,017; ansic: 36,466; sh: 11,391; makefile: 1,411; perl: 450
file content (118 lines) | stat: -rw-r--r-- 4,261 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE html>
<html>
    <head>
        <title>OSM Web Wizard for SUMO</title>
        <meta charset="utf-8" />
        <link rel="stylesheet" href="style.css" />
        <script type="text/javascript" src="lib.js"></script>
        <script type="text/javascript" src="/usr/share/javascript/openlayers/OpenLayers.js"></script>
        <script type="text/javascript" src="script.js"></script>
    </head>
    <body>
        <div id="map"></div>
        <canvas style="display: none"></canvas>

        <div id="side">
            <div id="tabs">
                <div class="tab" title="Map">
                    <img src="images/map.png" />
                </div>
                <div class="tab" title="Vehicles">
                    <img src="images/passenger.png" />
                </div>
                <div class="tab" title="Generate">
                    <img src="images/generate.png" />
                </div>
                <div class="tab" title="Copyright">©</div>
            </div>

            <div class="controls">
                <div class="container">
                    <h4>Position</h4>

                    <div class="options open">
                        <label>Longitude <input id="current-lon" /></label>
                        <label>Latitude <input id="current-lat" /></label>
                    </div>
                </div>

                <button id="set-position">Set position to current location</button>

                <div class="container">
                    <div class="options open">
                        <label>Select Area <input type="checkbox" id="canvas-toogle" /></label>
                    </div>
                </div>
            </div>

            <div class="controls" id="vehicle-controls"></div>

            <div class="controls">
                <div class="container">
                    <h4>Options</h4>

                    <div class="options open">
                        <label>Add Polygons <input id="polygons" type="checkbox" checked /></label>
                        <label>Duration <input id="duration" type="number" value="3600" step="1" /></label>
                    </div>
                </div>
            </div>

            <div class="controls">
                <div class="container">
                    <h4>Icon Copyrights</h4>

                    <div class="images">
                        <img src="images/map.png" />
                        <img src="images/generate.png" />
                        <img src="images/passenger.png" />
                        <img src="images/truck.png" />
                        <img src="images/bicycle.png" />
                    </div>

                    <p>
                        Icons by <a href="http://google.com/design/">Google Design</a>,
                        licensed under <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>
                    </p>

                    <div class="images">
                        <img src="images/bus.png" />
                        <img src="images/pedestrian.png" />
                        <img src="images/ship.png" />
                        <img src="images/rail.png" />
                    </div>

                    <p>
                        Icons by <a href="http://aiga.org/">AIGA</a>,
                        Open Domain
                    </p>

                    <div class="images">
                        <img src="images/tram.png" />
                        <img src="images/rail_urban.png" />
                    </div>

                    <p>
                        Icons by <a href="http://www.danilodemarco.com/">Pittogrammi</a>
                    </p>

                    <div class="images">
                        <img src="images/motorcycle.png" />
                    </div>

                    <p>
                        Icon by <a href="http://icons8.com/">Icons8</a>
                    </p>
                </div>
            </div>

            <div id="fixed">
                <button id="export-button">Generate Scenario</button>
                <div id="status">
                    <span></span>
                    <div></div>
                </div>
            </div>
        </div>
    </body>
</html>