Complete initial branding work

This commit is contained in:
Moïse KM 2023-04-06 04:13:51 -04:00
parent b3b8d8e60e
commit 790414bced
15 changed files with 559 additions and 54 deletions

View file

@ -2,8 +2,8 @@
<html class="no-js theme-{{ preferences.get_value('simple_style') or 'auto' }} center-aligment-{{ preferences.get_value('center_alignment') and 'yes' or 'no' }}" lang="{{ locale_rfc5646 }}" {% if rtl %} dir="rtl"{% endif %}>
<head>
<meta charset="UTF-8" />
<meta name="description" content="SearXNG — a privacy-respecting, open metasearch engine">
<meta name="keywords" content="SearXNG, search, search engine, metasearch, meta search">
<meta name="description" content="Fufusoup — a privacy-respecting, open metasearch engine">
<meta name="keywords" content="Fufusoup, search, search engine, metasearch, meta search">
<meta name="generator" content="searxng/{{ searx_version }}">
<meta name="referrer" content="no-referrer">
<meta name="robots" content="noarchive">
@ -17,6 +17,7 @@
{% else %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/searxng.min.css') }}" type="text/css" media="screen" />
{% endif %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/custom.css') }}" type="text/css" media="screen" />
{% block styles %}{% endblock %}
<!--[if gte IE 9]>-->
<script src="{{ url_for('static', filename='js/searxng.head.min.js') }}" client_settings="{{ client_settings }}"></script>
@ -24,8 +25,8 @@
{% block head %}
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ opensearch_url }}"/>
{% endblock %}
<link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}" sizes="any">
<link rel="icon" href="{{ url_for('static', filename='img/favicon.svg') }}" type="image/svg+xml">
<link rel="icon" href="{{ url_for('static', filename='img/fufusoup-logo-blue-bg.png') }}" sizes="any">
<link rel="icon" href="{{ url_for('static', filename='img/fufusoup-logo-blue-bg.png') }}" type="image/svg+xml">
</head>
<body class="{{ endpoint }}_endpoint" >
<main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}" class="{{body_class}}">
@ -43,15 +44,15 @@
<nav id="links_on_top">
{%- from 'simple/icons.html' import icon_big -%}
{%- block linkto_about -%}
<a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a>
<a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about"><span>{{ _('About') }}</span></a>
{%- endblock -%}
{%- block linkto_donate -%}
{%- if donation_url -%}
<a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a>
<a href="{{ url_for('info', pagename='donate') }}" class="link_on_top_donate"><span>{{ _('Donate') }}</span></a>
{%- endif -%}
{%- endblock -%}
{%- block linkto_preferences -%}
<a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a>
<a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}</a>
{%- endblock -%}
</nav>
{% block header %}
@ -61,20 +62,30 @@
</main>
<footer>
<p>
Fufusoup a privacy-respecting, open source metasearch engine
based on SearXNG
and made available by Moise KM<br/>
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a>
| <a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a>
{% if enable_metrics %}| <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a>{% endif %}
{% if get_setting('brand.public_instances') %}
| <a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>
{% endif %}
Fufusoup is a privacy-respecting open source metasearch engine based on
<a href="https://github.com/searxng/searxng/" target="_blank">SearXNG,</a>
built, deployed, and operated by
<a href="https://mkm.technology/" target="_blank">Moïse KM</a>
<br/>
<a href="{{ url_for('info', pagename='about') }}">{{ _('About') }} </a>
{%- if donation_url -%}
| <a href="{{ url_for('info', pagename='donate') }}">{{ _('Donate') }} </a>
{%- endif -%}
| <a href="{{ url_for('preferences') }}">{{ _('Preferences') }}</a>
{% if get_setting('general.privacypolicy_url') %}
| <a href="{{ get_setting('general.privacypolicy_url') }}">{{ _('Privacy policy') }}</a>
{% endif %}
| <a href="{{ url_for('info', pagename='privacy-policy') }}">{{ _('Privacy policy') }}</a>
| <a href="https://github.com/mkmtech7/fufusoup/" target="_blank">{{ _('Source code') }}</a>
| <a href="{{ get_setting('brand.issue_url') }}" target="_blank">{{ _('Issue tracker') }}</a>
{% if enable_metrics %}| <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a>{% endif %}
{% if get_setting('brand.public_instances') %}
| <a href="{{ get_setting('brand.public_instances') }}" target="_blank">{{ _('Similar instances') }}</a>
{% endif %}
{% if get_setting('general.contact_url') %}
| <a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>
| <a href="{{ get_setting('general.contact_url') }}" target="_blank">{{ _('Contact instance maintainer') }}</a>
{% endif %}
</p>
</footer>

