rename /remove to /store and remove junk from css
This commit is contained in:
@@ -46,8 +46,8 @@ def list_stash(stash_name: str):
|
|||||||
return render_template("list_stash.html", stash_name=stash_name, stash=stash)
|
return render_template("list_stash.html", stash_name=stash_name, stash=stash)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/stash/<stash_name>/remove", methods=["POST"])
|
@app.route("/stash/<stash_name>/store", methods=["POST"])
|
||||||
def stash_remove_items(stash_name: str):
|
def stash_store_items(stash_name: str):
|
||||||
if stash_name not in STASH_FILES:
|
if stash_name not in STASH_FILES:
|
||||||
abort(404)
|
abort(404)
|
||||||
stash_path = save_path() / STASH_FILES[stash_name]
|
stash_path = save_path() / STASH_FILES[stash_name]
|
||||||
|
|||||||
@@ -28,34 +28,3 @@ body {
|
|||||||
.color-runeword {
|
.color-runeword {
|
||||||
color: rgb(199, 179, 119);
|
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 },
|
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<link rel="stylesheet" href="/static/style.css" />
|
<link rel="stylesheet" href="/static/style.css" />
|
||||||
<head>
|
<head>
|
||||||
<body>
|
<body>
|
||||||
<form action="/stash/{{stash_name}}/remove" method="POST">
|
<form action="/stash/{{stash_name}}/store" method="POST">
|
||||||
{% for tab in stash.tabs %}
|
{% for tab in stash.tabs %}
|
||||||
<div>
|
<div>
|
||||||
{% set tabloop = loop %}
|
{% set tabloop = loop %}
|
||||||
|
|||||||
Reference in New Issue
Block a user