diff --git a/py_app/app/static/style.css b/py_app/app/static/style.css index a734b6d..bcf5a4d 100644 --- a/py_app/app/static/style.css +++ b/py_app/app/static/style.css @@ -392,4 +392,21 @@ body.dark-mode .popup-content { .delete-confirm-btn:hover { background-color: #c82333; +} + +.go-to-dashboard-btn { + margin-left: 10px; + padding: 5px 10px; + font-size: 1em; + background-color: #007bff; + color: #fff; + text-decoration: none; + border-radius: 5px; + border: none; + cursor: pointer; + transition: background-color 0.3s ease; +} + +.go-to-dashboard-btn:hover { + background-color: #0056b3; } \ No newline at end of file diff --git a/py_app/app/templates/base.html b/py_app/app/templates/base.html index b9e9ed9..4d8dd19 100644 --- a/py_app/app/templates/base.html +++ b/py_app/app/templates/base.html @@ -14,10 +14,19 @@ {% if request.endpoint == 'main.dashboard' %} Welcome to Dashboard + {% elif request.endpoint == 'main.settings' %} + Settings + {% elif request.endpoint == 'main.quality' %} + Quality Module + {% elif request.endpoint == 'main.warehouse' %} + Warehouse Module + {% elif request.endpoint == 'main.scan' %} + Scan Module {% endif %}
+ Go to Dashboard {% if 'user' in session %} You are logged in as {{ session['user'] }} Logout