You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.3 KiB

  1. {% extends "bootstrap/base.html" %}
  2. {% block title %}tia.paste{% endblock %}
  3. {% block styles %}
  4. {{super()}}
  5. <link rel="stylesheet" href="{{url_for('.static', filename='style.css')}}">
  6. {% endblock %}
  7. {% block navbar %}
  8. {% include "fragments/navbar.j2" %}
  9. {% endblock %}
  10. {% block content %}
  11. <iframe id="apps" src="https://technicalincompetence.club/frame" width="305" height="400" class="shadow-lg overlay-frame" style="display: none;"></iframe>
  12. <div id="overlay" style="display: none;" onclick="showApps();"></div>
  13. <div class="container" style="margin-top: 15px">
  14. <div id="success-alert" class="alert alert-success" role="alert" style="display: none;"></div>
  15. <div id="error-alert" class="alert alert-danger" role="alert" style="display: none;"></div>
  16. <form>
  17. <div class="row justify-content-center">
  18. <div class="col-lg-12">
  19. <label>Enter some text:</label>
  20. <div id="editor"></div>
  21. <br>
  22. <button type="button" class="btn btn-primary" id="submit">Save Paste</button>
  23. <br>
  24. </div>
  25. </div>
  26. </form>
  27. </div>
  28. {% endblock %}
  29. {% block scripts %}
  30. {{ super() }}
  31. <script src="{{url_for('.static', filename='editor.bundle.js')}}"></script>
  32. <script>
  33. function showApps () {
  34. $("#apps").toggle();
  35. $("#overlay").toggle();
  36. }
  37. </script>
  38. {% endblock %}