Creating Repo
This commit is contained in:
commit
3ae7d17064
9 changed files with 57 additions and 0 deletions
22
AzerothcoreAccountCreation/manage.py
Executable file
22
AzerothcoreAccountCreation/manage.py
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env python
|
||||
"""Django's command-line utility for administrative tasks."""
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'AzerothcoreAccountCreation.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
raise ImportError(
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
"available on your PYTHONPATH environment variable? Did you "
|
||||
"forget to activate a virtual environment?"
|
||||
) from exc
|
||||
execute_from_command_line(sys.argv)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
0
README.md
Normal file
0
README.md
Normal file
7
config.json
Normal file
7
config.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"USERNAME" : "acore",
|
||||
"PASSWORD" : "password",
|
||||
"SERVER_IP" : "127.0.01",
|
||||
"MYSQL_PORT" : 3306
|
||||
|
||||
}
|
||||
1
main.py
Normal file
1
main.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
import flask
|
||||
0
scripts/createAccount.py
Normal file
0
scripts/createAccount.py
Normal file
0
scripts/resetPassword.py
Normal file
0
scripts/resetPassword.py
Normal file
0
styles/style.css
Normal file
0
styles/style.css
Normal file
27
templates/accountcreation.html
Normal file
27
templates/accountcreation.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Azerothcore Account Creator</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Account Creation</h1>
|
||||
<form>
|
||||
<label for="accountName">Account Name:</label><br>
|
||||
<input type="text" id="accountName" maxlength="20"><br>
|
||||
<label for="email">Email Address:</label><br>
|
||||
<input type="email" id="email"><br>
|
||||
<label for="passwd1">Password:</label><br>
|
||||
<input type="password" id="passwd1"><br>
|
||||
<label for="passwd2">Re-enter Password:</label><br>
|
||||
<input type="password" id="passwd2"><br><br>
|
||||
<select name="expansion" id="exp">
|
||||
<option value="2">Wrath of the Lich King</option>
|
||||
<option value="1">The Burning Crusade</option>
|
||||
<option value="0">World of Warcraft (Classic)</option>
|
||||
</select>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
0
templates/resetpassword.html
Normal file
0
templates/resetpassword.html
Normal file
Loading…
Reference in a new issue