Merge pull request #185 from raphink/all_envs

Allow to list all nodes again (remove environment filter)

Adding a configurable default environment setting in case some environments to not have a 'production' environment.

Adding a '*' option to remove environment filters.
This commit is contained in:
Corey Hammerton
2015-11-18 18:14:22 -05:00
3 changed files with 106 additions and 51 deletions

View File

@@ -44,6 +44,7 @@
Environments
<i class="dropdown icon"></i>
<div class="menu">
<a class="item {% if '*' == current_env %}active{% endif %}" href="{{url_for_environments('*')}}">All environments</a>
{% for env in envs %}
<a class="item {% if env == current_env %}active{% endif %}" href="{{url_for_environments(env)}}">{{env}}</a>
{% endfor %}