Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Fix group order
Browse files Browse the repository at this point in the history
  • Loading branch information
redvox committed May 9, 2016
1 parent 7527de4 commit a893472
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/templates/gates.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2>Gates</h2>
{%- else %}
{%- set tab = gate_list.keys()[0] %}
{%- endif %}
{% for group in gate_list %}
{% for group in gate_list | sort %}
<li role="presentation" data-group="{{ group }}"
class="tab-title {% if tab == group %} active {% endif %}">
<a href="#{{ group }}" name="#{{ group }}" aria-controls="{{ group }}" role="tab"
Expand All @@ -37,11 +37,10 @@ <h2>Gates</h2>

<div class="tab-content">
{% for group, gates in gate_list.iteritems() %}

<div role="tabpanel" class="tab-pane fade {% if tab == group %} active in {% endif %}" id="{{ group }}">
<table class="table table-condensed">
<th>
{% for env in env_list[group] %}
{% for env in env_list[group] %}
<td>Gate to <b>{{ env }}</b></td>
<td></td>
{% endfor %}
Expand Down

0 comments on commit a893472

Please sign in to comment.