openstack-manuals/www/templates/dropdown_releases_and_languages.tmpl
Ian Y. Choi 4436532cd4 [www-index] Splits Releases and Languages items
It has not been easy to select language pages on
"More Releases & Languages" dropdown list since
there are many releases (currently, 18).

This patch splits into "More Releases" and "Languages"
dropdown lists by:
- Changing from 9 to 8 for col-lg/md/sm-* in the left part
- Allocating 2 for col-lg/md/sm-* in each dropdown list
- Removing unnecessary dropdown-header part
- Changing on dropdown-menu width from 100% to 150%
  since original "More Releases & Languages" was allocated
  as 3 and the number 3 was changed to 2.

Change-Id: I4fd1c345dfd3debd14167839c1b93c69a3d3027e
2018-03-27 16:26:18 +00:00

28 lines
2.2 KiB
Cheetah

<div class="col-lg-2 col-md-2 col-sm-2">
<div class="dropdown docs-dropdown">
<a data-toggle="dropdown" href="#">More Releases <i class="fa fa-caret-down fa-3"></i></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li role="presentation"><a role="menuitem" tabindex="-1" href="/{{SERIES_IN_DEVELOPMENT}}/">{{SERIES_IN_DEVELOPMENT|title}} (under development)</a></li>
{% for series_name in PAST_SERIES|reverse %}
<li role="presentation"><a role="menuitem" tabindex="-1" href="/{{series_name}}/">{{series_name|title}}{% if series_name == RELEASED_SERIES %} (current release){% endif %}</a></li>
{% endfor %}
</ul>
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2">
<div class="dropdown docs-dropdown">
<a data-toggle="dropdown" href="#">Languages <i class="fa fa-caret-down fa-3"></i></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li role="presentation"><a role="menuitem" tabindex="-1" href="/de/">Deutsch (German)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/fr/">Français (French)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/id/">Bahasa Indonesia (Indonesian)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/it/">Italiano (Italian)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/ja/">日本語 (Japanese)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/ko_KR/">한국어 (Korean)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/pt_BR/">Português (Portuguese)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/tr_TR/">Türkçe (Türkiye)</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="/zh_CN/">简体中文 (Simplified Chinese)</a></li>
</ul>
</div>
</div>