logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

base.html (5052B)


  1. {% from 'oscar/macros.html' import icon %}
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"{% if rtl %} dir="rtl"{% endif %}>
  4. <head>
  5. <meta charset="UTF-8" />
  6. <meta name="description" content="searx - a privacy-respecting, hackable metasearch engine" />
  7. <meta name="keywords" content="searx, search, search engine, metasearch, meta search" />
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <meta name="generator" content="searx/{{ searx_version }}">
  10. <meta name="referrer" content="no-referrer">
  11. <meta name="viewport" content="width=device-width, initial-scale=1 , maximum-scale=1.0, user-scalable=1" />
  12. {% block meta %}{% endblock %}
  13. <title>{% block title %}{% endblock %}{{ instance_name }}</title>
  14. <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" type="text/css" />
  15. {% if preferences.get_value('oscar-style') %}
  16. <link rel="stylesheet" href="{{ url_for('static', filename='css/'+preferences.get_value('oscar-style')+'.min.css') }}" type="text/css" />
  17. {% else %}
  18. <link rel="stylesheet" href="{{ url_for('static', filename='css/logicodev.min.css') }}" type="text/css" />
  19. {% endif %}
  20. <link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.min.css') }}" type="text/css" />
  21. {% for css in styles %}
  22. <link rel="stylesheet" href="{{ url_for('static', filename=css) }}" type="text/css" />
  23. {% endfor %}
  24. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  25. <!--[if lt IE 9]>
  26. <script src="{{ url_for('static', filename='js/html5shiv.min.js') }}"></script>
  27. <script src="{{ url_for('static', filename='js/respond.min.js') }}"></script>
  28. <![endif]-->
  29. <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
  30. {% block styles %}
  31. {% endblock %}
  32. {% block head %}
  33. {% endblock %}
  34. <link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
  35. <script type="text/javascript">
  36. searx = {};
  37. searx.method = "{{ method or 'POST' }}";
  38. searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
  39. </script>
  40. <noscript>
  41. <style type="text/css">
  42. .tab-content > .active_if_nojs, .active_if_nojs {display: block !important; visibility: visible !important;}
  43. .margin_top_if_nojs {margin-top: 20px;}
  44. .hide_if_nojs {display: none !important;overflow:none !important;}
  45. .disabled_if_nojs {pointer-events: none; cursor: default; text-decoration: line-through;}
  46. </style>
  47. </noscript>
  48. </head>
  49. <body>
  50. {% include 'oscar/navbar.html' %}
  51. <div class="container">
  52. {% if errors %}
  53. <div class="alert alert-danger fade in" role="alert">
  54. <button class="close" data-dismiss="alert" type="button">
  55. <span aria-hidden="true">×</span>
  56. <span class="sr-only">{{ _('Close') }}</span>
  57. </button>
  58. <strong class="lead">{{ icon('info-sign') }} {{ _('Error!') }}</strong>
  59. <ul>
  60. {% for message in errors %}
  61. <li>{{ message }}</li>
  62. {% endfor %}
  63. </ul>
  64. </div>
  65. {% endif %}
  66. {% block site_alert_error %}
  67. {% endblock %}
  68. {% block site_alert_warning %}
  69. {% endblock %}
  70. {% block site_alert_info %}
  71. {% endblock %}
  72. {% block site_alert_success %}
  73. {% endblock %}
  74. {% block content %}
  75. {% endblock %}
  76. </div>
  77. <div class="footer">
  78. <div class="container">
  79. {% block footer %}
  80. {% endblock %}
  81. <p class="text-muted">
  82. <small>
  83. {{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
  84. <a href="https://github.com/asciimoo/searx">{{ _('Source code') }}</a> |
  85. <a href="https://github.com/asciimoo/searx/issues">{{ _('Issue tracker') }}</a> |
  86. <a href="https://github.com/asciimoo/searx/wiki/Searx-instances">{{ _('Public instances') }}</a>
  87. </small>
  88. </p>
  89. </div>
  90. </div>
  91. <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>
  92. <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
  93. {% if autocomplete %}<script src="{{ url_for('static', filename='js/typeahead.bundle.min.js') }}"></script>{% endif %}
  94. <script src="{{ url_for('static', filename='js/require-2.1.15.min.js') }}"></script>
  95. <script src="{{ url_for('static', filename='js/searx.min.js') }}"></script>
  96. {% for script in scripts %}
  97. <script src="{{ url_for('static', filename=script) }}"></script>
  98. {% endfor %}
  99. <noscript>
  100. <style>
  101. .glyphicon { display: none; }
  102. </style>
  103. </noscript>
  104. </body>
  105. </html>