Skip to content

Commit

Permalink
Nuke weighted-options. Set up framework to rebuild it in Jinja.
Browse files Browse the repository at this point in the history
  • Loading branch information
LegendaryLinux committed Dec 28, 2023
1 parent d0d6927 commit 98a125b
Show file tree
Hide file tree
Showing 8 changed files with 435 additions and 1,209 deletions.
7 changes: 6 additions & 1 deletion WebHostLib/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ def weighted_settings():
@app.route("/weighted-options")
@cache.cached()
def weighted_options():
return render_template("weighted-options.html")
return render_template(
"weightedOptions/weightedOptions.html",
worlds=AutoWorldRegister.world_types,
issubclass=issubclass,
Options=Options,
)


# TODO for back compat. remove around 0.4.5
Expand Down
Loading

0 comments on commit 98a125b

Please sign in to comment.