]> git.cworth.org Git - empires-server/commit
Convert rendering of login.html to use a nunjucks template
authorCarl Worth <cworth@cworth.org>
Sat, 23 May 2020 02:29:33 +0000 (19:29 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 23 May 2020 12:49:28 +0000 (05:49 -0700)
commitd9ad319ff41cae1c0a9d2a771941be25c1208e3d
tree5db7fb0cfadf088f07cddf80841cd538643a7999
parent080abafd2319b25e6e3120ce93c152e7c3f3e1e8
Convert rendering of login.html to use a nunjucks template

This new base.html template will allow us to avoid duplicating a bunch
of boilerplate as we start adding additional HTML pages.

Also, we pull the undisplay, add_message, lmno_login, and
lmno_login_loaded functions in instead of including the static
JavaScript file from /lmno.js.

This makes things much more independent here, (rather than relying on
JavaScript functions defined in a script file that is maintained in a
separate git repository: lmno.games).
lmno.js
login.html [deleted file]
templates/base.html [new file with mode: 0644]
templates/login.html [new file with mode: 0644]