View file

@ -12,7 +12,7 @@
</a> ){{- '' -}}
</p>
{%- endfor %}
<p><small>{{ _('Please, try again later or find another SearXNG instance.') }} (<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>) </small></p>
<p><small>{{ _('Please, try again later or find another Fufusoup/SearXNG instance.') }} (<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>) </small></p>
</div>
</div>
{% else %}

View file

@ -1,5 +1,7 @@
{% set body_class = "page_with_header" %}
{% extends "simple/base.html" %}
{% block header %}
<a href="{{ url_for('index') }}"><img class="logo" src="{{ url_for('static', filename='img/searxng.png') }}" alt="SearXNG"></a>
<a href="{{ url_for('index') }}"><img class="logo" src="{{ url_for('static', filename='img/fufusoup-logo-blue-bg.png') }}"
alt="SearXNG" style="height:4rem;border-radius:1rem;">
<span style="font-size:2.5rem;position:relative;top:-15px;left:7px;">Fufusoup</span></a>
{% endblock %}

View file

@ -123,7 +123,7 @@
</select>{{- '' -}}
</p>
<div class="description" id="desc_language">
{{- _('What language do you prefer for search?') }} {{ _('Choose Auto-detect to let SearXNG detect the language of your query.') -}}
{{- _('What language do you prefer for search?') }} {{ _('Choose Auto-detect to let Fufusoup detect the language of your query.') -}}
</div>
</fieldset>
{% endif %}
@ -203,7 +203,7 @@
{%- endfor -%}
</select>
</p>
<div class="description">{{ _('Change SearXNG layout') }}</div>
<div class="description">{{ _('Change Fufusoup layout') }}</div>
</fieldset>
<fieldset>
<legend id="pref_simple_style">{{ _('Theme style') }}</legend>
@ -276,7 +276,7 @@
<option value="0" {% if not image_proxy %}selected="selected"{% endif %}>{{ _('Disabled') }}</option>
</select>
</p>
<div class="description">{{ _('Proxying image results through SearXNG') }}</div>
<div class="description">{{ _('Proxying image results through Fufusoup') }}</div>
</fieldset>
{% endif %}
{% if 'query_in_title' not in locked_preferences %}
@ -365,7 +365,7 @@
<th>{{ _('Examples') }}</th>
</tr>
<td></td>
<th scope="colgroup" colspan="4">{{ _("This is the list of SearXNG's instant answering modules.") }}</th>
<th scope="colgroup" colspan="4">{{ _("This is the list of Fufusoup's instant answering modules.") }}</th>
{% for answerer in answerers %}
<tr>
<td></td>
@ -395,8 +395,8 @@
{{ tab_header('maintab', 'cookies', _('Cookies')) }}
<p class="text-muted">{{- "" -}}
{{- _('This is the list of cookies and their values SearXNG is storing on your computer.') }}<br />{{- "" -}}
{{- _('With that list, you can assess SearXNG transparency.') }}<br />{{- "" -}}
{{- _('This is the list of cookies and their values Fufusoup is storing on your computer.') }}<br />{{- "" -}}
{{- _('With that list, you can assess Fufusoup transparency.') }}<br />{{- "" -}}
</p>
{% if cookies %}
<table class="cookies">

View file

@ -19,6 +19,11 @@
{% endif %}
<div id="results" class="{{ only_template }}">
{% if number_of_results != '0' -%}
<div id="result_count"><small>{{ _('Number of results') }}: {{ number_of_results }}</small></div>
{%- endif %}
{% if answers -%}
<div id="answers" role="complementary" aria-labelledby="answers-title"><h4 class="title" id="answers-title">{{ _('Answers') }} : </h4>
{%- for answer in answers.values() -%}
@ -35,10 +40,6 @@
<div id="sidebar">
{% if number_of_results != '0' -%}
<p id="result_count"><small>{{ _('Number of results') }}: {{ number_of_results }}</small></p>
{%- endif %}
{% if unresponsive_engines and results|length >= 1 %}
<div class="dialog-error" role="alert">
{{ icon_big('warning') }}

View file

@ -1,8 +1,9 @@
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}" role="search">
<div id="search_header">
<a id="search_logo" href="{{ url_for('index') }}" tabindex="0" title="{{ _('Display the front page') }}">
<span hidden>SearXNG</span>
{% include 'simple/searxng-wordmark.min.svg' without context %}
<span hidden>FufuSoup</span>
<img src="../static/themes/simple/img/fufusoup-logo-blue-bg.png" alt="FufuSoup Logo"
style="height:3.2rem;border-radius:1rem;">
</a>
<div id="search_view">
<div class="search_box">