Visual improvisations and added link to Yahoo Finance for easier browsing.

This commit is contained in:
2025-07-28 20:15:39 +02:00
parent e92a508be3
commit a2459745c1
2 changed files with 15 additions and 5 deletions

View File

@@ -275,10 +275,18 @@
} }
td.ticker a:hover { td.ticker a:hover {
text-decoration: underline;
transform: scale(1.05); 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 { tr:nth-child(1) td.ticker {
color: #d8b4fe; color: #d8b4fe;
} }

View File

@@ -62,9 +62,11 @@
<td class="financials">{{ ticker.market_cap | format_mc }}</td> <td class="financials">{{ ticker.market_cap | format_mc }}</td>
<td class="financials"> <td class="financials">
{% if ticker.closing_price %} {% if ticker.closing_price %}
${{ "%.2f"|format(ticker.closing_price) }} <a href="https://finance.yahoo.com/quote/{{ ticker.symbol }}/" target="_blank" title="View on Yahoo Finance">
${{ "%.2f"|format(ticker.closing_price) }}
</a>
{% else %} {% else %}
N/A N/A
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
@@ -76,8 +78,8 @@
</tbody> </tbody>
</table> </table>
<footer> <footer>
<div class="brand-name">RSTAT</div> <div class="brand-name">r/rstat</div>
<div class="brand-subtitle">Reddit Stock Analysis Tool</div> <div class="brand-subtitle">visit us for more.</div>
</footer> </footer>
</div> </div>
{% endblock %} {% endblock %}