blob: e5bd0a6b3b83c3fb3b25efcf13cec6127b398f54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{% extends "base.html" %}
{% block pagebanner %}
<div class="header">
<h2>Welcome to Hostbase!</h2>
<p>search for hosts using one or more of the fields below
</div>
<br/>
{% endblock %}
{% block sidebar %}
<a href="/hostbase/new" class="sidebar">add a new host</a><br>
<a href="/hostbase/zones" class="sidebar">zone file information</a><br>
{% include "logout" %}
{% endblock %}
{% block content %}
{% comment %}
...or go to <a href="hostinfo">this</a>
page to enter hostinfo-like queries<br><br>
{% endcomment %}
<form name="input" action="?sub=true" method="post">
<fieldset class="module aligned ()">
<label for="hostname">hostname:</label><input name="hostname" type="text" ><br>
<label for="netgroup">netgroup:</label><input name="netgroup" type="text" ><br>
<label for="security_class">class:</label><input name="security_class" type="text" ><br>
<label for="support">support:</label><input name="support" type="text" ><br>
<label for="csi">csi:</label><input name="csi" type="text" ><br>
<label for="printq">printq:</label><input name="printq" type="text" ><br>
<label for="outbound_smtp">outbound_smtp:</label>
{% for choice in yesno %}
<input type="radio" name="outbound_smtp" value="{{ choice.0 }}" >{{ choice.1 }}
{% endfor %}<br>
<label for="primary_user">primary_user:</label><input name="primary_user" type="text" ><br>
<label for="administrator">administrator:</label><input name="administrator" type="text" ><br>
<label for="location">location:</label><input name="location" type="text" ><br>
<label for="expiration_date">expiration_date:</label><input name="expiration_date" type="text" ><br>
<br><label for="Interface">Interface:</label>
{% for choice in TYPE_CHOICES %}
<input type="radio" name="hdwr_type" value="{{ choice.0 }}" >{{ choice.1 }}
{% endfor %}<br>
<label for="dhcp">dhcp:</label>
{% for choice in yesno %}
<input type="radio" name="dhcp" value="{{ choice.0 }}" >{{ choice.1 }}
{% endfor %}<br>
<label for="mac_addr">mac_addr:</label><input name="mac_addr" type="text" ><br>
<label for="ip_addr">ip_addr:</label><input name="ip_addr" type="text" ><br>
<label for="dns_view">dns_viewer:</label>
{% for choice in DNS_CHOICES %}
<input type="radio" name="dns_view" value="{{ choice.0 }}" >{{ choice.1 }}
{% endfor %}<br>
<label for="mx">mx:</label><input name="mx" type="text" ><br>
<p>
<input type="submit" value="Search">
</form>
{% endblock %}
|