feat: integrate user manual into help section
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="RollCalc Help">
|
||||
<title>RollCalc Help</title>
|
||||
<style>
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f4f6f9; color: #2f3437; min-height: 100vh; }
|
||||
.help-header { background: linear-gradient(135deg, #1F5438 0%, #2BAC70 100%); color: #fff; padding: 20px 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
|
||||
.help-header-inner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
|
||||
.help-header h1 { font-size: 24px; margin-bottom: 5px; }
|
||||
.help-header p { font-size: 13px; opacity: 0.9; }
|
||||
.help-nav { display: flex; gap: 10px; flex-wrap: wrap; }
|
||||
.help-nav a { color: #fff; border: 1px solid rgba(255,255,255,0.58); border-radius: 5px; padding: 7px 13px; text-decoration: none; font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.08); }
|
||||
.help-nav a:hover { background: rgba(255,255,255,0.18); }
|
||||
.help-container { max-width: 980px; margin: 30px auto; padding: 0 16px 60px; }
|
||||
.help-intro { margin-bottom: 22px; line-height: 1.55; color: #4b555a; }
|
||||
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
|
||||
.help-card { background: #fff; border: 1px solid #dfe7e2; border-radius: 8px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
|
||||
.help-card h2 { color: #1F5438; font-size: 18px; margin-bottom: 10px; }
|
||||
.help-card p { color: #4f5b60; font-size: 14px; line-height: 1.55; margin-bottom: 18px; }
|
||||
.help-card a { display: inline-block; background: #2BAC70; color: #fff; text-decoration: none; border-radius: 6px; padding: 10px 16px; font-size: 14px; font-weight: 700; }
|
||||
.help-card a:hover { background: #1F5438; }
|
||||
.footer { text-align: center; font-size: 11px; color: #aaa; padding: 18px; }
|
||||
.footer-build-info { margin-top: 6px; color: #bbb; }
|
||||
@media (max-width: 640px) {
|
||||
.help-header { padding: 18px 16px; }
|
||||
.help-header-inner { align-items: flex-start; flex-direction: column; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header class="help-header">
|
||||
<div class="help-header-inner">
|
||||
<div>
|
||||
<h1>RollCalc Help</h1>
|
||||
<p>Documentation for roll calculation and transport capacity analysis</p>
|
||||
</div>
|
||||
<nav class="help-nav" aria-label="Help navigation">
|
||||
<a href="{{ url_for('index') }}">Calculator</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="help-container">
|
||||
<p class="help-intro">
|
||||
This area provides internal technical documentation for RollCalc. The documents are rendered from the maintained Markdown sources.
|
||||
</p>
|
||||
|
||||
<section class="help-grid" aria-label="Available help documents">
|
||||
<article class="help-card">
|
||||
<h2>User Manual</h2>
|
||||
<p>
|
||||
Workflow-oriented manual for roll calculation, handling evaluation, Load Optimizer usage, and interpretation of Capacity Summary and Capacity Analysis.
|
||||
</p>
|
||||
<a href="{{ url_for('user_manual') }}">Open User Manual</a>
|
||||
</article>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
RollCalc Beta © Naue
|
||||
<div class="footer-build-info">
|
||||
Version {{ build_info.version }} |
|
||||
Branch {{ build_info.branch }} |
|
||||
Commit {{ build_info.commit }} |
|
||||
Built {{ build_info.timestamp }}
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user