aboutsummaryrefslogtreecommitdiffstats
path: root/templates/main
diff options
context:
space:
mode:
authorGravatar JoeBanks13 <[email protected]>2018-03-21 21:21:28 +0000
committerGravatar JoeBanks13 <[email protected]>2018-03-21 21:21:28 +0000
commitb9de2dfadea298b78bf675462687bc38b08aa5a0 (patch)
tree178bf7feca2b6627f826de6c7446585c2158fd87 /templates/main
parentPushing the footer to the bottom of the page (diff)
Countdown
Diffstat (limited to 'templates/main')
-rw-r--r--templates/main/countdown.html36
-rw-r--r--templates/main/index.html58
-rw-r--r--templates/main/navigation.html6
3 files changed, 47 insertions, 53 deletions
diff --git a/templates/main/countdown.html b/templates/main/countdown.html
index 846883d3..8dd25564 100644
--- a/templates/main/countdown.html
+++ b/templates/main/countdown.html
@@ -2,29 +2,21 @@
{% block title %}Countdown{% endblock %}
{% block og_title %}Countdown{% endblock %}
{% block og_description %}Countdown for Code Jams.{% endblock %}
+{% block beta_error %}{% endblock %}
{% block content %}
-<h1 id="countdown-title" class="uk-heading-primary uk-text-center">Code Jam Countdown</h1>
-<div class="uk-section uk-section-muted">
- <div class="uk-container">
- <div class="uk-column-1 uk-column-1-2@s uk-column-1-4@m">
- <div class="uk-tile uk-padding-small">
- <h1 style="text-align: center">Days</h1>
- <h1 id="days" class="uk-text-center" style="font-size: 200px">--</h1>
- </div>
- <div class="uk-tile uk-padding-small">
- <h1 style="text-align: center">Hours</h1>
- <h1 id="hours" class="uk-text-center" style="font-size: 200px">--</h1>
- </div>
- <div class="uk-tile uk-padding-small">
- <h1 style="text-align: center">Minutes</h1>
- <h1 id="minutes" class="uk-text-center" style="font-size: 200px">--</h1>
- </div>
- <div class="uk-tile uk-padding-small">
- <h1 style="text-align: center">Seconds</h1>
- <h1 id="seconds" class="uk-text-center" style="font-size: 200px">--</h1>
- </div>
- </div>
- </div>
+<div class="uk-section-primary">
+
+
+
+
+<div class="uk-container uk-align-center">
+ <h1 id="countdown-title" class="uk-heading-primary uk-text-center">Code Jam Countdown</h1>
+<div class="uk-text-center">
+ <h1 id="remaining"></h1>
</div>
+</div>
+</div>
+
+
<script src="/static/js/countdown.js"></script>
{% endblock %} \ No newline at end of file
diff --git a/templates/main/index.html b/templates/main/index.html
index 9084f305..7fb49df7 100644
--- a/templates/main/index.html
+++ b/templates/main/index.html
@@ -2,33 +2,41 @@
{% block title %}Home{% endblock %}
{% block og_title %}Home{% endblock %}
{% block content %}
- <div class="uk-section uk-section-primary">
- <div class="uk-container uk-text-center">
- <h1 class="uk-header">
- Python Discord
- </h1>
- <p class="uk-text-lead">
- We're a large, friendly community focused around the Python programming language,
- open to those who wish to learn the language or improve their skills, as well as
- those looking to help others.
- </p>
+<div class="uk-section uk-section-primary">
+ <div class="uk-container uk-text-center">
+ <h1 class="uk-header">
+ Python Discord
+ </h1>
+ <p class="uk-text-lead">
+ We're a large, friendly community focused around the Python programming language,
+ open to those who wish to learn the language or improve their skills, as well as
+ those looking to help others.
+ </p>
+ <p>
+ We organise regular community events and have a dedicated staff of talented Python developers
+ available to assist around the clock. Whether you're looking to learn the language or working
+ on a complex project, we've got someone who can help you if you get stuck.
+ </p>
+ <div class="uk-container uk-align-center">
+ <a href="/invite" class="uk-button uk-button-default uk-button-large ">
+ Join us on &nbsp;<i class="uk-icon fab fa-discord"></i>
+ </a>
+ </div>
+ <hr class="uk-divider-icon"/>
+ <div class="uk-container uk-container-small uk-text-meta">
<p>
- We organise regular community events and have a dedicated staff of talented Python developers
- available to assist around the clock. Whether you're looking to learn the language or working
- on a complex project, we've got someone who can help you if you get stuck.
+ Please note: this site is under construction. What you see now may be vastly different
+ from the final project state. Feel free to chat to us on Discord if you're curious!
</p>
- <div class="uk-container uk-align-center">
- <a href="/invite" class="uk-button uk-button-default uk-button-large ">
- Join us on &nbsp;<i class="uk-icon fab fa-discord"></i>
- </a>
- </div>
- <hr class="uk-divider-icon" />
- <div class="uk-container uk-container-small uk-text-meta">
- <p>
- Please note: this site is under construction. What you see now may be vastly different
- from the final project state. Feel free to chat to us on Discord if you're curious!
- </p>
- </div>
</div>
+
</div>
+</div>
+ <div class="uk-align-center uk-text-center">
+ <a href="/info/jams"><h1 id="countdown-title" class="uk-text-center">Code Jam Countdown</h1></a>
+ <div class="uk-text-center">
+ <h1 id="remaining"></h1>
+ </div>
+ </div>
+<script src='/static/js/countdown.js'></script>
{% endblock %} \ No newline at end of file
diff --git a/templates/main/navigation.html b/templates/main/navigation.html
index 385ad00d..cabd0d87 100644
--- a/templates/main/navigation.html
+++ b/templates/main/navigation.html
@@ -29,12 +29,6 @@
<li class="uk-nav-item uk-hidden@m"><a href="/"><i class="uk-icon fas fa-home"></i> &nbsp;Home</a></li>
<li class="uk-nav-item uk-hidden@m"><a href="/invite"><i class="uk-icon fab fa-discord"></i> &nbsp;Discord</a></li>
<li class="uk-nav-divider uk-hidden@m"></li>
-
- {% if current_page.startswith("countdown") %}
- <li class="uk-active"><a href="/countdown">Code Jam Countdown</a></li>
- {% else %}
- <li><a href="/countdown">Code Jam Countdown</a></li>
- {% endif %}
{% if current_page.startswith("info") %}
<li class="uk-nav-header uk-active"><a href="/info">Information</a></li>