index.html 936 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {% import "bootstrap/wtf.html" as wtf %}
  2. {% import "bootstrap/utils.html" as utils %}
  3. {%- extends "base.html" %}
  4. {% block content %}
  5. <div class="container">
  6. <div class="jumbotron">
  7. <h1>Signup for our awesome service</h1>
  8. <p>Note: Your data isn't going anywhere.</p>
  9. </div>
  10. <div class="col-md-12">
  11. {% with messages = get_flashed_messages() %}
  12. {% if messages %}
  13. <ul class=flashes>
  14. {% for message in messages %}
  15. <li>{{ message }}</li>
  16. {% endfor %}
  17. </ul>
  18. {% endif %}
  19. {% endwith %}
  20. {% if data %}
  21. <pre>
  22. {{ data }}
  23. </pre>
  24. {% endif %}
  25. {% if form %}
  26. <form method="POST" action="{{ url_for('frontend.add_entry') }}">
  27. {{ form.csrf_token }}
  28. {{ form.secrets.label }}
  29. <br><br>
  30. {{ form.secrets }}
  31. <br><br>
  32. {{ form.submit }}
  33. </form>
  34. {% endif %}
  35. </div>
  36. {%- endblock %}