diff --git a/d2warehouse/app/main.py b/d2warehouse/app/main.py index f9739e8..e90584f 100644 --- a/d2warehouse/app/main.py +++ b/d2warehouse/app/main.py @@ -271,6 +271,7 @@ def list_storage_category(stash_name: str, category: str): "list_storage.html", stash_name=stash_name, storage_items=items, + category=category, storage_count=lambda x: storage_count(x, stash_name), ) diff --git a/d2warehouse/app/static/style.css b/d2warehouse/app/static/style.css index 1f6e000..3a4c3e9 100644 --- a/d2warehouse/app/static/style.css +++ b/d2warehouse/app/static/style.css @@ -5,6 +5,25 @@ body { color: rgb(240, 240, 240); } +nav ul { + list-style: none; + margin: 0; + padding: 0; + display: flex; + background-color: #444; +} + +nav a { + display: block; + padding: 1rem 1.5rem; + text-decoration: none; + color: rgb(240, 240, 240); +} + +nav a:hover { + background-color: #333; +} + .stash-tab { display: grid; grid-template-columns: repeat(5, 1fr); diff --git a/d2warehouse/app/templates/currency.html b/d2warehouse/app/templates/currency.html index fe9245e..44bc686 100644 --- a/d2warehouse/app/templates/currency.html +++ b/d2warehouse/app/templates/currency.html @@ -2,10 +2,19 @@
-