From 718a49d2bb9e3003a220e90de19a12030d57fcc6 Mon Sep 17 00:00:00 2001 From: BingoKingo Date: Sun, 7 Feb 2021 16:48:08 +0800 Subject: [PATCH] test --- common.php | 2 +- conststr.php | 14 +++++++------- readme.md | 11 ++++++++--- theme/tfo_m.html | 44 +++++++++++++++++++++++++++++++++----------- 4 files changed, 49 insertions(+), 22 deletions(-) diff --git a/common.php b/common.php index 7f415b2..b376561 100644 --- a/common.php +++ b/common.php @@ -2042,7 +2042,7 @@ function render_list($path = '', $files = []) if ($_SERVER['base_disk_path']!=$_SERVER['base_path']) { if (getConfig('diskname')!='') $diskname = getConfig('diskname'); else $diskname = $_SERVER['disktag']; - $title .= ' - ' . $diskname; + // $title .= ' - ' . $diskname; } $title .= ' - ' . $_SERVER['sitename']; $html = str_replace('', $title, $html); diff --git a/conststr.php b/conststr.php index 7da7256..174ee4a 100644 --- a/conststr.php +++ b/conststr.php @@ -431,13 +431,13 @@ $constStr = [ 'ar-sa' => 'إضافة قرص', ], 'Home' => [ - 'en-us' => 'Tfo', - 'zh-cn' => 'Tfo', - 'zh-tw' => 'Tfo', - 'ja' => 'Tfo', - 'ko-kr' => 'Tfo', - 'fa' => 'Tfo', - 'ar-sa' => 'Tfo', + 'en-us' => 'Home', + 'zh-cn' => '首页', + 'zh-tw' => '首頁', + 'ja' => 'ホーム', + 'ko-kr' => '홈', + 'fa' => 'خانه', + 'ar-sa' => 'فرونت بيج', ], 'Preview' => [ 'en-us' => 'Preview', diff --git a/readme.md b/readme.md index ca5c41a..0b1d80d 100644 --- a/readme.md +++ b/readme.md @@ -12,11 +12,11 @@ Postscript - Information + Information app.json - Tfo's information is described in these files for deployment + Tfo's information is described in these files for deployment @@ -27,6 +27,11 @@ conststr.php + + + + common.php + UpdateAddress @@ -80,7 +85,7 @@ -具体地,您可以下载/复制体验一下或参考示例中运用tfo.html的[Li Share Storage Mini](https://tfo.herokuapp.com/ "Li Share Storage Mini")。需要注意:**主题含多盘切换栏,悬浮在路径栏上可见;今日诗词随多盘head.md显示**。目前,主题仍存在诸多问题,请谅解。PS:主题将要实现的功能有狠多,敬请期待...但是自愿附加组件如评论系统、站长工具、访问统计等涉及到其他平台的私密内容不包含在主题内,若有需要请自行寻找在后台添加。主题的php历史版本请到Theme文件夹查看. +具体地,您可以下载/复制体验一下或参考示例中运用tfo.html的[Li Share Storage Mini](https://tfo.herokuapp.com/ "Li Share Storage Mini")。今日诗词随多盘显示。目前,主题仍存在诸多问题,请谅解。PS:主题将要实现的功能有狠多,敬请期待...但是自愿附加组件如今日诗词、评论系统、站长工具、访问统计等涉及到其他平台的私密内容不包含在主题内,若有需要请自行寻找在后台添加。主题的php历史版本请到Theme文件夹查看. ## Deploy 部署 ### Deploy to Heroku diff --git a/theme/tfo_m.html b/theme/tfo_m.html index b18a410..98594b4 100644 --- a/theme/tfo_m.html +++ b/theme/tfo_m.html @@ -39,8 +39,8 @@ .list-container,.list-header-container,.list-wrapper,a.back-link:hover,body{color:#24292e} .table-header{margin:0;border:0 none;padding:16px 24px;text-align:left;font-weight:400;word-break:break-all;word-wrap:break-word;color:#24292e;background-color:rgba(245,245,245,0.3);line-height:1.3;font-size:18px} .list-body-container{position:relative;left:0;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;background:rgba(245,245,245,0.6)} - .more-disk{margin:0;border:0 none;font-weight:400;color:#000;padding:18px 18px;text-align:center;background-color:rgba(245,245,245,0.3);line-height:32px;} - .more-disk a{margin:0 2px;padding:5px;transition-duration:0.3s;border-radius:18px;background-color:transparent;color:#24292e;border:2px solid rgba(85,85,85,0.7);border:1px solid rgba(27,31,35,0);font-weight:bold;} + .more-disk{margin:0;border:0 none;font-weight:400;color:#000;padding:12px 12px;text-align:center;background-color:rgba(245,245,245,0.3);line-height:32px;} + .more-disk a{margin:0 2px;padding:5px;transition-duration:0.3s;border-radius:18px;background-color:transparent;color:#24292e;border:2px solid rgba(85,85,85,0.7);border:1px solid rgba(27,31,35,0);font-size:16px;} .more-disk a:hover,.more-disk a[now]{background:rgba(245,245,245,0.3);color:#FFFFFF;border:1px solid rgba(27,31,35,.15);box-shadow:0 1px 15px rgba(27,31,35,.15)} .list-table{width:100%;padding:0 10px 10px 10px;border-spacing:0;overflow:hidden;table-layout:fixed} .list-table tr{height:fit-content;float:left;width:100%;transition-duration:0.3s;border-radius:16px} @@ -187,6 +187,7 @@
  • +
  • @@ -226,6 +227,11 @@ +
    +
    +
    +
    +
    @@ -233,11 +239,6 @@
    -
    -
    -
    -
    -