Compare commits

..

No commits in common. '12b34bdd900d54f7d2c832f69ab19e79dd102d4f' and '447bf91402ea8120d2931d38885a8076aa36783e' have entirely different histories.

  1. 6
      class/Api.php
  2. 2
      templates/default2/assets/index.css
  3. 56
      templates/default2/assets/index.js
  4. 4
      templates/default2/info.json
  5. 2
      version.txt

6
class/Api.php

@ -1780,14 +1780,8 @@ class Api {
//判断主题目录是否存在,如果curl_host是alpine,则视为容器,容器则将主题目录设置为data/templates //判断主题目录是否存在,如果curl_host是alpine,则视为容器,容器则将主题目录设置为data/templates
$curl_host = curl_version()['host']; $curl_host = curl_version()['host'];
if( strstr($curl_host,'alpine') ) { if( strstr($curl_host,'alpine') ) {
// 默认主题一律保存到templates目录
if( $name == "default2" ) {
$theme_dir = "templates";
}
else{
$theme_dir = "data/templates"; $theme_dir = "data/templates";
} }
}
else{ else{
$theme_dir = "templates"; $theme_dir = "templates";
} }

2
templates/default2/assets/index.css

File diff suppressed because one or more lines are too long

56
templates/default2/assets/index.js

File diff suppressed because one or more lines are too long

4
templates/default2/info.json

@ -3,8 +3,8 @@
"description": "OneNav目前功能最强大的默认主题,推荐使用。", "description": "OneNav目前功能最强大的默认主题,推荐使用。",
"homepage": "https:\/\/blog.xiaoz.org", "homepage": "https:\/\/blog.xiaoz.org",
"help_url":"https://dwz.ovh/gnae4", "help_url":"https://dwz.ovh/gnae4",
"version": "1.0.2", "version": "1.0.1",
"update": "2024\/11\/28", "update": "2024\/11\/27",
"author": "xiaoz<xiaoz93@outlook.com>", "author": "xiaoz<xiaoz93@outlook.com>",
"screenshot": "https://v.png.pub/imgs/2024/11/27/c01894e5d9e0d850.png", "screenshot": "https://v.png.pub/imgs/2024/11/27/c01894e5d9e0d850.png",
"demo":"https://nav.rss.ink", "demo":"https://nav.rss.ink",

2
version.txt

@ -1 +1 @@
v0.9.37-20241128 v0.9.36-20241127
Loading…
Cancel
Save