-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradio.html
62 lines (43 loc) · 2.29 KB
/
radio.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html>
<head>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css')}}">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
<title>{{ title }}</title>
</head>
<body>
<form action="/displayuser" class = "main">
<p class="sign" align="center">{{ title }}</p>
{% for member in members: %}
<input type="radio" name="patients" value="{{ member }}" /> {{ member }} <br>
{% endfor %}
<p> </p>
<input class="submit" type="submit" align="center" value="Display User">
</form>
<form action="/suspend" class = "main">
<p class="sign" align="center">Select if you want to suspend a user's account!</p>
{% for member in members: %}
<input type="radio" name="suspend_user" value="{{ member }}" /> {{ member }} <br>
{% endfor %}
<p> </p>
<input class="submit" type="submit" align="center" value="Suspend a user?">
</form>
<form action="/makeadmin" class = "main">
<p class="sign" align="center">Select if you want to assign administrator privileges to a user</p>
{% for member in members: %}
<input type="radio" name="make_user_admin" value="{{ member }}" /> {{ member }} <br>
{% endfor %}
<p> </p>
<input class="submit" type="submit" align="center" value="Make admin!">
</form>
<form action="/revokeadmin" class = "main">
<p class="sign" align="center">Select if you want to revoke administrator privileges from a user</p>
{% for member in members: %}
<input type="radio" name="revoke_user_admin" value="{{ member }}" /> {{ member }} <br>
{% endfor %}
<p> </p>
<input class="submit" type="submit" align="center" value="Revoke admin privileges!">
</form>
</body>
</html>