diff --git a/app.py b/app.py index 2fcd500..fa39a26 100644 --- a/app.py +++ b/app.py @@ -46,6 +46,7 @@ def success(): def view_users(): all_users = User.query.all() + html_output = "

Registered Accounts

" html_output += "" @@ -80,5 +81,9 @@ def signin(): def signup(): return render_template('signup.html') +@app.route('/all_users') +def all_users(): + return render_template('all_users.html') + if __name__ == '__main__': app.run(debug=True) diff --git a/instance/accounts.db b/instance/accounts.db new file mode 100644 index 0000000..18a4dfd Binary files /dev/null and b/instance/accounts.db differ diff --git a/templates/all_users.html b/templates/all_users.html new file mode 100644 index 0000000..ce3c86d --- /dev/null +++ b/templates/all_users.html @@ -0,0 +1,5 @@ +{% extends 'base.html' %} + +{% block content %} + +{% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 6de1853..e3f45c9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,6 +11,7 @@
  • Home
  • Bivariate Data
  • About
  • +
  • all_users
  • Sign Up
  • Sign In
  • diff --git a/templates/index.html b/templates/index.html index a05a401..a3bb511 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,6 +5,8 @@

    homepage for math website wow

    + + {% endblock %} \ No newline at end of file
    IDUsernameEmail