Added subpages to app.py
This commit is contained in:
parent
159b0401ef
commit
56d12cd74b
1 changed files with 44 additions and 0 deletions
|
@ -23,6 +23,50 @@ def scoreboard():
|
||||||
@app.route('/problems')
|
@app.route('/problems')
|
||||||
def problems():
|
def problems():
|
||||||
return "EasyCTF Problems"
|
return "EasyCTF Problems"
|
||||||
|
#Account Page
|
||||||
|
@app.route('/account')
|
||||||
|
def account():
|
||||||
|
return "EasyCTF Account"
|
||||||
|
#Programming Page
|
||||||
|
@app.route('/programming')
|
||||||
|
def programming():
|
||||||
|
return "EasyCTF Programming"
|
||||||
|
#Chat Page
|
||||||
|
@app.route('/chat')
|
||||||
|
def chat():
|
||||||
|
return "EasyCTF Chat"
|
||||||
|
#About Page
|
||||||
|
@app.route('/about')
|
||||||
|
def about():
|
||||||
|
return "EasyCTF About"
|
||||||
|
#Forgot Password Page
|
||||||
|
@app.route('/forgot_password')
|
||||||
|
def forgot_password():
|
||||||
|
return "EasyCTF Forgot Password"
|
||||||
|
#Logout Page
|
||||||
|
@app.route('/logout')
|
||||||
|
def logout():
|
||||||
|
return "EasyCTF Logout"
|
||||||
|
#Rules Page
|
||||||
|
@app.route('/rules')
|
||||||
|
def rules():
|
||||||
|
return "EasyCTF Rules"
|
||||||
|
#Team Page
|
||||||
|
@app.route('/team')
|
||||||
|
def team():
|
||||||
|
return "EasyCTF Team"
|
||||||
|
#Shell Page
|
||||||
|
@app.route('/shell')
|
||||||
|
def shell():
|
||||||
|
return "EasyCTF Shell"
|
||||||
|
#Updates Page
|
||||||
|
@app.route('/updates')
|
||||||
|
def updates():
|
||||||
|
return "EasyCTF Updates"
|
||||||
|
#Reset Password Page
|
||||||
|
@app.route('/reset_password')
|
||||||
|
def reset_password():
|
||||||
|
return "EasyCTF Reset"
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app.debug = "--debug" in sys.argv
|
app.debug = "--debug" in sys.argv
|
||||||
|
|
Loading…
Reference in a new issue