Move currency out of the storage page in the web UI
This brings the currency page in line with the grail page.
This commit is contained in:
@@ -348,7 +348,7 @@ def storage_currency_counts(item_codes: list[str], stash_name: str) -> dict:
|
|||||||
return currencies
|
return currencies
|
||||||
|
|
||||||
|
|
||||||
@app.route("/storage/<stash_name>/currency")
|
@app.route("/currency/<stash_name>")
|
||||||
def storage_currency(stash_name: str):
|
def storage_currency(stash_name: str):
|
||||||
if stash_name not in DB_FILES:
|
if stash_name not in DB_FILES:
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
<li><a href="/storage/{{stash_name or 'softcore'}}/uniques">Uniques</a></li>
|
<li><a href="/storage/{{stash_name or 'softcore'}}/uniques">Uniques</a></li>
|
||||||
<li><a href="/storage/{{stash_name or 'softcore'}}/sets">Sets</a></li>
|
<li><a href="/storage/{{stash_name or 'softcore'}}/sets">Sets</a></li>
|
||||||
<li><a href="/storage/{{stash_name or 'softcore'}}/misc">Misc</a></li>
|
<li><a href="/storage/{{stash_name or 'softcore'}}/misc">Misc</a></li>
|
||||||
<li><a href="/storage/{{stash_name or 'softcore'}}/currency">Currency</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<form action="/storage/{{stash_name}}/take" method="POST">
|
<form action="/storage/{{stash_name}}/take" method="POST">
|
||||||
|
|||||||
@@ -3,5 +3,6 @@
|
|||||||
<li><a href="/stash/{{stash_name or 'softcore'}}">Stash</a></li>
|
<li><a href="/stash/{{stash_name or 'softcore'}}">Stash</a></li>
|
||||||
<li><a href="/storage/{{stash_name or 'softcore'}}">Storage</a></li>
|
<li><a href="/storage/{{stash_name or 'softcore'}}">Storage</a></li>
|
||||||
<li><a href="/grail/{{stash_name or 'softcore'}}">Grail</a></li>
|
<li><a href="/grail/{{stash_name or 'softcore'}}">Grail</a></li>
|
||||||
|
<li><a href="/currency/{{stash_name or 'softcore'}}">Currency</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user