Rename to hkt.sh
This commit is contained in:
22
aff-monitor/src/views/partials/public-header.ejs
Normal file
22
aff-monitor/src/views/partials/public-header.ejs
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><%= typeof pageTitle !== 'undefined' ? pageTitle + ' - ' : '' %>VPS补货监控</title>
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="nav-public">
|
||||
<a href="/" class="brand">VPS补货监控</a>
|
||||
<div class="nav-links">
|
||||
<a href="/">首页</a>
|
||||
<a href="/plans">全部产品</a>
|
||||
<% if (typeof isAdmin !== 'undefined' && isAdmin) { %>
|
||||
<a href="/admin" class="nav-admin-link">后台管理</a>
|
||||
<% } else { %>
|
||||
<a href="/admin/login" class="nav-admin-link">管理登录</a>
|
||||
<% } %>
|
||||
</div>
|
||||
</nav>
|
||||
<main>
|
||||
Reference in New Issue
Block a user