更换LOGO、优化获取IP策略

This commit is contained in:
naiba
2021-03-20 23:50:16 +08:00
parent 3aba6a4131
commit 8acf99253c
14 changed files with 55 additions and 48 deletions

View File

@@ -10,7 +10,7 @@
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.1/dist/semantic.min.css">
<link rel="stylesheet" type="text/css" href="/static/semantic-ui-alerts.min.css">
<link rel="stylesheet" type="text/css" href="/static/main.css?v202102051040">
<link rel="shortcut icon" type="image/png" href="/static/logo.png" />
<link rel="shortcut icon" type="image/png" href="/static/logo.png?v20210320" />
</head>
<body>

View File

@@ -2,7 +2,7 @@
<div class="ui large top fixed menu nb-menu">
<div class="ui container">
<div class="item">
<img src="/static/logo.png">
<img src="/static/logo.png?v20210320">
</div>
{{if .IsAdminPage}}
<a class='item{{if eq .MatchedPath "/server"}} active{{end}}' href="/server"><i class="server icon"></i>资产</a>