Compare commits

..

No commits in common. 'ed95ea08360a32b11d2e062f51b15f68e87700e5' and '1a0bcf882b822d8813af47c8415a884baea0f7ef' have entirely different histories.

  1. 8
      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

8
class/Api.php

@ -1780,13 +1780,7 @@ class Api { @@ -1780,13 +1780,7 @@ class Api {
//判断主题目录是否存在,如果curl_host是alpine,则视为容器,容器则将主题目录设置为data/templates
$curl_host = curl_version()['host'];
if( strstr($curl_host,'alpine') ) {
// 默认主题一律保存到templates目录
if( $name == "default2" ) {
$theme_dir = "templates";
}
else{
$theme_dir = "data/templates";
}
$theme_dir = "data/templates";
}
else{
$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 @@ @@ -3,8 +3,8 @@
"description": "OneNav目前功能最强大的默认主题,推荐使用。",
"homepage": "https:\/\/blog.xiaoz.org",
"help_url":"https://dwz.ovh/gnae4",
"version": "1.0.2",
"update": "2024\/11\/28",
"version": "1.0.1",
"update": "2024\/11\/27",
"author": "xiaoz<xiaoz93@outlook.com>",
"screenshot": "https://v.png.pub/imgs/2024/11/27/c01894e5d9e0d850.png",
"demo":"https://nav.rss.ink",

2
version.txt

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