Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: bobtfish/MonitoringJS
base: 6cd2795f56
...
head fork: bobtfish/MonitoringJS
compare: 22ff00aa23
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 7 additions and 1 deletion.
  1. +1 −1  index.html
  2. +5 −0 js/app/view/app.js
  3. +1 −0  maint/app.html
View
2  index.html
1 addition, 1 deletion not shown
View
5 js/app/view/app.js
@@ -53,8 +53,13 @@ var AppView = Backbone.View.extend({
render_one_host: function(id) {
$('#nagios_hostgroups').hide();
$('#hostdetails').html(this.hostTemplate({host: this.hostsCollection.get(id)}));
+ $('#hostdetails').show();
$('.tabs').tab('show');
},
+ render_nagios_hostgroups: function() {
+ $('#hostdetails').hide();
+ $('#nagios_hostgroups').show();
+ },
// FIXME
interesting_classes: [
"databaseserver_mysql",
View
1  maint/app.html
@@ -53,6 +53,7 @@
Interesting classes: <%= class_list %>
</script>
<script type="text/template" id="host-detail-template">
+ <span class="span2 pull-right"><button href="#" onclick="App.render_nagios_hostgroups()">&lt;&lt; Back to summary</button></span>
<h1><%= host.get("fqdn") %> <% if (host.get("facts")["machine_notes"]) { %><sub>(<%= host.get("facts")["machine_notes"] %>)</sub><% } %></h1>
<div class="tabbable">
<ul class="nav nav-tabs">

No commit comments for this range

Something went wrong with that request. Please try again.