| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #!/usr/bin/env python3
- from flask import render_template, url_for
- from app import app
- @app.route("/")
- @app.route("/index")
- def index():
- usr = { "username":"clementine", "content" : "index" }
- return render_template( usr["content"] + '.html', title='home', user=usr)
- @app.route("/manage_card")
- def manage_card():
- usr = { "username":"clementine" }
- return render_template( 'manage_card.html', title='home', user=usr)
- @app.route("/manage_user")
- def manage_user():
- usr = { "username":"clementine" }
- return render_template( 'manage_user.html', title='home', user=usr)
- @app.route("/reissue_card")
- def reissue_card():
- usr = { "username":"clementine" }
- return render_template( 'reissue_card.html', title='home', user=usr)
- @app.route("/recycle_card")
- def recycle_card():
- usr = { "username":"clementine" }
- return render_template( 'recycle_card.html', title='home', user=usr)
- @app.route("/add_card_block")
- def add_card_block():
- usr = { "username":"clementine" }
- return render_template( 'add_card_block.html', title='home', user=usr)
- @app.route("/process_pending_card")
- def process_pending_card():
- usr = { "username":"clementine" }
- return render_template( 'process_pending_card.html', title='home', user=usr)
- @app.route("/search")
- def search():
- usr = { "username":"clementine" }
- return render_template( 'search.html', title='home', user=usr)
- @app.route("/help")
- def help():
- usr = { "username":"clementine" }
- return render_template( 'help.html', title='home', user=usr)
|