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

Feat: Add link to shortlistings page in top-bar

parent 42d44a66
No related branches found
No related tags found
No related merge requests found
<!--Top bar--> <!--Top bar-->
<div class="w3-top"> <div class="w3-top">
{% set theme_colour = "teal" if current_user.role == "staff" else "blue" %}
<div class="w3-bar w3-{{ theme_colour }} w3-large"> <div class="w3-bar w3-{{ theme_colour }} w3-large">
<div class="w3-bar-item home-link"> <div class="w3-bar-item home-link">
<h4><strong> <a href="{{ url_for('auth.login') }}">Project Allocator</a></strong></h4> <h4><strong> <a href="{{ url_for('auth.login') }}">Project Allocator</a></strong></h4>
</div> </div>
<div class="w3-bar-item">
<a class="w3-btn w3-button w3-hover-none w3-hover-text-white"
title="Shortlisted Projects"
href="{{ url_for(current_user.role ~ '.projects_ranking') }}">
Shortlisted
</a>
</div>
<div class="w3-right"> <div class="w3-right">
<div class="w3-dropdown-hover w3-bar-item w3-{{ theme_colour }}"> <div class="w3-dropdown-hover w3-bar-item w3-{{ theme_colour }}">
<button class="w3-btn w3-hover-{{ theme_colour }} w3-text-light-gray"> <button class="w3-btn w3-hover-{{ theme_colour }} w3-text-light-gray">
......
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