mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-05 05:00:05 +00:00
♻️ dayNight主题更新 + 一些重构
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
计划的格式为:<code>* * * * *</code> 分 时 天 月 星期,详情见 <a
|
||||
href="https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format"
|
||||
target="_blank">计划表达式格式</a><br>
|
||||
命令:Shell 命令,就像写脚本一样就可以,如果遇到 xxx 命令找不到,可能是 <code>PATH</code> 环境变量的问题,<code>source ~/.bashrc</code>
|
||||
或者使用绝对路径执行。
|
||||
命令:Shell 命令,就像写脚本一样就可以,如果遇到 xxx 命令找不到,可能是 <code>PATH</code> 环境变量的问题,在脚本顶部加一个 <code>source ~/.bashrc</code>
|
||||
或者使用绝对路径执行,示例 <a href="https://gist.github.com/naiba/26efc8bf6f0b3273a9ba15ee48db5f11" target="_blank" rel="noopener noreferrer">备份脚本</a>。
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<body data-theme="light" data-gridlist="grid">
|
||||
<header class="nav-bar clearfix">
|
||||
<figure class="logo"><a href="/">{{.Title}}</a></figure>
|
||||
<figure class="logo"><a href="/">{{.Conf.Site.Brand}}</a></figure>
|
||||
<div class="icon-container">
|
||||
<div class="row cf">
|
||||
<div class="three col">
|
||||
@@ -34,16 +34,12 @@
|
||||
{{if .Admin}}
|
||||
<li><a href="/">首页</a></li>
|
||||
<li><a href="/service">服务状态</a></li>
|
||||
<li><a href="/server">服务器</a></li>
|
||||
<li><a href="/monitor">监控</a></li>
|
||||
<li><a href="/notification">通知</a></li>
|
||||
<li><a href="/setting">设置</a></li>
|
||||
<li><a href="#" style="padding:.8em;text-align:center;"
|
||||
title="您已登录">{{.Admin.Name}}</a></li>
|
||||
<li><a href="/server" style="padding:.8em;text-align:center;">管理后台</a></li>
|
||||
{{else}}
|
||||
<li><a href="/">首页</a></li>
|
||||
<li><a href="/service">服务状态</a></li>
|
||||
<li><a href="/login">登录</a></li>{{end}}
|
||||
<li><a href="/login">登录</a></li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<body data-theme="light" data-gridlist="list">
|
||||
<article>
|
||||
<header class="nav-bar clearfix">
|
||||
<figure class="logo"><a href="/">{{.Title}}</a></figure>
|
||||
<figure class="logo"><a href="/">{{.Conf.Site.Brand}}</a></figure>
|
||||
<div class="icon-container">
|
||||
<div class="row cf">
|
||||
<div class="three col">
|
||||
|
||||
Reference in New Issue
Block a user