1
0
Fork 0
mirror of https://gitlab.com/niansa/discordlistforbots.git synced 2025-03-06 20:49:22 +01:00
discordlistforbots/views/botregister.csp
2021-01-11 17:00:46 +01:00

31 lines
1.4 KiB
Text

<%c++ auto owner = @@.get<std::string>("owner");%>
<%c++ auto error = @@.get<std::string>("error");%>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/global.css">
<title>Registering a bot - DFB</title>
</head>
<body>
<div class="container">
<form action="register" method="POST">
<p class="title text-center">Registering a bot</p>
<i style="color:red;">{%error%}</i>
<p>Client ID</p><input tyep="number" class="special-input maxwidth" name="app_id" maxlength="19" minlength="17" pattern="^[0-9]+$" required>
<p>Short description</p><input class="special-input maxwidth" name="short_description" maxlength="80" required>
<p>Long description</p><textarea class="special-input maxwidth" name="long_description" style="height:200px;" required></textarea>
<p>Prefix</p><input class="special-input maxwidth" name="prefix" maxlength="6" required>
<p>Permanent support server invite code</p><input class="special-input maxwidth" name="support_server" maxlength="15" minlength="5" required>
<p>Owner</p><input class="special-input maxwidth" value="{%owner%}" autocomplete="off" disabled>
<br><br><br>
<input type="submit" class="special-button" style="margin:0px;" value="Submit">
</form>
</div>
</body>
</html>