diff --git a/WebHostLib/api/generate.py b/WebHostLib/api/generate.py index 4b5ea710..cc760559 100644 --- a/WebHostLib/api/generate.py +++ b/WebHostLib/api/generate.py @@ -52,7 +52,7 @@ def generate_api(): return {"text": f"Generation of seed {gen.id} started successfully.", "detail": gen.id, "encoded": app.url_map.converters["suuid"].to_url(None, gen.id), - "wait_api_url": url_for("wait_seed_api", seed=gen.id, _external=True), + "wait_api_url": url_for("api.wait_seed_api", seed=gen.id, _external=True), "url": url_for("wait_seed", seed=gen.id, _external=True)}, 201 except Exception as e: return {"text": "Uncaught Exception:" + str(e)}, 500 diff --git a/WebHostLib/static/styles/viewSeed.css b/WebHostLib/static/styles/viewSeed.css index a870771f..148725cb 100644 --- a/WebHostLib/static/styles/viewSeed.css +++ b/WebHostLib/static/styles/viewSeed.css @@ -5,16 +5,16 @@ flex-wrap: wrap; } -#view-seed-wrapper table td{ - vertical-align: top; -} - #view-seed{ width: 620px; min-height: 360px; text-align: center; } +#view-seed table td{ + vertical-align: top; +} + #view-seed h3{ margin-bottom: 0.5rem; } diff --git a/WebHostLib/static/styles/waitSeed.css b/WebHostLib/static/styles/waitSeed.css new file mode 100644 index 00000000..85d281b2 --- /dev/null +++ b/WebHostLib/static/styles/waitSeed.css @@ -0,0 +1,15 @@ +#wait-seed-wrapper{ + display: flex; + flex-direction: row; + justify-content: center; + flex-wrap: wrap; + max-width: 620px; + margin-left: auto; + margin-right: auto; +} + +#wait-seed{ + width: 620px; + min-height: 360px; + text-align: center; +} diff --git a/WebHostLib/templates/viewSeed.html b/WebHostLib/templates/viewSeed.html index aa78bdce..a6916bec 100644 --- a/WebHostLib/templates/viewSeed.html +++ b/WebHostLib/templates/viewSeed.html @@ -2,7 +2,7 @@ {% import "macros.html" as macros %} {% block head %} -
Single Player Race Rom: No spoiler or multidata exists, parts of the rom are encrypted and rooms + cannot be created.
{% endif %}