Skip to content
Snippets Groups Projects
Commit f671f3c0 authored by Alex Pott's avatar Alex Pott
Browse files

Revert "Issue #2407735 by mortendk, sivaji@knackforge.com: Remove classes from...

Revert "Issue #2407735 by mortendk, sivaji@knackforge.com: Remove classes from system templates m*.html.twig"

This reverts commit 2b9b727c.
parent 61cc921f
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
* @ingroup themeable
*/
#}
<div>
<div class="layout-container">
<header role="banner">
{% if logo %}
......@@ -21,15 +21,15 @@
{% endif %}
{% if site_name or site_slogan %}
<div>
<div class="name-and-slogan">
{% if site_name %}
<h1>
<h1 class="site-name">
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home">{{ site_name }}</a>
</h1>
{% endif %}
{% if site_slogan %}
<div>{{ site_slogan }}</div>
<div class="site-slogan">{{ site_slogan }}</div>
{% endif %}
</div>{# /.name-and-slogan #}
{% endif %}
......@@ -47,13 +47,13 @@
</main>
{% if page.sidebar_first %}
<aside role="complementary">
<aside class="layout-sidebar-first" role="complementary">
{{ page.sidebar_first }}
</aside>{# /.layout-sidebar-first #}
{% endif %}
{% if page.sidebar_second %}
<aside role="complementary">
<aside class="layout-sidebar-second" role="complementary">
{{ page.sidebar_second }}
</aside>{# /.layout-sidebar-second #}
{% endif %}
......
......@@ -15,7 +15,7 @@
*/
#}
<h2 class="visually-hidden">Installation tasks</h2>
<ol>
<ol class="task-list">
{% for task in tasks %}
<li{{ task.attributes }}>
{{ task.item }}
......
......@@ -15,8 +15,8 @@
#}
{% if logged_in %}
{% if status is constant('MARK_NEW') %}
<span>{{ 'new'|t }}</span>
<span class="marker">{{ 'new'|t }}</span>
{% elseif status is constant('MARK_UPDATED') %}
<span>{{ 'updated'|t }}</span>
<span class="marker">{{ 'updated'|t }}</span>
{% endif %}
{% endif %}
......@@ -17,9 +17,9 @@
#}
{% if primary %}
<h2 class="visually-hidden">{{ 'Primary tabs'|t }}</h2>
<ul>{{ primary }}</ul>
<ul class="tabs primary">{{ primary }}</ul>
{% endif %}
{% if secondary %}
<h2 class="visually-hidden">{{ 'Secondary tabs'|t }}</h2>
<ul>{{ secondary }}</ul>
<ul class="tabs secondary">{{ secondary }}</ul>
{% endif %}
......@@ -27,9 +27,9 @@
{% import _self as menus %}
{% if items %}
{% if menu_level == 0 %}
<ul{{ attributes }}>
<ul{{ attributes.addClass('menu') }}>
{% else %}
<ul>
<ul class="menu">
{% endif %}
{% for item in items %}
<li{{ item.attributes }}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment