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

Commit

Permalink
Merge pull request #2 from RiRa12621/master
Browse files Browse the repository at this point in the history
minor changes
  • Loading branch information
alex-leonhardt committed Apr 9, 2016
2 parents d926c2a + a767e6c commit 0193604
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions conf/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#---
#dcs:
# -
# name: vagrant
# url: localhost
# port: 4567
# name: <name of the datacentre>
# url: <url of sensu-api>
# port: <sensu-api port>
# uchiwa: http://url.to.uchiwa:port
# -
# name: local
Expand Down
6 changes: 3 additions & 3 deletions templates/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h3>{{ d.ok }}</h3>
<div class="icon">
<i class="fa fa-check-circle"></i>
</div>
<a class="small-box-footer" href="{% for dc in dcs %}{% if dc['name'] == d.name %}{{ dc['uchiwa'] }}/#/events?dc={{ d.name }}{% endif %}{% endfor %}" target="_blank">Details
<a class="small-box-footer" href="{% for dc in dcs %}{% if dc['name'] == d.name %}{{ dc['uchiwa'] }}/#/clients?dc={{ d.name }}&status=0{% endif %}{% endfor %}" target="_blank">Details
<i class="fa fa-arrow-circle-right"></i>
</a>
</div>
Expand All @@ -53,7 +53,7 @@ <h3>{{ d.critical }}</h3>
<div class="icon">
<i class="fa fa-times-circle-o"></i>
</div>
<a class="small-box-footer" href="{% for dc in dcs %}{% if dc['name'] == d.name %}{{ dc['uchiwa'] }}/#/events?dc={{ d.name }}&q=crit{% endif %}{% endfor %}" target="_blank">Details
<a class="small-box-footer" href="{% for dc in dcs %}{% if dc['name'] == d.name %}{{ dc['uchiwa'] }}/#/clients?dc={{ d.name }}&status=2{% endif %}{% endfor %}" target="_blank">Details
<i class="fa fa-arrow-circle-right"></i>
</a>
</div>
Expand All @@ -68,7 +68,7 @@ <h3>{{ d.warning }}</h3>
<div class="icon">
<i class="fa fa-exclamation-circle"></i>
</div>
<a class="small-box-footer" href="{% for dc in dcs %}{% if dc['name'] == d.name %}{{ dc['uchiwa'] }}/#/events?dc={{ d.name }}&q=warn{% endif %}{% endfor %}" target="_blank">Details
<a class="small-box-footer" href="{% for dc in dcs %}{% if dc['name'] == d.name %}{{ dc['uchiwa'] }}/#/clients?dc={{ d.name }}&status=1{% endif %}{% endfor %}" target="_blank">Details
<i class="fa fa-arrow-circle-right"></i>
</a>
</div>
Expand Down

0 comments on commit 0193604

Please sign in to comment.