Revize bc7738cd
Přidáno uživatelem Martin Sebela před asi 4 roky(ů)
website/public/js/zcu-heatmap.js | ||
---|---|---|
61 | 61 |
autoPan: false |
62 | 62 |
}) |
63 | 63 |
.setLatLng([lat / i, lng / i]) |
64 |
.setContent('<div id=\'place-info\'>Umístění: ' + info[currenInfo].place + '</div>' +
|
|
65 |
'<div id=\'number-info\'>Počet: ' + info[currenInfo].number + '</div>' +
|
|
64 |
.setContent('<strong>Zařízení a počet:</strong><div id=\'place-info\'>' + info[currenInfo].place + '</div>' +
|
|
65 |
'<div id=\'number-info\'>' + info[currenInfo].number + '</div>' + |
|
66 | 66 |
'<div class=\'popup-controls\'>' + |
67 | 67 |
'<button id=\'previous-info-btn\' class=\'circle-button\' onclick=\'previousInfo()\'></button>' + |
68 | 68 |
'<div id=\'count-info\'>' + (currenInfo + 1) + '/' + info.length + '</div>' + |
... | ... | |
91 | 91 |
} |
92 | 92 |
|
93 | 93 |
function displayInfoText() { |
94 |
$('#place-info').html('Umístění: ' + info[currenInfo].place)
|
|
95 |
$('#number-info').html('Počet: ' + info[currenInfo].number)
|
|
94 |
$('#place-info').html(info[currenInfo].place) |
|
95 |
$('#number-info').html(info[currenInfo].number) |
|
96 | 96 |
$('#count-info').html(currenInfo + 1 + '/' + info.length); |
97 | 97 |
} |
98 | 98 |
|
Také k dispozici: Unified diff
heatmap css changes