mirror of
https://github.com/kenzok8/small-package
synced 2025-01-05 11:36:47 +08:00
update 2024-12-29 20:35:00
This commit is contained in:
parent
8ebf78759c
commit
df28321aa2
@ -9,9 +9,9 @@ PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://gn.googlesource.com/gn.git
|
||||
PKG_SOURCE_DATE:=2024-11-22
|
||||
PKG_SOURCE_VERSION:=468c6128db7fabe32a29d4753460ef53594406fc
|
||||
PKG_MIRROR_HASH:=22b5814a82742e8a39835c26390550a22ecbac5f2d853216057ab3fb4e377fd9
|
||||
PKG_SOURCE_DATE:=2024-12-17
|
||||
PKG_SOURCE_VERSION:=c97a86a72105f3328a540f5a5ab17d11989ab7dd
|
||||
PKG_MIRROR_HASH:=2884591821bac9779d01402e6e7a1c7966889cdd52d3163826ebdcb365ec6101
|
||||
|
||||
PKG_LICENSE:=BSD 3-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
@ -3,7 +3,7 @@
|
||||
#ifndef OUT_LAST_COMMIT_POSITION_H_
|
||||
#define OUT_LAST_COMMIT_POSITION_H_
|
||||
|
||||
#define LAST_COMMIT_POSITION_NUM 2205
|
||||
#define LAST_COMMIT_POSITION "2205 (468c6128db7f)"
|
||||
#define LAST_COMMIT_POSITION_NUM 2207
|
||||
#define LAST_COMMIT_POSITION "2207 (c97a86a72105)"
|
||||
|
||||
#endif // OUT_LAST_COMMIT_POSITION_H_
|
||||
|
2687
luci-app-fchomo/po/zh_Hant/fchomo.po
Normal file
2687
luci-app-fchomo/po/zh_Hant/fchomo.po
Normal file
File diff suppressed because it is too large
Load Diff
@ -382,6 +382,41 @@ $lang = $_GET['lang'] ?? 'en';
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<style>
|
||||
#leafletMap {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#leafletMap.fullscreen {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.fullscreen-btn,
|
||||
.exit-fullscreen-btn {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
font-size: 20px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.exit-fullscreen-btn {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<script src="./assets/neko/js/jquery.min.js"></script>
|
||||
<link rel="stylesheet" href="./assets/bootstrap/leaflet.css" />
|
||||
<script src="./assets/bootstrap/leaflet.js"></script>
|
||||
@ -818,8 +853,34 @@ let IP = {
|
||||
L.marker([lat, lon]).addTo(map)
|
||||
.bindPopup(popupContent)
|
||||
.openPopup();
|
||||
|
||||
const fullscreenButton = document.createElement('button');
|
||||
fullscreenButton.classList.add('fullscreen-btn');
|
||||
fullscreenButton.innerHTML = '🗖';
|
||||
document.getElementById('leafletMap').appendChild(fullscreenButton);
|
||||
|
||||
const exitFullscreenButton = document.createElement('button');
|
||||
exitFullscreenButton.classList.add('exit-fullscreen-btn');
|
||||
exitFullscreenButton.innerHTML = '❎';
|
||||
document.getElementById('leafletMap').appendChild(exitFullscreenButton);
|
||||
|
||||
fullscreenButton.onclick = function() {
|
||||
const mapContainer = document.getElementById('leafletMap');
|
||||
mapContainer.classList.add('fullscreen');
|
||||
fullscreenButton.style.display = 'none';
|
||||
exitFullscreenButton.style.display = 'block';
|
||||
map.invalidateSize();
|
||||
};
|
||||
|
||||
exitFullscreenButton.onclick = function() {
|
||||
const mapContainer = document.getElementById('leafletMap');
|
||||
mapContainer.classList.remove('fullscreen');
|
||||
fullscreenButton.style.display = 'block';
|
||||
exitFullscreenButton.style.display = 'none';
|
||||
map.invalidateSize();
|
||||
};
|
||||
}
|
||||
}, 500);
|
||||
}, 500);
|
||||
},
|
||||
|
||||
getIpipnetIP: async () => {
|
||||
@ -982,4 +1043,8 @@ if(typeof checkSiteStatus !== 'undefined') {
|
||||
}
|
||||
|
||||
setInterval(IP.getIpipnetIP, 180000);
|
||||
</script>
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user