Add navigation links between Dashboard and Clearing House
Browse files- Dashboard header: green "Clearing House" button linking to /ch/
- Clearing House nav: "← Main Dashboard" link back to /
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
clearing_house/templates/base.html
CHANGED
|
@@ -203,7 +203,7 @@
|
|
| 203 |
{% if member %}
|
| 204 |
<a href="/ch/portfolio" class="{{ 'active' if '/portfolio' in request.path else '' }}">My Portfolio</a>
|
| 205 |
{% endif %}
|
| 206 |
-
<a href="/"
|
| 207 |
</div>
|
| 208 |
<div class="nav-right">
|
| 209 |
{% if member %}
|
|
|
|
| 203 |
{% if member %}
|
| 204 |
<a href="/ch/portfolio" class="{{ 'active' if '/portfolio' in request.path else '' }}">My Portfolio</a>
|
| 205 |
{% endif %}
|
| 206 |
+
<a href="/">← Main Dashboard</a>
|
| 207 |
</div>
|
| 208 |
<div class="nav-right">
|
| 209 |
{% if member %}
|
dashboard/templates/index.html
CHANGED
|
@@ -231,6 +231,7 @@
|
|
| 231 |
<button id="suspend-btn" onclick="toggleSuspend()" class="btn-day btn-suspend" disabled>Suspend</button>
|
| 232 |
<button id="mode-btn" onclick="toggleMode()" class="btn-day btn-automatic">Automatic</button>
|
| 233 |
{% if frontend_url %}<a href="{{ frontend_url }}" target="_blank" style="margin-left:auto; padding:4px 14px; background:#5c6bc0; color:#fff; border-radius:20px; font-size:12px; font-weight:bold; text-decoration:none;">Frontend</a>{% endif %}
|
|
|
|
| 234 |
<a href="/fix/" style="{% if not frontend_url %}margin-left:auto; {% endif %}padding:4px 14px; background:#6c757d; color:#fff; border-radius:20px; font-size:12px; font-weight:bold; text-decoration:none;">FIX UI</a>
|
| 235 |
</h1>
|
| 236 |
<div class="container">
|
|
|
|
| 231 |
<button id="suspend-btn" onclick="toggleSuspend()" class="btn-day btn-suspend" disabled>Suspend</button>
|
| 232 |
<button id="mode-btn" onclick="toggleMode()" class="btn-day btn-automatic">Automatic</button>
|
| 233 |
{% if frontend_url %}<a href="{{ frontend_url }}" target="_blank" style="margin-left:auto; padding:4px 14px; background:#5c6bc0; color:#fff; border-radius:20px; font-size:12px; font-weight:bold; text-decoration:none;">Frontend</a>{% endif %}
|
| 234 |
+
<a href="/ch/" target="_blank" style="padding:4px 14px; background:#1a7f37; color:#fff; border-radius:20px; font-size:12px; font-weight:bold; text-decoration:none;">Clearing House</a>
|
| 235 |
<a href="/fix/" style="{% if not frontend_url %}margin-left:auto; {% endif %}padding:4px 14px; background:#6c757d; color:#fff; border-radius:20px; font-size:12px; font-weight:bold; text-decoration:none;">FIX UI</a>
|
| 236 |
</h1>
|
| 237 |
<div class="container">
|