From 778652aca8a5fa489ac5de631ecb0d1871d28d4c Mon Sep 17 00:00:00 2001 From: Date: Sun, 22 Oct 2017 01:10:42 +0200 Subject: [PATCH] Fixed javascript --- static/script.js | 19 ------------------- templates/index.html | 8 ++++---- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/static/script.js b/static/script.js index 3dc64ce..e69de29 100644 --- a/static/script.js +++ b/static/script.js @@ -1,19 +0,0 @@ -function logout() { - window.location.href = "/logout"; -} - -function addme() { - -} - -function removeme() { - -} - -function confirm() { - -} - -function bail() { - -} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 96ae21b..73c0302 100644 --- a/templates/index.html +++ b/templates/index.html @@ -36,7 +36,7 @@ {% if cook.confirmed == "no" %}

If nobody volunteers,

will cook.

-
VOLUNTEER
+
VOLUNTEER
{% else %} {{ cook.name }} @@ -54,12 +54,12 @@ {% if not current_user.name in eaters %}
-
+
Add me
{% else %}
-
+
Remove me
{% endif %} @@ -69,7 +69,7 @@
{{current_user.name}} -
LOGOUT
+
LOGOUT