"Fossies" - the Fresh Open Source Software Archive

Member "horizon-16.0.0/horizon/templates/horizon/common/_keystone_provider_selector.html" (16 Oct 2019, 845 Bytes) of package /linux/misc/openstack/horizon-16.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {% load i18n %}
    2 {% if keystone_providers.support %}
    3 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
    4     <span class="keystone-provider-title">{{ keystone_providers.current.name }}</span>
    5     <span class="fa fa-caret-down"></span>
    6 </a>
    7 <ul id="keystone_provider_list" class="dropdown-menu dropdown-menu-right">
    8 <li class="dropdown-header">{% trans "Keystone Providers:" %}</li>
    9 {% for provider in keystone_providers.available %}
   10    <li>
   11      <a href="{% url 'switch_keystone_provider' provider.id %}?keystone_provider={{ provider.id|urlencode }}">
   12        <span class="region-name dropdown-title">{{ provider.name }}</span>
   13        {% if provider.name == keystone_providers.current.name %}
   14        <span class="fa fa-check"></span>
   15        {% endif %}
   16      </a>
   17    </li>
   18 {% endfor %}
   19 </ul>
   20 {% endif %}