Source

eyes / eyeswebapp / templates / core / monitor_detail.html

Full commit
{% extends 'base.html' %}
{% load eyes_filters %}

{% block title %}monitor {{monitor.name}} page{% endblock %}

{% block pagetitle %}{{monitor.name}}{% endblock %}

{% block content %}

<p>
	
</p>
<div data-role="collapsible" data-collapsed="true" data-theme="b">
	<h3>
	<img src="{{ MEDIA_URL }}img/{{ monitor|face_image }}">	<i>{{monitor.get_absolute_url}}</i>
	</h3>
	<p>host is <a href="{{monitor.host.get_absolute_url}}">{{monitor.host}}</a></p>
	<p>name is {{monitor.name}}</p>
	<p>state: {{monitor.state_display}}</p>
	<p>monitor last updated: {{monitor.modified}}</p>
	<p>Last update from poller: {{monitor.lastupdate}}</p>
	<p>state is {{monitor.latest_state}}</p>
	<p>alerting is {{monitor.alerting}}</p>
	<p>plugin_name is {{monitor.plugin_name}}</p>
	<p>json_argset is {{monitor.json_argset}}</p>    
</div>

<div data-role="collapsible" data-collapsed="true" data-theme="a">
	<h3>data stores</h3>
	
	{% for ds in monitor.datastore_set.all %}
	<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
	<li data-role="list-divider"><a href="{{ds.get_absolute_url}}">{{ds.name}}</a></li>
	</ul>
	<p><img src="{{ds.get_absolute_url}}png"></p>
	{% endfor %}
</div>
{% endblock %}