Initial version of coldcalling app
This commit is contained in:
29
templates/cold_caller.html
Normal file
29
templates/cold_caller.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Random Student Picker</title>
|
||||
<link rel="stylesheet" href='/static/main.css' />
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
||||
<script src="{{ url_for('static', filename='process_button.js') }}"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>
|
||||
The next student is:
|
||||
</h3>
|
||||
|
||||
<h2 id='studentName' name='studentName'>{{student}}</h2>
|
||||
|
||||
<form method="post" id="todo-form">
|
||||
<button class='rand-button' type="submit">Get random student</button>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<button class='assessment' id="goodButton" value="G">Good</button>
|
||||
<button class='assessment' id="badButton" value="B">Bad</button>
|
||||
<button class='assessment' id="neutralButton" value="M">Neutral</button>
|
||||
<button class='assessment' id="absentButton" value="absent">Absent</button>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
25
templates/group_maker.html
Normal file
25
templates/group_maker.html
Normal file
@@ -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>
|
||||
19
templates/shuffler.html
Normal file
19
templates/shuffler.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Shuffled List</title>
|
||||
<link rel="stylesheet" href='/static/main.css' />
|
||||
</head>
|
||||
<body>
|
||||
<h3>
|
||||
Shuffled List:
|
||||
</h3>
|
||||
|
||||
<ul>
|
||||
{% for member in result %}
|
||||
<li> {{member}} </li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user