diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Hostbase/hostbase/webtemplates/search.html')
-rw-r--r-- | src/lib/Bcfg2/Server/Hostbase/hostbase/webtemplates/search.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Hostbase/hostbase/webtemplates/search.html b/src/lib/Bcfg2/Server/Hostbase/hostbase/webtemplates/search.html new file mode 100644 index 000000000..409d418fe --- /dev/null +++ b/src/lib/Bcfg2/Server/Hostbase/hostbase/webtemplates/search.html @@ -0,0 +1,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.tmpl" %} +{% 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 %} |