d
This commit is contained in:
parent
1dcd512d21
commit
c93eaf39c5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -145,7 +145,7 @@ module.exports = function (grunt) {
|
|||||||
svgo: ['--config', 'svg4web.svgo.js']
|
svgo: ['--config', 'svg4web.svgo.js']
|
||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'<%= _templates %>/simple/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg',
|
'<%= _templates %>/magi/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg',
|
||||||
'img/logo.svg': '<%= _brand %>/logo.svg',
|
'img/logo.svg': '<%= _brand %>/logo.svg',
|
||||||
'img/img_load_error.svg': '<%= _brand %>/img_load_error.svg'
|
'img/img_load_error.svg': '<%= _brand %>/img_load_error.svg'
|
||||||
}
|
}
|
||||||
@ -192,7 +192,7 @@ module.exports = function (grunt) {
|
|||||||
'heart-outline': 'node_modules/ionicons/dist/svg/heart-outline.svg',
|
'heart-outline': 'node_modules/ionicons/dist/svg/heart-outline.svg',
|
||||||
'information-circle-outline': 'src/svg/information-circle-outline.svg',
|
'information-circle-outline': 'src/svg/information-circle-outline.svg',
|
||||||
},
|
},
|
||||||
dest: '../../../templates/simple/icons.html',
|
dest: '../../../templates/magi/icons.html',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@ -229,7 +229,7 @@ module.exports = function (grunt) {
|
|||||||
grunt.log.error(err);
|
grunt.log.error(err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const template = `{# this file was generated by searx/static/themes/simple/gruntfile.js #}
|
const template = `{# this file was generated by searx/static/themes/magi/gruntfile.js #}
|
||||||
{%- set icons = {
|
{%- set icons = {
|
||||||
<% for (const iconName in icons) { %> '<%- iconName %>':'<%- icons[iconName] %>',
|
<% for (const iconName in icons) { %> '<%- iconName %>':'<%- icons[iconName] %>',
|
||||||
<% } %>
|
<% } %>
|
||||||
|
@ -425,7 +425,7 @@ input.checkbox-onoff[type="checkbox"] {
|
|||||||
|
|
||||||
/* check mark
|
/* check mark
|
||||||
reversed-checkbox displays unchecked checkedboxes as checked, and vice versa.
|
reversed-checkbox displays unchecked checkedboxes as checked, and vice versa.
|
||||||
see https://github.com/searxng/searxng/blob/3408d061aab9abc6168fec9bbc6deab71b236dac/searx/templates/simple/preferences.html#L313
|
see https://github.com/searxng/searxng/blob/3408d061aab9abc6168fec9bbc6deab71b236dac/searx/templates/magi/preferences.html#L313
|
||||||
*/
|
*/
|
||||||
input.checkbox-onoff[type="checkbox"],
|
input.checkbox-onoff[type="checkbox"],
|
||||||
.reversed-checkbox input.checkbox-onoff[type="checkbox"]:checked {
|
.reversed-checkbox input.checkbox-onoff[type="checkbox"]:checked {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends "simple/base.html" %}
|
{% extends "magi/base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<h1>{{ _('Page not found') }}</h1>
|
<h1>{{ _('Page not found') }}</h1>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends "simple/base.html" %}
|
{% extends "magi/base.html" %}
|
||||||
{% from 'simple/icons.html' import icon_big %}
|
{% from 'simple/icons.html' import icon_big %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="index">
|
<div class="index">
|
||||||
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
@ -1,5 +1,5 @@
|
|||||||
{% set body_class = "page_with_header" %}
|
{% set body_class = "page_with_header" %}
|
||||||
{% extends "simple/base.html" %}
|
{% extends "magi/base.html" %}
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<a href="{{ url_for('index') }}"><img class="logo" src="{{ url_for('static', filename='img/logo.png') }}" alt="Search"></a>
|
<a href="{{ url_for('index') }}"><img class="logo" src="{{ url_for('static', filename='img/logo.png') }}" alt="Search"></a>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{% extends "simple/base.html" %}
|
{% extends "magi/base.html" %}
|
||||||
{% from 'simple/icons.html' import icon, icon_big, icon_small %}
|
{% from 'simple/icons.html' import icon, icon_big, icon_small %}
|
||||||
{% macro engine_data_form(engine_data) -%}
|
{% macro engine_data_form(engine_data) -%}
|
||||||
{% for engine_name, kv_data in engine_data.items() %}
|
{% for engine_name, kv_data in engine_data.items() %}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% block styles %}{% endblock %}
|
{% block styles %}{% endblock %}
|
||||||
<!--[if gte IE 9]>-->
|
<!--[if gte IE 9]>-->
|
||||||
<script src="{{ url_for('static', filename='js/magi.head.min.js') }}" client_settings="{{ client_settings }}"></script>
|
<script src="{{ url_for('static', filename='js/simple.head.min.js') }}" client_settings="{{ client_settings }}"></script>
|
||||||
<!--<![endif]-->
|
<!--<![endif]-->
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ opensearch_url }}"/>
|
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ opensearch_url }}"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user