From a2459745c1923de3e42820d0cfef1622240a747e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l-Kristian=20Hamre?= Date: Mon, 28 Jul 2025 20:15:39 +0200 Subject: [PATCH] Visual improvisations and added link to Yahoo Finance for easier browsing. --- templates/dashboard_base.html | 10 +++++++++- templates/dashboard_view.html | 10 ++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/templates/dashboard_base.html b/templates/dashboard_base.html index 2f0c5f3..c71da46 100644 --- a/templates/dashboard_base.html +++ b/templates/dashboard_base.html @@ -275,10 +275,18 @@ } td.ticker a:hover { - text-decoration: underline; transform: scale(1.05); } + td.financials a { + color: inherit; + text-decoration: none; + transition: color 0.2s; + } + td.financials a:hover { + color: #93c5fd; + } + tr:nth-child(1) td.ticker { color: #d8b4fe; } diff --git a/templates/dashboard_view.html b/templates/dashboard_view.html index d85502b..bf396eb 100644 --- a/templates/dashboard_view.html +++ b/templates/dashboard_view.html @@ -62,9 +62,11 @@ {{ ticker.market_cap | format_mc }} {% if ticker.closing_price %} - ${{ "%.2f"|format(ticker.closing_price) }} + + ${{ "%.2f"|format(ticker.closing_price) }} + {% else %} - N/A + N/A {% endif %} @@ -76,8 +78,8 @@ {% endblock %} \ No newline at end of file