advances of the http server example; built-ins for generating random numbers; built-ins for slicing, trimming and converting strings to integers
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Login page</title>
|
||||
<title>Log-in page</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="/login" method="POST">
|
||||
<input type="text" name="user" placeholder="[Username]" />
|
||||
<input type="text" name="user" placeholder="[Username]" />
|
||||
<input type="password" name="pass" placeholder="[Password]" />
|
||||
<input type="submit" value="Enter" />
|
||||
<input type="submit" value="Log-in" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Sign-up page</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="/signup" method="POST">
|
||||
<input type="text" name="user" placeholder="[Username]" />
|
||||
<input type="password" name="pass" placeholder="[Password]" />
|
||||
<input type="submit" value="Sign-up!" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user