Source

eyes / eyeswebapp / templates / core / host_detail.html

Full commit
{% extends 'base.html' %}
{% block title %}host {{host.hostname}} page{% endblock %}

{% block content %}
<h1>{{host}} at {{host.get_absolute_url}}</h1>

<div data-role="collapsible" data-theme="a">
	<h3>trend views</h3>
	{% for monitor in host.monitor_set.all %}
		<div data-role="collapsible" data-collapsed="true" data-theme="c">
			<h3><a href="{{monitor.get_absolute_url}}">{{monitor.name}}</a></h3>
		{% for ds in monitor.datastore_set.all %}
		<p>
			<img src="{{ds.get_absolute_url}}png">
			<a href="{{monitor.get_absolute_url}}">{{monitor.name}}</a>:<a href="{{ds.get_absolute_url}}">{{ds.name}}</a>
		</p>
		{% endfor %}
		</div>
	{% endfor %}
</div>

{% endblock %}