06/05 Optimize app: add back buttons for Settings items

This commit is contained in:
2026-06-05 12:56:26 -04:00
parent f8114e7997
commit 8a4eeac781
10 changed files with 31 additions and 5 deletions
+4 -5
View File
@@ -156,14 +156,13 @@ tr.expanded-row > td {
</style> </style>
{% endblock %} {% endblock %}
{% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
{% endblock %}
{% block content %} {% block content %}
<!-- Header --> <!-- Header -->
<div class="log-header"> <div class="log-header">
<div>
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-2" style="font-size:12px;">
<i class="bi bi-arrow-left me-1"></i>Settings
</a>
</div>
<div class="log-meta"> <div class="log-meta">
{% if file_exists %} {% if file_exists %}
<span class="log-meta-chip"><i class="bi bi-hdd"></i>{{ file_size_fmt }}</span> <span class="log-meta-chip"><i class="bi bi-hdd"></i>{{ file_size_fmt }}</span>
+4
View File
@@ -2,6 +2,10 @@
{% block title %}Plaid Bank Sync{% endblock %} {% block title %}Plaid Bank Sync{% endblock %}
{% block page_title %}Plaid Bank Sync{% endblock %} {% block page_title %}Plaid Bank Sync{% endblock %}
{% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
{% endblock %}
{% block content %} {% block content %}
{% if not plaid_configured %} {% if not plaid_configured %}
+1
View File
@@ -3,6 +3,7 @@
{% block page_title %}Schwab Bank Sync{% endblock %} {% block page_title %}Schwab Bank Sync{% endblock %}
{% block topbar_actions %} {% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
{% if connection %} {% if connection %}
<form method="POST" action="{{ url_for('schwab.disconnect') }}" <form method="POST" action="{{ url_for('schwab.disconnect') }}"
onsubmit="return confirm('Disconnect Schwab? Imported transactions are kept.')" class="d-inline"> onsubmit="return confirm('Disconnect Schwab? Imported transactions are kept.')" class="d-inline">
+4
View File
@@ -2,6 +2,10 @@
{% block title %}Audit Log{% endblock %} {% block title %}Audit Log{% endblock %}
{% block page_title %}Audit Log{% endblock %} {% block page_title %}Audit Log{% endblock %}
{% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
{% endblock %}
{% block content %} {% block content %}
<div class="pcard pcard-sm mb-3"> <div class="pcard pcard-sm mb-3">
<div class="d-flex gap-2 align-items-center flex-wrap"> <div class="d-flex gap-2 align-items-center flex-wrap">
+4
View File
@@ -2,6 +2,10 @@
{% block title %}Import Transactions{% endblock %} {% block title %}Import Transactions{% endblock %}
{% block page_title %}Import CSV{% endblock %} {% block page_title %}Import CSV{% endblock %}
{% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
{% endblock %}
{% block content %} {% block content %}
<div class="row g-3"> <div class="row g-3">
<div class="col-12 col-lg-6"> <div class="col-12 col-lg-6">
+4
View File
@@ -2,6 +2,10 @@
{% block title %}Change Password{% endblock %} {% block title %}Change Password{% endblock %}
{% block page_title %}Change Password{% endblock %} {% block page_title %}Change Password{% endblock %}
{% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
{% endblock %}
{% block content %} {% block content %}
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-12 col-md-7 col-lg-5"> <div class="col-12 col-md-7 col-lg-5">
+4
View File
@@ -2,6 +2,10 @@
{% block title %}Profile{% endblock %} {% block title %}Profile{% endblock %}
{% block page_title %}Profile & Preferences{% endblock %} {% block page_title %}Profile & Preferences{% endblock %}
{% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
{% endblock %}
{% block content %} {% block content %}
<div class="row g-3"> <div class="row g-3">
<div class="col-12 col-lg-6"> <div class="col-12 col-lg-6">
+1
View File
@@ -3,6 +3,7 @@
{% block page_title %}Recurring Transactions{% endblock %} {% block page_title %}Recurring Transactions{% endblock %}
{% block topbar_actions %} {% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
<form method="POST" action="{{ url_for('settings.recurring_run') }}" class="d-inline"> <form method="POST" action="{{ url_for('settings.recurring_run') }}" class="d-inline">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;" title="Process all due rules now"> <button type="submit" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;" title="Process all due rules now">
@@ -2,6 +2,10 @@
{% block title %}{{ title }}{% endblock %} {% block title %}{{ title }}{% endblock %}
{% block page_title %}{{ title }}{% endblock %} {% block page_title %}{{ title }}{% endblock %}
{% block topbar_actions %}
<a href="{{ url_for('settings.recurring') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Recurring</a>
{% endblock %}
{% block content %} {% block content %}
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-12 col-md-8 col-lg-6"> <div class="col-12 col-md-8 col-lg-6">
+1
View File
@@ -3,6 +3,7 @@
{% block page_title %}Bank Connections{% endblock %} {% block page_title %}Bank Connections{% endblock %}
{% block topbar_actions %} {% block topbar_actions %}
<a href="{{ url_for('settings.index') }}" class="btn btn-sm btn-outline-secondary me-1" style="font-size:12px;"><i class="bi bi-arrow-left me-1"></i>Settings</a>
<button id="tellerConnectBtn" class="btn btn-sm btn-primary" style="font-size:12px;" <button id="tellerConnectBtn" class="btn btn-sm btn-primary" style="font-size:12px;"
{% if not teller_app_id %}title="TELLER_APP_ID not set in .env" style="opacity:.6;"{% endif %}> {% if not teller_app_id %}title="TELLER_APP_ID not set in .env" style="opacity:.6;"{% endif %}>
<i class="bi bi-bank me-1"></i>Connect a Bank <i class="bi bi-bank me-1"></i>Connect a Bank