mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-04-22 16:41:01 +00:00
Filled out API for user management Proper escaping of user input for SQL queries (stream keys aren't user input) Filled out frontend with profile management, vods, etc. I don't remember there's probably more, fuck.
17 lines
837 B
Plaintext
17 lines
837 B
Plaintext
{% 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="responseFrame">
|
|
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>
|
|
Confirm: </br><input type="password" name="confirm" style="min-width: 300px"/></br>
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
<iframe name="responseFrame" border="0" frameborder="0" style="display: inline;"></iframe>
|
|
</div>
|
|
<div id="jschild" style="width: 50%;height: 100%;text-align: left;margin: 20px;">
|
|
{% include "tos.html" %}
|
|
</div>
|
|
</div>
|
|
{% endblock %} |