aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGravatar momothereal <[email protected]>2018-06-20 11:09:46 -0400
committerGravatar momothereal <[email protected]>2018-06-20 11:09:46 -0400
commitdc2a9aeb1c55fef3a7f4ab656301f36f665a1e10 (patch)
tree278291ac2cc8522ce49afed03bdfd2e3dd7f9830 /templates
parentFix teams not being restricted to their jam, and allow users to be in two tea... (diff)
Start work on individual team view
Diffstat (limited to 'templates')
-rw-r--r--templates/main/jams/team_view.html7
-rw-r--r--templates/main/jams/teams_list.html11
2 files changed, 16 insertions, 2 deletions
diff --git a/templates/main/jams/team_view.html b/templates/main/jams/team_view.html
new file mode 100644
index 00000000..b7387a6a
--- /dev/null
+++ b/templates/main/jams/team_view.html
@@ -0,0 +1,7 @@
+{% extends "main/base.html" %}
+{% block title %}Team {{ team.name }}{% endblock %}
+{% block og_title %}Team {{ team.name }}{% endblock %}
+
+{% block content %}
+
+{% endblock %} \ No newline at end of file
diff --git a/templates/main/jams/teams_list.html b/templates/main/jams/teams_list.html
index fa4e1c8e..3f499feb 100644
--- a/templates/main/jams/teams_list.html
+++ b/templates/main/jams/teams_list.html
@@ -8,12 +8,19 @@
<h1 class="uk-header uk-article-title uk-heading-divider">
Code Jams: My Teams
</h1>
- <br>
-
{% if teams %}
{% for team in teams %}
+ <p></p>
<div>
<h3>Code Jam #{{ team.jam.number }}: Team <strong>{{ team.name }}</strong></h3>
+ <p>
+ <a href="{{ url_for('main.jams.team_view', team_id=team.id) }}" class="uk-button uk-button-primary">
+ <i class="uk-icon fa-fw far fa-eye"></i> &nbsp;View
+ </a>
+ <a href="#" target="_blank" class="uk-button uk-button-default">
+ <i class="uk-icon fa-fw fab fa-gitlab"></i>
+ </a>
+ </p>
<strong>Team Members</strong>
<ul>
{% for member in team.members %}