Files
ewoooc/templates/market_intel/disabled.html
OoO 30a173cf69
All checks were successful
CD Pipeline / deploy (push) Successful in 58s
統一全站暖色視覺與市場情報骨架
2026-05-06 20:24:46 +08:00

96 lines
2.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "ewoooc_base.html" %}
{% block title %}市場情報EwoooC{% endblock %}
{% block extra_css %}
<style>
.market-intel-status {
display: grid;
gap: 1rem;
}
.market-intel-panel {
border: 1px solid var(--momo-border, #d8c8aa);
border-radius: 8px;
background:
radial-gradient(circle at 1px 1px, rgba(120, 83, 44, 0.16) 1px, transparent 1.35px),
var(--momo-paper, #f8f2e7);
background-size: 10px 10px, auto;
box-shadow: var(--momo-shadow-sm, 0 8px 18px rgba(72, 49, 28, 0.08));
padding: 1.25rem;
}
.market-intel-title {
color: var(--momo-ink, #30251b);
font-size: 1.35rem;
font-weight: 800;
margin: 0;
}
.market-intel-muted {
color: var(--momo-muted, #756a5b);
margin: 0;
}
.market-intel-flags {
display: grid;
gap: 0.75rem;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
margin-top: 1rem;
}
.market-intel-flag {
border-left: 3px solid var(--momo-accent, #c8752d);
background: rgba(255, 250, 241, 0.84);
padding: 0.8rem 0.9rem;
}
.market-intel-flag span {
color: var(--momo-muted, #756a5b);
display: block;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0;
}
.market-intel-flag strong {
color: var(--momo-ink, #30251b);
font-family: "JetBrains Mono", monospace;
font-size: 1rem;
}
</style>
{% endblock %}
{% block ewooo_content %}
<section class="market-intel-status">
<div class="market-intel-panel">
<p class="market-intel-muted momo-mono mb-2">MARKET INTEL / {{ status.phase }}</p>
<h1 class="market-intel-title">市場情報尚未啟用</h1>
<p class="market-intel-muted mt-2">目前只載入安全骨架;爬蟲、正式寫入與排程都尚未掛載。</p>
<div class="market-intel-flags">
<div class="market-intel-flag">
<span>模組開關</span>
<strong>{{ 'ON' if status.enabled else 'OFF' }}</strong>
</div>
<div class="market-intel-flag">
<span>爬蟲開關</span>
<strong>{{ 'ON' if status.crawler_enabled else 'OFF' }}</strong>
</div>
<div class="market-intel-flag">
<span>資料寫入</span>
<strong>{{ 'ON' if status.write_enabled else 'OFF' }}</strong>
</div>
<div class="market-intel-flag">
<span>排程掛載</span>
<strong>{{ 'ON' if status.scheduler_attached else 'OFF' }}</strong>
</div>
<div class="market-intel-flag">
<span>DB 寫入許可</span>
<strong>{{ 'ON' if status.database_write_allowed else 'OFF' }}</strong>
</div>
</div>
</div>
</section>
{% endblock %}