Source

eyes / eyeswebapp / templates / core / host_list.html

Full commit
{% extends 'base.html' %}
{% block title %}Host List{% endblock %}

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

{% block content %}
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
	<li data-role="list-divider">Hosts</li>
	{% for host in host_list %}
	  <li><a href="{{host.get_absolute_url}}">{{host}}</a></li>
	{% endfor %}
</ul>

<div data-role="collapsible" data-collapsed="true" data-theme="b">
	<h3>Add Host</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>
	
{% endblock %}