Source

eyes / eyeswebapp / templates / core / monitor_list.html

Full commit
{% 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 %}

<form><div data-role="fieldcontain">
    <label for="search">Search Input:</label>
    <input type="search" name="password" id="search" value="" />
</div></form>
{% endblock %}