]> code.communitydata.science - coldcallbot-discord.git/blobdiff - flask_app/templates/group_maker.html
added flask app from jeremy
[coldcallbot-discord.git] / flask_app / templates / group_maker.html
diff --git a/flask_app/templates/group_maker.html b/flask_app/templates/group_maker.html
new file mode 100644 (file)
index 0000000..b065016
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <title>Random Student Picker</title>
+    <link rel="stylesheet" href='/static/main.css' />
+</head>
+<body>
+<h3>
+  Groups:
+</h3>
+
+{% for group in result %}
+<h2>Group {{group[0]}}</h2>
+
+<ul>
+  {% for member in group[1] %}
+  <li> {{member}} </li>
+  {% endfor %}
+</ul>
+
+{% endfor %}
+
+
+</body>
+</html>

Community Data Science Collective || Want to submit a patch?