messages.html 831 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Texts.re ~ +{{ num.msisdn }} {{ num.country }}</title>
  7. <link href="/static/min.css" rel="stylesheet" type="text/css">
  8. </head>
  9. <body>
  10. {% include 'nav.html' %}
  11. <div class="container">
  12. <div>
  13. <h1><img src="/static/img/flags/{{ num.country.lower() }}.png"> +{{ num.msisdn }}</h1><hr>
  14. <table class="table">
  15. <thead>
  16. <tr>
  17. <th>From</th>
  18. <th>Message</th>
  19. <th>Date</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. {% for message in messages %}
  24. <tr>
  25. <td>{{ message.from }}</td>
  26. <td>{{ message.body }}</td>
  27. <td>{{ message.timestamp}}</td>
  28. </tr>
  29. {% endfor %}
  30. </tbody>
  31. </table>
  32. </div>
  33. </body>
  34. </html>