base.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
  9. <title>{% block title %}{% endblock %}searx</title>
  10. <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
  11. <link rel="stylesheet" href="{{ url_for('static', filename='css/oscar.css') }}" type="text/css" />
  12. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  13. <!--[if lt IE 9]>
  14. <script src="{{ url_for('static', filename='js/html5shiv.min.js') }}"></script>
  15. <script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
  16. <![endif]-->
  17. <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
  18. {% block styles %}
  19. {% endblock %}
  20. {% block head %}
  21. {% endblock %}
  22. <link title="searx" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
  23. <script type="text/javascript">
  24. searx = {};
  25. searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
  26. </script>
  27. </head>
  28. <body>
  29. <div class="container">
  30. {% include 'oscar/navbar.html' %}
  31. {% block site_alert_error %}
  32. {% endblock %}
  33. {% block site_alert_warning %}
  34. {% endblock %}
  35. {% block site_alert_warning_nojs %}
  36. <noscript>
  37. <div class="alert alert-warning" role="alert">
  38. <strong>{{ _('Warning!') }}</strong>
  39. {{ _('Please enable JavaScript to use full functionality of this site.') }}
  40. </div>
  41. </noscript>
  42. {% endblock %}
  43. {% block content %}
  44. {% endblock %}
  45. </div>
  46. <div class="footer">
  47. <div class="container">
  48. {% block footer %}
  49. {% endblock %}
  50. <p class="text-muted">Powered by <a href="https://github.com/asciimoo/searx">Searx</a> - a privacy-respecting, hackable metasearch engine</p>
  51. </div>
  52. </div>
  53. <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>
  54. <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
  55. </body>
  56. </html>