Changeset 4983:c5bd00aa0b49
- Timestamp:
- 06/16/07 22:38:09 (6 years ago)
- Branch:
- default
- Children:
- 4984:a87820fbdad7, 4986:0feb1a4d6910
- File:
-
- 1 edited
-
sage/server/notebook/twist.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sage/server/notebook/twist.py
r4982 r4983 650 650 """ 651 651 else: 652 global notebook 653 url_prefix = "https" if secure else "http" 652 654 s = """<html><h1>This is the registration page.</h1> 653 <form method="POST" action=" https://localhost:8000/register">655 <form method="POST" action="%s://%s:%s/register" 654 656 Username: <input type="text" name="username" size="15" /> Password: 655 657 <input type="password" name="password" size="15" /><br /> Email 656 658 Address: <input type="text" name="email" size="15" /><br /> <div align="center"> <p><input type="submit" value="Register" /></p> </div> </form><br /><br /> 657 </html>""" 659 </html>""" % (url_prefix, notebook.address, notebook.port) 658 660 return http.Response(stream=s) 659 661
Note: See TracChangeset
for help on using the changeset viewer.
