diff --git a/d2warehouse/app/main.py b/d2warehouse/app/main.py index f717bca..93a1d97 100644 --- a/d2warehouse/app/main.py +++ b/d2warehouse/app/main.py @@ -46,8 +46,8 @@ def list_stash(stash_name: str): return render_template("list_stash.html", stash_name=stash_name, stash=stash) -@app.route("/stash//remove", methods=["POST"]) -def stash_remove_items(stash_name: str): +@app.route("/stash//store", methods=["POST"]) +def stash_store_items(stash_name: str): if stash_name not in STASH_FILES: abort(404) stash_path = save_path() / STASH_FILES[stash_name] diff --git a/d2warehouse/app/static/style.css b/d2warehouse/app/static/style.css index 619c2ad..1eeaeaf 100644 --- a/d2warehouse/app/static/style.css +++ b/d2warehouse/app/static/style.css @@ -28,34 +28,3 @@ body { .color-runeword { color: rgb(199, 179, 119); } - - - "FontColorWhite": { "r": 240, "g": 240, "b": 240, "a": 255 }, - "FontColorVeryLightGray": { "r": 240, "g": 240, "b": 240, "a": 255 }, - "FontColorBlack": { "r": 0, "g": 0, "b": 0, "a": 255 }, - "FontColorRed": { "r": 252, "g": 70, "b": 70, "a": 255 }, - "FontColorGreen": { "r": 0, "g": 252, "b": 0, "a": 255 }, - "FontColorBlue": { "r": 110, "g": 110, "b": 255, "a": 255 }, - "FontColorLightGold": { "r": 255, "g": 246, "b": 227, "a": 255 }, // usage: button text, setting text labels - "FontColorGoldYellow" : { "r": 199, "g": 179, "b": 119, "a": 255 }, //Usage example: panel and option subtitles - "FontColorCurrencyGold" : {"r": 209, "g": 195, "b": 120, "a": 255}, // Usage Example: Gold text - "FontColorGold": "$FontColorGoldYellow", - "FontColorDarkGold": { "r": 120, "g": 98, "b": 47, "a": 255 }, - "FontColorBeige" : { "r": 204, "g": 195, "b": 176, "a": 255 }, - "FontColorGray": { "r": 99, "g": 99, "b": 99, "a": 255 }, - "FontColorGrey": "$FontColorGray", - "FontColorOrange": { "r": 255, "g": 168, "b": 0, "a": 255 }, - "FontColorDarkGreen": { "r": 0, "g": 128, "b": 0, "a": 255 }, - "FontColorYellow": { "r": 255, "g": 255, "b": 100, "a": 255 }, - "FontColorLightPurple": { "r": 192, "g": 128, "b": 242, "a": 255 }, - "FontColorLightTeal": { "r": 124, "g": 221, "b": 204, "a": 255 }, - "FontColorLightRed": { "r": 255, "g": 148, "b": 148, "a": 255 }, - "FontColorLightYellow": { "r": 255, "g": 235, "b": 164, "a": 255 }, - "FontColorLightBlue": { "r": 175, "g": 183, "b": 255, "a": 255 }, - "FontColorLightGray": { "r": 148, "g": 148, "b": 148, "a": 255 }, - "FontColorDarkGrayBlue": { "r": 125, "g": 141, "b": 144, "a": 255 }, - "FontColorDarkGrayGold" : { "r": 173, "g": 168, "b": 148, "a": 255 }, // Usage example: attribute points to spend - "FontColorTransparent": { "r": 0, "g": 0, "b": 0, "a": 0 }, - "FontColorPartyOrange": { "r": 196, "g": 129, "b": 0, "a": 255 }, - "FontColorPartyGreen": {"r": 79, "g": 194, "b": 56, "a": 255 }, - diff --git a/d2warehouse/app/templates/list_stash.html b/d2warehouse/app/templates/list_stash.html index 5ef8f1c..5eec266 100644 --- a/d2warehouse/app/templates/list_stash.html +++ b/d2warehouse/app/templates/list_stash.html @@ -6,7 +6,7 @@ -
+ {% for tab in stash.tabs %}
{% set tabloop = loop %}