base.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="description" content="Searx - a privacy-respecting, hackable metasearch engine" />
  6. <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <meta name="generator" content="searx/{{ searx_version }}">
  9. <meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
  10. {% block meta %}{% endblock %}
  11. <title>{% block title %}{% endblock %}searx</title>
  12. <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
  13. <link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.min.css') }}" type="text/css" />
  14. <link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />
  15. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  16. <!--[if lt IE 9]>
  17. <script src="{{ url_for('static', filename='js/html5shiv.min.js') }}"></script>
  18. <script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
  19. <![endif]-->
  20. <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
  21. {% block styles %}
  22. {% endblock %}
  23. {% block head %}
  24. {% endblock %}
  25. <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
  26. <script type="text/javascript">
  27. searx = {};
  28. searx.method = "{{ method or 'POST' }}";
  29. searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
  30. </script>
  31. <noscript>
  32. <style type="text/css">
  33. .tab-content > .active_if_nojs {display: block;}
  34. .hide_if_nojs {display: none !important;overflow:none !important;}
  35. </style>
  36. </noscript>
  37. </head>
  38. <body>
  39. <div class="container">
  40. {% include 'oscar/navbar.html' %}
  41. {% block site_alert_error %}
  42. {% endblock %}
  43. {% block site_alert_warning %}
  44. {% endblock %}
  45. {% block site_alert_warning_nojs %}
  46. <noscript>
  47. {% include 'oscar/messages/js_disabled.html' %}
  48. </noscript>
  49. {% endblock %}
  50. {% block site_alert_info %}
  51. {% endblock %}
  52. {% block site_alert_success %}
  53. {% endblock %}
  54. {% block content %}
  55. {% endblock %}
  56. </div>
  57. <div class="footer">
  58. <div class="container">
  59. {% block footer %}
  60. {% endblock %}
  61. <p class="text-muted">{{ _('Powered by') }} <a href="https://github.com/asciimoo/searx">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</p>
  62. </div>
  63. </div>
  64. <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>
  65. <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
  66. {% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{% endif %}
  67. <script src="{{ url_for('static', filename='js/require-2.1.15.min.js') }}"></script>
  68. <script src="{{ url_for('static', filename='js/searx.min.js') }}"></script>
  69. </body>
  70. </html>