mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-07 07:18:00 +08:00
update 2025-02-10 16:26:27
This commit is contained in:
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_MAINTAINER:=Thaolga <https://github.com/Thaolga/luci-app-nekobox>
|
||||
PKG_NAME:=luci-app-nekobox
|
||||
PKG_VERSION:=1.7.8
|
||||
PKG_VERSION:=1.7.9
|
||||
PKG_RELEASE:=cn
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="186" height="20" role="img" aria-label="Latest Version: v1.7.8">
|
||||
<title>Latest Version: v1.7.8</title>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="186" height="20" role="img" aria-label="Latest Version: v1.7.9">
|
||||
<title>Latest Version: v1.7.9</title>
|
||||
<linearGradient id="s" x2="0" y2="100%">
|
||||
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
|
||||
<stop offset="1" stop-opacity=".1"/>
|
||||
@@ -15,7 +15,7 @@
|
||||
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110">
|
||||
<text aria-hidden="true" x="495" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="700" style="letter-spacing: -5;">Latest Version</text>
|
||||
<text x="495" y="140" transform="scale(.1)" fill="#fff" textLength="700" style="letter-spacing: -5;">Latest Version</text>
|
||||
<text aria-hidden="true" x="1405" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="600" style="letter-spacing: -3;">v1.7.8</text>
|
||||
<text x="1405" y="140" transform="scale(.1)" fill="#fff" textLength="600" style="letter-spacing: -3;">v1.7.8</text>
|
||||
<text aria-hidden="true" x="1405" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="600" style="letter-spacing: -3;">v1.7.9</text>
|
||||
<text x="1405" y="140" transform="scale(.1)" fill="#fff" textLength="600" style="letter-spacing: -3;">v1.7.9</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -1,5 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="186" height="20" role="img" aria-label="Current Version: v1.7.8">
|
||||
<title>Current Version: v1.7.8</title>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="186" height="20" role="img" aria-label="Current Version: v1.7.9">
|
||||
<title>Current Version: v1.7.9</title>
|
||||
<linearGradient id="s" x2="0" y2="100%">
|
||||
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
|
||||
<stop offset="1" stop-opacity=".1"/>
|
||||
@@ -15,7 +15,7 @@
|
||||
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110">
|
||||
<text aria-hidden="true" x="495" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="700" style="letter-spacing: -5;">Current Version</text>
|
||||
<text x="495" y="140" transform="scale(.1)" fill="#fff" textLength="700" style="letter-spacing: -5;">Current Version</text>
|
||||
<text aria-hidden="true" x="1405" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="600" style="letter-spacing: -3;">v1.7.8</text>
|
||||
<text x="1405" y="140" transform="scale(.1)" fill="#fff" textLength="600" style="letter-spacing: -3;">v1.7.8</text>
|
||||
<text aria-hidden="true" x="1405" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="600" style="letter-spacing: -3;">v1.7.9</text>
|
||||
<text x="1405" y="140" transform="scale(.1)" fill="#fff" textLength="600" style="letter-spacing: -3;">v1.7.9</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -656,6 +656,7 @@ function getSubscriptionUrlFromFile($file) {
|
||||
<a href="./singbox.php" class="col btn btn-lg"><i class="bi bi-shop d-none d-sm-inline"></i> <span style="white-space: nowrap;">模板 一</span></a>
|
||||
<a href="./subscription.php" class="col btn btn-lg"><i class="bi bi-bank d-none d-sm-inline"></i> <span style="white-space: nowrap;">模板 二</span></a>
|
||||
<a href="./mihomo.php" class="col btn btn-lg"><i class="bi bi-building d-none d-sm-inline"></i> <span style="white-space: nowrap;">模板 三</span></a>
|
||||
<h1 class="text-center p-2" style="margin-top: 2rem; margin-bottom: 1rem;">Mihomo 转换模板</h1>
|
||||
|
||||
<div class="col-12 custom-padding">
|
||||
<div class="form-section">
|
||||
|
||||
@@ -669,24 +669,6 @@ $lang = $_GET['lang'] ?? 'en';
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.popup {
|
||||
display: none;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
justify-content: center;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.popup button {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
body, html {
|
||||
overflow-x: hidden;
|
||||
@@ -718,6 +700,78 @@ $lang = $_GET['lang'] ?? 'en';
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.popup-backdrop {
|
||||
content: '';
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(5px);
|
||||
z-index: 1040;
|
||||
}
|
||||
|
||||
.popup {
|
||||
display: none;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
padding: 20px;
|
||||
background-color: #ffffff;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 10px;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: calc(100% - 40px);
|
||||
z-index: 1050;
|
||||
}
|
||||
|
||||
.popup h3 {
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.popup button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
background-color: #007bff;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
font-size: 0.875rem;
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.popup button:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
.popup button i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.popup button:last-child {
|
||||
grid-column: 1 / -1;
|
||||
background-color: #dc3545;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.popup button:last-child i {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.popup button:last-child:hover {
|
||||
background-color: #c82333;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
</style>
|
||||
<script src="./assets/bootstrap/Sortable.min.js"></script>
|
||||
@@ -1613,7 +1667,7 @@ setInterval(IP.getIpipnetIP, 180000);
|
||||
<button onclick="toggleControlPanel()" id="control-btn">🎛️ 音量和进度控制</button>
|
||||
<button id="openPlayerButton" data-bs-toggle="modal" data-bs-target="#audioPlayerModal">🎶 音乐播放器</button>
|
||||
<button type='button' onclick='openVideoPlayerModal()'><i class='fas fa-video'></i> 媒体播放器</button>
|
||||
<button onclick="toggleObjectFit()" id="object-fit-btn">🔲 切换视频显示模式</button>
|
||||
<button onclick="toggleObjectFit()" id="object-fit-btn">🔲 切换显示模式</button>
|
||||
<button onclick="toggleFullScreen()" id="fullscreen-btn">⛶ 切换全屏</button>
|
||||
<button id="clear-cache-btn">🗑️ 清除缓存</button>
|
||||
<button type="button" data-bs-toggle="modal" data-bs-target="#cityModal">🌆 设置城市</button>
|
||||
@@ -4298,6 +4352,71 @@ input[type="range"]:focus {
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.modal-xl {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
margin: 0.5rem;
|
||||
max-height: 95vh;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.modal-header .modal-title {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.modal-header .btn-close {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.toggle-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 0.5rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toggle-container button {
|
||||
flex: 1;
|
||||
padding: 5px;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.media-container,
|
||||
.playlist-container {
|
||||
width: 100%;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.media-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.playlist-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.modal-footer button {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
#videoPlayer, #audioPlayer, #imageViewer {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.toggle-container {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
@@ -4544,11 +4663,15 @@ input[type="range"]:focus {
|
||||
<h5 class="modal-title" id="videoPlayerModalLabel">媒体播放器</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="toggle-container">
|
||||
<button type="button" class="btn btn-outline-primary" onclick="showMediaContainer()">播放媒体</button>
|
||||
<button type="button" class="btn btn-success" onclick="showPlaylistContainer()">播放列表</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="media-container">
|
||||
<video id="videoPlayer" controls preload="auto" style="display: none;"></video>
|
||||
<audio id="audioPlayer" controls preload="auto" style="display: none;"></audio>
|
||||
<img id="imageViewer" src="" style="display: none;">
|
||||
<video id="videoPlayer" controls preload="auto" style="width: 100%; height: auto;"></video>
|
||||
<audio id="audioPlayer" controls preload="auto" style="width: 100%; height: auto;"></audio>
|
||||
<img id="imageViewer" src="" style="width: 100%; height: auto;">
|
||||
</div>
|
||||
<div class="playlist-container">
|
||||
<h5>播放列表</h5>
|
||||
@@ -4564,6 +4687,18 @@ input[type="range"]:focus {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function showMediaContainer() {
|
||||
document.querySelector('.media-container').style.display = 'block';
|
||||
document.querySelector('.playlist-container').style.display = 'none';
|
||||
}
|
||||
|
||||
function showPlaylistContainer() {
|
||||
document.querySelector('.media-container').style.display = 'none';
|
||||
document.querySelector('.playlist-container').style.display = 'block';
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="modal fade" id="renameModal" tabindex="-1" aria-labelledby="renameModalLabel" aria-hidden="true" data-bs-backdrop="static" data-bs-keyboard="false">
|
||||
<div class="modal-dialog modal-xl">
|
||||
<form id="renameForm" method="POST">
|
||||
|
||||
@@ -544,6 +544,7 @@ EOL;
|
||||
<a href="./singbox.php" class="col btn btn-lg"><i class="bi bi-shop d-none d-sm-inline"></i> <span style="white-space: nowrap;">模板 一</span></a>
|
||||
<a href="./subscription.php" class="col btn btn-lg"><i class="bi bi-bank d-none d-sm-inline"></i> <span style="white-space: nowrap;">模板 二</span></a>
|
||||
<a href="./mihomo.php" class="col btn btn-lg"><i class="bi bi-building d-none d-sm-inline"></i> <span style="white-space: nowrap;">模板 三</span></a>
|
||||
<h1 class="text-center p-2" style="margin-top: 2rem; margin-bottom: 1rem;">Sing-box 转换模板 二</h1>
|
||||
|
||||
<div class="col-12 custom-padding">
|
||||
<div class="form-section">
|
||||
|
||||
@@ -1 +1 @@
|
||||
V1.7.8-cn
|
||||
V1.7.9-cn
|
||||
|
||||
@@ -120,7 +120,7 @@ opkg install luci-theme-argon*.ipk
|
||||
```bash
|
||||
opkg install luci-compat
|
||||
opkg install luci-lib-ipkg
|
||||
wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.2/luci-theme-argon-2.3.2-r20250207.apk
|
||||
wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.2/luci-theme-argon_2.3.2-r20250207_all.ipk
|
||||
opkg install luci-theme-argon*.ipk
|
||||
```
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ opkg install luci-theme-argon*.ipk
|
||||
```bash
|
||||
opkg install luci-compat
|
||||
opkg install luci-lib-ipkg
|
||||
wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.2/luci-theme-argon-2.3.2-r20250207.apk
|
||||
wget --no-check-certificate https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.2/luci-theme-argon_2.3.2-r20250207_all.ipk
|
||||
opkg install luci-theme-argon*.ipk
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user