Source

eyes / eyeswebapp / templates / core / monitor_list.html

{% extends 'base.html' %}
{% block title %}index page{% endblock %}

{% block content-header %}Eyes{% endblock %}

{% block content %}
{% if monitors_in_error %}
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
	<li data-role="list-divider">Monitors (ERROR)</li>
	{% for monitor in monitors_in_error %}
	  <li><a href="{{monitor.get_absolute_url}}">{{monitor}}</a></li>
	{% endfor %}
</ul>{% endif %}

{% if monitors_in_warning %}
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
	<li data-role="list-divider">Monitors (WARNING)</li>
	{% for monitor in monitors_in_warning %}
	  <li><a href="{{monitor.get_absolute_url}}">{{monitor}}</a></li>
	{% endfor %}
</ul>{% endif %}

{% if monitors_in_unknown %}
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
	<li data-role="list-divider">Monitors (UNKNOWN)</li>
	{% for monitor in monitors_in_unknown %}
	  <li><a href="{{monitor.get_absolute_url}}">{{monitor}}</a></li>
	{% endfor %}
</ul>{% endif %}

{% if monitor_list %}
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
	<li data-role="list-divider">Monitors</li>
	{% for monitor in monitor_list %}
	  <li><a href="{{monitor.get_absolute_url}}">{{monitor}}</a></li>
	{% endfor %}
</ul>{% endif %}

{% if form %}<div data-role="collapsible" data-collapsed="true" data-theme="a">
	<h3>New Monitor</h3>
	<form method='POST' action=".">
		{% for field in form %}
		<div data-role="fieldcontain">
			{{field.errors}}
			{{field.label_tag}} {{field}}
		</div>	
		{% endfor %}
		<div data-role="fieldcontain">
			<input type="submit" value="Submit">
		</div>
	</form>
</div>{% endif %}

{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.