
- change button color (in line with odoo.com) - adapt margin above h2 - change gray variable on footer (to use the same as everywhere else) - fix grey background in nav - fix opacity on icon when active in nav - add icons on mobile homepage - fix missing homepage separator in mobile - fix nav top padding on mobile (hidden by searchbar) - adjust nav's active links styles - adjust margin on version switcher - hide toctree-wrapper when show-content is in meta - fix highlighted-link on tablet screen - style toctree-wrapper (a lil bit) - hide local toc while page is loading - SCSS linting
28 lines
1.0 KiB
HTML
28 lines
1.0 KiB
HTML
<div class="o_versions row gx-2 me-3">
|
|
<div class="col col-form-label">
|
|
<label class="fw_bold small ms-2">Version</label>
|
|
</div>
|
|
<div class="col">
|
|
<div class="dropdown">
|
|
{%- if alternate_versions|length > 0 %}
|
|
<button class="btn border dropdown-toggle"
|
|
id="versions"
|
|
data-bs-toggle="dropdown">
|
|
{{ version }} {# The current version #}
|
|
</button>
|
|
{%- else %}
|
|
<button class="btn border"
|
|
id="versions"
|
|
disabled="">
|
|
{{ version }} {# The current version #}
|
|
</button>
|
|
{%- endif %}
|
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="versions">
|
|
{%- for alternate_version, url in alternate_versions %}
|
|
<li><a class="dropdown-item" href="{{ url }}">{{ alternate_version }}</a></li>
|
|
{%- endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|