diff --git a/app/main.py b/app/main.py index d27cebc..f2a237a 100644 --- a/app/main.py +++ b/app/main.py @@ -19,3 +19,9 @@ def index(): def dashboard(): """Dashboard Page""" return render_template('main/dashboard.jinja2') + + +@main_blueprint.route('/profile') +def profile(): + """Profile Page""" + return render_template('main/profile.jinja2') diff --git a/app/templates/base.jinja2 b/app/templates/base.jinja2 index 1c214b8..fa5570e 100644 --- a/app/templates/base.jinja2 +++ b/app/templates/base.jinja2 @@ -38,7 +38,10 @@ @@ -49,7 +52,7 @@ diff --git a/app/templates/main/dashboard.jinja2 b/app/templates/main/dashboard.jinja2 index 84a04cd..d18c0ea 100644 --- a/app/templates/main/dashboard.jinja2 +++ b/app/templates/main/dashboard.jinja2 @@ -4,7 +4,7 @@ {% block content_before %} -
+

Dashboard

@@ -14,20 +14,10 @@ {% block content %} {# Profile Card #} -
+
-
-
- Profile -
- -
+

Profile


-

First name:
Bully @@ -40,29 +30,29 @@ netID:
bb123

+
+
{# TODO: user type check #} {# Submissions Card #} {% if true %} -
+
-
-
- Submissions -
- -
+

Submissions


-

You don't have any submissions!
Create one now?

+
+
{% endif %} diff --git a/app/templates/main/profile.jinja2 b/app/templates/main/profile.jinja2 new file mode 100644 index 0000000..2b92dfe --- /dev/null +++ b/app/templates/main/profile.jinja2 @@ -0,0 +1,41 @@ +{% extends 'base.jinja2' %} + +{% block title %}User Profile{% endblock %} + +{% block content %} + + {# Profile Card #} +
+
+
+ +
+ + {# user name / classification #} +
+ Bully Bulldog +
+
+ Student +
+
+ + {# TODO: dynamic data #} + {# user data #} +

+ Email:
+ bb123@msstate.edu +

+ Phone:
+ 662-325-5555 +

+
+ + {# edit profile button #} + +
+
+ +{% endblock %}