Commit 399bf9e8 authored by Patrick's avatar Patrick
Browse files

Updates

parent d2181f61
......@@ -313,4 +313,86 @@
#btn_backtotop:hover {
background-color: #555;
}
\ No newline at end of file
}
ul > li {
display: inline-block;
width: 5px;
/* You can also add some margins here to make it look prettier */
zoom:1;
*display:inline;
/* this fix is needed for IE7- */
}
/* The container */
.container {
display: block;
position: relative;
padding-left: 35px;
/* margin-bottom: 12px; */
cursor: pointer;
/* font-size: 22px; */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Hide the browser's default checkbox */
.container input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* Create a custom checkbox */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color:#f1f1f1;
border-width: 2px;
border-radius:4px;
border:solid #424242 ;
box-shadow:0 8px 16px 0 #27272733, 0 6px 20px 0 rgb(0 0 0 / 19%);
}
/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
background-color: #424242;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
display: block;
}
/* Style the checkmark/indicator */
.container .checkmark:after {
left: 7px;
top: 5px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 3px 3px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
\ No newline at end of file
This diff is collapsed.
......@@ -709,4 +709,35 @@ function getLayerforData(name){
return mainlayer2.options.commonLayer.source
}
}
}
function CheckboxCheck(type) {
if (type == "CONSTRUCTION"){
var checkBox = document.getElementById("baucheck");
if (checkBox.checked == true){
console.log("test an")
getAccidents('CONSTRUCTION')
} else {
console.log("test off")
deleteAccidents('CONSTRUCTION')
}
} else if (type == "ROAD_CLOSURE"){
var checkBox = document.getElementById("Streetcheck");
if (checkBox.checked == true){
getAccidents('ROAD_CLOSURE')
} else {
deleteAccidents('ROAD_CLOSURE')
}
} else if (type == "FLOW"){
var checkBox = document.getElementById("flowcheck");
if (checkBox.checked == true){
drawFlow()
} else {
deleteFlow()
}
}
}
\ No newline at end of file
......@@ -734,4 +734,23 @@ function buildingSeeThroughfalse(set){
clearInterval(timeout);
}, 1000);
}
// ----------------------------------------------------------------------------------
// Select Noise Sensor
var menu = document.getElementById("sensors");
menu.addEventListener("change", generateData);
function generateData(event) {
if (menu.value == 'Sens') {
} else if (menu.value == '49368') {
getSTAHistNoise();
setNoiseWaiting();
HistNoiseData('Exp','49368')
} else if (menu.value == '53627') {
alert("noch nicht verfügbar");
} else if (menu.value == '29212'){
alert("noch nicht verfügbar");
}
}
\ No newline at end of file
......@@ -169,7 +169,14 @@ function addcont(content){
"<span></span>"+
"</div>"+
"</div>"
var nordbstuff2 = "" +
"<div class='box-3'>"+
"<div class='btn btn-three' onclick='newPlan()'>"+
"<span>Neue Planung</span>"+
"</div><br>"+
"<div class='btn btn-three' onclick='oldZust()'>"+
"<span>Ist Zustand</span>"+
"</div><br></div>"
heatdemVal01 = 100
heatdemVal02 = 200
heatdemVal03 = 300
......@@ -218,7 +225,7 @@ function addcont(content){
var other = document.getElementById('nordbplanung')
other.innerHTML = ""
nordb.innerHTML = ""
nordb.innerHTML = nordbstuff
nordb.innerHTML = nordbstuff2
}
......
......@@ -591,7 +591,7 @@ function NordbahnhofText() {
layer.activate(false);
}
}
noisemap('offS')
// noisemap('offS')
unhighlightStuff();
expstate = true;
// onoff()
......@@ -783,7 +783,7 @@ function Expert() {
} else if (layer09.indexOf(layer.name) >= 0){
layer.activate(false);
} else if (layer10.indexOf(layer.name) >= 0){
layer.activate(true);
layer.activate(false);
} else if (layerfix.indexOf(layer.name) >= 0){
layer.activate(true);
} else if (layerfix01.indexOf(layer.name) >= 0){
......@@ -861,4 +861,6 @@ function Projektshow(){
var element = document.getElementById("icon_lock");
element.classList.add("fa-lock");
element.classList.remove("fa-unlock");
}
\ No newline at end of file
}
......@@ -8,7 +8,7 @@
.rectangle {
height: 50px;
width: 100px;
/* width: 100px; */
}
.One{
......@@ -61,18 +61,29 @@
list-style: none;
margin-left: 0;
line-height: 30px;
width:150px;
margin-bottom: 2px;
width:90px;
margin-bottom: 0px;
font-weight: bold;
padding-left:5px;
padding-left:0px;
}
.addition .addition2 ul li {
font-size: 100%;
color:#121212;
list-style: none;
margin-left: 0;
line-height: 30px;
width:130px;
margin-bottom: 0px;
font-weight: bold;
padding-left:0px;
}
.my-legend ul.legend-labels li span {
display: block;
float: left;
height: 30px;
width: 70px;
width: 85px;
margin-right: 5px;
margin-left: 0;
margin-left: 2px;
border: 1px solid #999;
}
.my-legend .legend-source {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment