mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-09-07 04:58:03 +00:00
Added some api functions, an express server for the API and nunjucks
Added nunjucks templates for frontend pages.
This commit is contained in:
16
templates/registration.njk
Normal file
16
templates/registration.njk
Normal file
@ -0,0 +1,16 @@
|
||||
{% extends "base.njk" %}
|
||||
{% block content %}
|
||||
<div id="jscontainer" style="height: 100%;">
|
||||
<div id="jschild" style="width: 50%;height: 100%;text-align: left;margin: 20px;">
|
||||
<form action="/api/register" method="POST" target="_self">
|
||||
Username: </br><input type="text" name="username" style="min-width: 300px" placeholder="e.g. lain"/></br>
|
||||
Password: </br><input type="password" name="password" style="min-width: 300px"/></br>
|
||||
Request Stream Key: <input type="checkbox" name="streamer" value="true" style="min-heigh: 50px;"> </br>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
<div id="jschild" style="width: 50%;height: 100%;text-align: left;margin: 20px;">
|
||||
{% include "tos.html" %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user