twilio.html 991 B

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html>
  3. {% include 'hackathon/base.html' %}
  4. <style>
  5. .form-signin {
  6. max-width: 550px;
  7. padding: 15px;
  8. margin: 0 auto;
  9. }
  10. </style>
  11. <body>
  12. {{ context }}
  13. <h1 class="text-center"> Twilio Messages </h1>
  14. <div class="container text-center">
  15. <form class="form-signin" id="login_form" method="post" action="/hackathon/twilio/">
  16. {% csrf_token %}
  17. {% load bootstrap %}
  18. <br>
  19. <input type="text" name="number" class="form-control" placeholder="Phone Number - e.g: +13473282978" value="" required autofocus>
  20. <br>
  21. <input type="text" name="message" class="form-control" placeholder="Message - e.g: Hello World!" value="" required>
  22. <br>
  23. <button class="btn btn-lg btn-primary btn-block" type="submit">Send Message</button>
  24. <input type="hidden" name="submit" value="submit" />
  25. </form>
  26. </div>
  27. </body>
  28. </html>