2018-06-21 15:50:01 -04:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title> CMS Members </title>
|
|
|
|
<style>
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
td, th{
|
|
|
|
border: 1px solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr:nth-child(even) {
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr[onHold=Yes] {
|
|
|
|
background-color: #f66;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2018-08-13 16:27:15 -04:00
|
|
|
<form>
|
|
|
|
<input type="text" name="term" />
|
|
|
|
<button>Search</button>
|
|
|
|
</form>
|
|
|
|
{% if headers is not none %}
|
2018-06-21 15:50:01 -04:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
{% for header in headers %}
|
|
|
|
<th> {{ header }} </th>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
{% for member in members %}
|
|
|
|
<tr onHold ="{{ member['Account on Hold'] }}">
|
|
|
|
{% for header in headers %}
|
|
|
|
<td> {{ member[header] }} </td>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</table>
|
2018-08-13 16:27:15 -04:00
|
|
|
{% endif %}
|
|
|
|
<span class="error">{{ error }}</span>
|
2018-06-21 15:50:01 -04:00
|
|
|
</body>
|
|
|
|
</html>
|