-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: updates index to have the url for leaving (will prob switch to a url to /team in the future)
- Loading branch information
1 parent
7b9002c
commit cb5570a
Showing
4 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% extends "core/base.html" %} | ||
{% load static %} | ||
{% load i18n %} | ||
{% load qr %} | ||
|
||
{% block title %} | ||
{% translate "Team Information" %} | ||
{% endblock %} | ||
|
||
{% block head_end %} | ||
<link rel="stylesheet" href="{% static 'core/team.css' %}"/> | ||
{% endblock %} | ||
|
||
{% block body %} | ||
<div class="team-content"> | ||
{% if request.user.in_team %} | ||
<div class="team-heading"> | ||
{% translate "Team Information" %} | ||
</div> | ||
<p>{% translate "Team Name:" %} {{ request.user.current_team.name }}</p> | ||
<p>{% translate "Team Members:" %} {{ request.user.current_team.members.count }}</p> | ||
<p>{% translate "Current QR Code:" %} {{ request.user.current_team.qr_len }}</p> | ||
<!-- Add more details about the team's progress as needed --> | ||
|
||
{% comment %} Logic Puzzle Hints {% endcomment %} | ||
<div class="logic-hints"> | ||
<h3>{% translate "Logic Puzzle Hints:" %}</h3> | ||
{% for clue in request.user.current_team.logic_puzzle_hints %} | ||
<p>{{ clue }}</p> | ||
{% endfor %} | ||
</div> | ||
{% else %} | ||
<p>{% translate "You are not part of any team." %}</p> | ||
{% endif %} | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters