[enh] add unique class for each endpoint - closes #1133

This commit is contained in:
Adam Tauber 2020-06-04 19:20:44 +02:00
parent 5af873b74e
commit de1b08a941
5 changed files with 5 additions and 4 deletions

View file

@ -29,7 +29,7 @@
searx.autocompleter = {% if autocomplete %}true{% else %}false{% endif %};
</script>
</head>
<body>
<body class="{{ endpoint }}_endpoint" >
<div id="container">
{% block content %}
{% endblock %}

View file

@ -20,7 +20,7 @@
<link title="{{ instance_name }}" type="application/opensearchdescription+xml" rel="search" href="{{ url_for('opensearch') }}"/>
{% endblock %}
</head>
<body>
<body class="{{ endpoint }}_endpoint" >
<div id="container">
{% block content %}
{% endblock %}

View file

@ -47,7 +47,7 @@
</style>
</noscript>
</head>
<body>
<body class="{{ endpoint }}_endpoint" >
{% include 'oscar/navbar.html' %}
<div class="container">

View file

@ -32,7 +32,7 @@
{% endblock %}
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
</head>
<body>
<body class="{{ endpoint }}_endpoint" >
<main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}">
{% if errors %}
<div class="dialog-error" role="alert">