sms-receiver/frontend/templates/messages.html
2019-07-29 11:50:35 +02:00

38 lines
831 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Texts.re ~ +{{ num.msisdn }} {{ num.country }}</title>
<link href="/static/min.css" rel="stylesheet" type="text/css">
</head>
<body>
{% include 'nav.html' %}
<div class="container">
<div>
<h1><img src="/static/img/flags/{{ num.country.lower() }}.png"> +{{ num.msisdn }}</h1><hr>
<table class="table">
<thead>
<tr>
<th>From</th>
<th>Message</th>
<th>Date</th>
</tr>
</thead>
<tbody>
{% for message in messages %}
<tr>
<td>{{ message.from }}</td>
<td>{{ message.body }}</td>
<td>{{ message.timestamp}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</body>
</html>