Skip to content

Commit 098e9fc

Browse files
added size legend, static, worc in progress
1 parent 99b63a5 commit 098e9fc

File tree

4 files changed

+139
-1
lines changed

4 files changed

+139
-1
lines changed

images/size_legend_single.svg

Lines changed: 14 additions & 0 deletions
Loading

images/size_legend_triple.svg

Lines changed: 14 additions & 0 deletions
Loading

index.html

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,31 @@
6666
<table id="snapshot_table"></table>
6767
<button type="button" id="delete_snapshots" class="other_button" onclick="deleteSnapshots()"> Delete Snapshots </button>
6868
</div>
69-
7069
</div>
7170

7271
<!--<button type="button" class="polygonButton"> Select Measuring Site </button> -->
7372
</div>
73+
<div id="legend">
74+
<div id="size_legend">
75+
<div id="size_image_div">
76+
<img id="size_legend_image" src="images/size_legend_triple.svg" alt="size_legend" style="float:left;">
77+
</div>
78+
<div id="size_image_text">
79+
<div id="size_image_max"><p>TEST Maximum</p></div>
80+
<div id="size_image_mid"><p>TEST Minimum</p></div>
81+
<div id="size_image_min"><p>TEST Minimum</p></div>
82+
</div>
83+
</div>
84+
<div id="color_legend">
85+
<div id="color_image_div">
86+
<img id="color_legend_image" src="images/colormap_vert.svg" alt="color_map" style="float:right;">
87+
</div>
88+
<div id="color_image_text">
89+
<div id="color_maximum"><p>Maximum</p></div>
90+
<div id="color_minimum"><p>Minimum</p></div>
91+
</div>
92+
</div>
93+
</div>
7494
</div>
7595

7696

zaehlstellen.css

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
width: 100%;
106106
margin-left: 45px;
107107
margin-right: 10 px;
108+
margin-bottom: 15px;
108109
overflow: auto;
109110
}
110111
#playbutton_div{
@@ -342,6 +343,95 @@
342343
transition-duration: 0s;
343344
}
344345

346+
#legend{
347+
height: 130px;
348+
position: relative;
349+
overflow: hidden;
350+
white-space: nowrap;
351+
}
352+
353+
#size_legend{
354+
position: relative;
355+
float: left;
356+
bottom: 0;
357+
right: 0;
358+
width: 30%;
359+
height: 130px;
360+
margin-left: 20%;
361+
}
362+
363+
#size_image_div {
364+
position: absolute;
365+
top: 25px;
366+
left: 0px;
367+
float: left;
368+
height: 130px;
369+
width: 20px;
370+
}
371+
372+
#size_image_text{
373+
position: relative;
374+
float: left;
375+
width: 100px;
376+
height: 130px;
377+
}
378+
379+
#size_image_max{
380+
position: absolute;
381+
top: 0px;
382+
left: 40px;
383+
}
384+
385+
#size_image_mid{
386+
position: absolute;
387+
top: 37px;
388+
left: 40px;
389+
}
390+
391+
#size_image_min{
392+
position: absolute;
393+
bottom: 15px;
394+
left: 40px;
395+
}
396+
397+
#color_legend{
398+
position: relative;
399+
float: right;
400+
bottom: 0;
401+
right: 0;
402+
width: 30%;
403+
height: 130px;
404+
margin-right: 20%;
405+
}
406+
#color_image_div{
407+
position: absolute;
408+
top: 10px;
409+
right: 0px;
410+
float: right;
411+
height: 130px;
412+
width: 20px;
413+
}
414+
415+
#color_image_text{
416+
position: relative;
417+
float: right;
418+
width: 80px;
419+
height: 130px;
420+
}
421+
422+
#color_maximum{
423+
position: absolute;
424+
top: -15px;
425+
right: 25px;
426+
}
427+
428+
#color_minimum{
429+
position: absolute;
430+
bottom: -10px;
431+
right: 25px;
432+
}
433+
434+
345435
#layer_panel{
346436
position: absolute;
347437
top: 7px;

0 commit comments

Comments
 (0)