refactor: Epistemic shift from MUD to Spatial Research Environment
This commit is contained in:
1 parent
34bd27b1b4
commit
b5ace2e6f9
72 files changed
+10
-10
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# HTML templates
|
||||
|
||||
Templates are HTML files that (usually) have special `{{ ... }}` template
|
||||
markers in them to allow Evennia/Django to insert dynamic content in a web
|
||||
page. An example is listing how many users are currently online in the game.
|
||||
|
||||
Templates are referenced by _views_ - Python functions or callable classes that
|
||||
prepare the data needed by the template and 'renders' them into a finished
|
||||
HTML page to return to the user.
|
||||
|
||||
You can replace Evennia's default templates by overriding them in this folder.
|
||||
The originals are in `evennia/web/templates/` - just copy the template into the
|
||||
corresponding location here (so the website's `index.html` should be copied to
|
||||
`website/index.html` where it can be modified). Reload the server to see your changes.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Templates for the Evennia API
|
||||
|
||||
Override templates here.
|
||||
@@ -0,0 +1,4 @@
|
||||
Replace Evennia's webclient django template with your own here.
|
||||
|
||||
You can find the original files in `evennia/web/templates/webclient/`. Just copy
|
||||
the original here and modify - after a reload the new template will be used.
|
||||
@@ -0,0 +1,5 @@
|
||||
You can replace the django templates (html files) for the website
|
||||
here.
|
||||
|
||||
You can find the original files under `evennia/web/templates/website/`. Just
|
||||
copy a template here and modify to have it override the default.
|
||||
@@ -0,0 +1,3 @@
|
||||
Flatpages require a default.html template, which can be overwritten by placing it in this folder.
|
||||
|
||||
You can find the original files in `evennia/web/website/templates/website/flatpages/`
|
||||
@@ -0,0 +1,3 @@
|
||||
The templates involving login/logout can be overwritten here.
|
||||
|
||||
You can find the original files in `evennia/web/website/templates/website/registration/`
|
||||
Reference in new issue
Block a user