base.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. <title>{% block title %}{% endblock %}searx</title>
  11. <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
  12. <link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.min.css') }}" type="text/css" />
  13. <link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />
  14. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  15. <!--[if lt IE 9]>
  16. <script src="{{ url_for('static', filename='js/html5shiv.min.js') }}"></script>
  17. <script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
  18. <![endif]-->
  19. <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
  20. {% block styles %}
  21. {% endblock %}
  22. {% block head %}
  23. {% endblock %}
  24. <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
  25. <script type="text/javascript">
  26. searx = {};
  27. searx.method = "{{ method or 'POST' }}";
  28. searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
  29. </script>
  30. <noscript>
  31. <style type="text/css">
  32. .tab-content > .active_if_nojs {display: block;}
  33. .hide_if_nojs {display: none !important;overflow:none !important;}
  34. </style>
  35. </noscript>
  36. </head>
  37. <body>
  38. <div class="container">
  39. {% include 'oscar/navbar.html' %}
  40. {% block site_alert_error %}
  41. {% endblock %}
  42. {% block site_alert_warning %}
  43. {% endblock %}
  44. {% block site_alert_warning_nojs %}
  45. <noscript>
  46. {% include 'oscar/messages/js_disabled.html' %}
  47. </noscript>
  48. {% endblock %}
  49. {% block site_alert_info %}
  50. {% endblock %}
  51. {% block site_alert_success %}
  52. {% endblock %}
  53. {% block content %}
  54. {% endblock %}
  55. </div>
  56. <div class="footer">
  57. <div class="container">
  58. {% block footer %}
  59. {% endblock %}
  60. <p class="text-muted">{{ _('Powered by') }} <a href="https://github.com/asciimoo/searx">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</p>
  61. </div>
  62. </div>
  63. <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>
  64. <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
  65. {% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{% endif %}
  66. <script src="{{ url_for('static', filename='js/require-2.1.15.min.js') }}"></script>
  67. <script src="{{ url_for('static', filename='js/searx.min.js') }}"></script>
  68. </body>
  69. </html>