base.html 3.0 KB

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