上传文件至「/」
This commit is contained in:
commit
634bf7a4d5
5 files changed
+383
No files matched your search
+95
@@ -0,0 +1,95 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>Modern Navigator | 现代导航</title>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="glass-nav">
|
||||
<div class="logo">NAVIGATOR</div>
|
||||
<div class="nav-links">
|
||||
{% if current_user.is_authenticated %}
|
||||
<a href="{{ url_for('admin_dashboard') }}" class="nav-btn">管理</a>
|
||||
<a href="{{ url_for('logout') }}" class="nav-btn logout">登出</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('login') }}" class="nav-btn">登录</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="hero-section">
|
||||
<div id="hero-bg" class="hero-bg"></div>
|
||||
<div class="hero-content-pure">
|
||||
<h1 id="hero-title">载入中...</h1>
|
||||
<p id="hero-desc">正在为您获取最佳资源...</p>
|
||||
<div class="btn-container">
|
||||
<a id="hero-link" href="#" target="_blank" class="btn-visit">立即访问</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="bottom-nav-container">
|
||||
<div class="swiper-button-prev custom-arrow"></div>
|
||||
<div class="swiper-button-next custom-arrow"></div>
|
||||
|
||||
<div class="swiper mySwiper">
|
||||
<div class="swiper-wrapper">
|
||||
{% for item in items %}
|
||||
<div class="swiper-slide nav-card {{ 'grayscale' if item.status.value != 'enabled' }}"
|
||||
data-title="{{ item.title }}"
|
||||
data-desc="{{ item.description }}"
|
||||
data-url="{{ item.url or '' }}"
|
||||
data-bg="{{ item.image_large }}"
|
||||
data-status="{{ item.status.value }}">
|
||||
<img src="{{ item.image_thumb }}" alt="{{ item.title }}">
|
||||
<div class="card-info">
|
||||
<h3>{{ item.title }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
|
||||
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
|
||||
<script>
|
||||
window.difyChatbotConfig = {
|
||||
token: 'USxT0fq160sy4KaN',
|
||||
baseUrl: 'https://dify.aibi.chat',
|
||||
inputs: {
|
||||
// You can define the inputs from the Start node here
|
||||
// key is the variable name
|
||||
// e.g.
|
||||
// name: "NAME"
|
||||
},
|
||||
systemVariables: {
|
||||
// user_id: 'YOU CAN DEFINE USER ID HERE',
|
||||
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
|
||||
},
|
||||
userVariables: {
|
||||
// avatar_url: 'YOU CAN DEFINE USER AVATAR URL HERE',
|
||||
// name: 'YOU CAN DEFINE USER NAME HERE',
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<script
|
||||
src="https://dify.aibi.chat/embed.min.js"
|
||||
id="USxT0fq160sy4KaN"
|
||||
defer>
|
||||
</script>
|
||||
<style>
|
||||
#dify-chatbot-bubble-button {
|
||||
background-color: #1C64F2 !important;
|
||||
}
|
||||
#dify-chatbot-bubble-window {
|
||||
width: 24rem !important;
|
||||
height: 40rem !important;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user