-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (94 loc) · 3.06 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>rsvisualization</title>
<link href="https://cdn.pydata.org/bokeh/release/bokeh-0.12.4.min.css" rel="stylesheet" />
<script src="https://cdn.pydata.org/bokeh/release/bokeh-0.12.4.min.js"></script>
<script src="https://cdn.pydata.org/bokeh/release/bokeh-api-0.12.4.min.js"></script>
</head>
<body>
<div id="app">
<v-mapbox
access-token=""
map-style="mapbox://styles/mapbox/dark-v9"
:center="[4.527,53.009]"
:zoom="6"
:pitch="38.50"
:bearing="1.43"
:min-zoom="5"
id="map"
ref="map"
>
<v-mapbox-source
:options="source"
v-for="source in sources"
:key="source.id" slot="sources"></v-mapbox-source>
<v-mapbox-layer
:options="layer"
v-for="layer in layers"
:key="layer.id" slot="layers"></v-mapbox-layer>
<v-mapbox-geocoder></v-mapbox-geocoder>
<v-mapbox-navigation-control></v-mapbox-navigation-control>
</v-mapbox>
<v-card id="menu" class="elevation-10">
<v-btn v-on:click.native="initialview()">
Reset initial view
</v-btn>
<v-list two-line>
<!-- <v-subheader>
Context
</v-subheader> -->
</v-subheader>
<v-list-item v-for="layer in layers" :key="layer.id" v-if="!layer.metadata.hidden">
<v-list-tile avatar>
<v-list-tile-action >
<v-switch v-model="layer.active" />
</v-list-tile-action>
<v-list-tile-content>
<v-list-tile-title>{{ layer.metadata.name }}</v-list-tile-title>
<v-list-tile-sub-title>{{ layer.metadata.subtitle }} </v-list-tile-sub-title>
</v-list-tile-content>
<v-list-tile-avatar>
<img :src="'static/images/' + layer.metadata.avatar" />
</v-list-tile-avatar>
</v-list-tile>
</v-list-item>
<v-divider></v-divider>
<v-list-item>
<input
v-model=timeStep
class='slider'
id='slider'
type='range'
min='0'
max='10'
step='1'
value='0'
/>
</v-list-item>
<v-list-item id="listdivs">
<label id='timestep'>Timestep:</label>
<input
v-model=timeStep
id='slider'
type='number'
min='0'
max='10'
step='1'
value='0'
/>
</v-list-item>
<v-divider></v-divider>
<v-list-item id="listdivs">
<label>Inorganic Matter Fraction 1 [mg/l]</label>
</v-list-item>
<v-list-item>
<div class='bar'></div>
<div class='bartext'> 0 25 50 75 >100 <span> </span> </div>
</v-list-item>
</v-list>
</v-card>
</div>
</body>
</html>