Skip to content
Snippets Groups Projects
Commit be083479 authored by Ivan Procaccini's avatar Ivan Procaccini
Browse files

Feat: Add student page to view projects

parent 0850d7b9
No related branches found
No related tags found
No related merge requests found
{% extends "components/layout.html" %}
{% block content %}
<div class="w3-content">
<div class="w3-container">
<h1 class="w3-center w3-text-blue">All project proposals</h1>
<section class="w3-section">
<ul class="w3-ul">
{% for project in projects %}
<li class="w3-display-container">
{{ project.title }}
<div class="w3-display-right">
<a href="" class="w3-button w3-hover-blue">View</a>
<a href=""
class="w3-button w3-hover-blue">Shortlist</a>
</div>
</li>
{% endfor %}
</ul>
</section>
</div>
</div>
{% endblock %}
\ No newline at end of file
...@@ -17,7 +17,7 @@ def projects(): ...@@ -17,7 +17,7 @@ def projects():
.filter(Project.deleted.is_(None)) .filter(Project.deleted.is_(None))
.all() .all()
) )
return render_template("pages/projects.html", projects=active_projects) return render_template("pages/staff/projects.html", projects=active_projects)
@bp.route("/projects/create", methods=["GET", "POST"]) @bp.route("/projects/create", methods=["GET", "POST"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment