noscript.html.twig 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <style>
  2. .error-message {
  3. background-color: #fce4e4;
  4. border: 1px solid #fcc2c3;
  5. width: 100%;
  6. padding: 20px 30px;
  7. }
  8. .error-text {
  9. color: #cc0033;
  10. font-family: Helvetica, Arial, sans-serif;
  11. width: 100%;
  12. font-weight: bold;
  13. line-height: 20px;
  14. text-shadow: 1px 1px rgba(250,250,250,.3);
  15. }
  16. .full-height {
  17. display: block;
  18. width: 100%;
  19. height: 100%;
  20. }
  21. </style>
  22. <div id="noscript" class="full-height">
  23. <main id="admin-main" class="full-height">
  24. <div id="titlebar" class="titlebar">
  25. <h1><i class="fa fa-fw fa-exclamation-triangle"></i>{{ "PLUGIN_ADMIN.ERROR"|tu }}</h1>
  26. </div>
  27. <div class="full-height">
  28. <div class="error-message {% if config.plugins.admin.content_padding %}content-padding{% endif %}">
  29. <span class="error-text">{{ "PLUGIN_ADMIN.ADMIN_NOSCRIPT_MSG"|tu }}</span>
  30. </div>
  31. </div>
  32. </main>
  33. </div>
  34. <script type="text/javascript">
  35. function checkjs() {
  36. var element = document.getElementById("noscript");
  37. element.style.display = 'none';
  38. }
  39. checkjs();
  40. </script>