diff --git a/portal/apps/main/templates/main/about.html b/portal/apps/main/templates/main/about.html index 6a3be02..e9f9c29 100644 --- a/portal/apps/main/templates/main/about.html +++ b/portal/apps/main/templates/main/about.html @@ -3,6 +3,8 @@ {% block title %}HackTJ Portal: About{% endblock %} {% block content %} -

About

-

HackTJ Portal

+

About the HackTJ Portal

+

The HackTJ Portal is a web application that allows particpates of HackTJ to upload their projects, and for judges to evaluate project more effectively. It is built using Django, a high-level Python web framework, and Bootstrap, a popular front-end framework.

+

Features

+

Currently Portal has two main features: project submission and judging. Students can submit their projects to Portal and judges can easily access and evaluate them.

{% endblock %} diff --git a/portal/apps/main/templates/main/index.html b/portal/apps/main/templates/main/index.html index aa37354..7e26675 100644 --- a/portal/apps/main/templates/main/index.html +++ b/portal/apps/main/templates/main/index.html @@ -1,3 +1,19 @@ {% extends "base.html" %} {% block title %}HackTJ Portal{% endblock %} + +{% block content %} + {% if request.user.is_authenticated %} +
+

Welcome to the HackTJ Portal {{ request.user.username }}!

+
+ {% else %} +
+

In order to use the HackTJ Portal, you must be logged in first.

+ + + Log In With Google + +
+ {% endif %} +{% endblock %} \ No newline at end of file diff --git a/portal/templates/base.html b/portal/templates/base.html index 9f3e91e..6630351 100644 --- a/portal/templates/base.html +++ b/portal/templates/base.html @@ -24,4 +24,9 @@ {% block script %}{% endblock %} + diff --git a/pyproject.toml b/pyproject.toml index 6f4e5f6..d7c17bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "portal" version = "0.1.0" description = "" -authors = ["Krishnan Shankar "] +authors = ["Krishnan Shankar ", "Sami Elsayed "] readme = "README.md" [tool.poetry.dependencies]