summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/reports/templates/clients/manage.html
blob: 61f0fe017c4155c8ee44d45b944d435f929493c3 (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
{% extends "base.html" %}
{% block extra_header_info %}
<script type="text/javascript" src="{% url Bcfg2.Server.Reports.reports.views.client_index %}../site_media/CalendarPopup.js"></script>
<script language="JavaScript" type="text/javascript">var cal = new CalendarPopup();</script>
{% endblock%}
{% block title %}{{client.name}}{% endblock %}

{% block content %}
<h2>Client Options Management page for {{client.name}}</h2><br/>
<p>Client status detail page: <a href="{% url Bcfg2.Server.Reports.reports.views.client_detail client.name %}">{{client.name}}</a>.</p>
<p>Hosts may be prevented from showing up in the reporting system if they have been retired, are no longer managed by bcfg2 :(, etc. </p>
<b>Select deactivation date: </b>
<div>
<span class="mini-date">
<b>Enter date or use calendar popup: </b>
</span>
<form name="timestamp-select" action="{% url Bcfg2.Server.Reports.reports.views.client_manage client.name %}" method="post">
<span class="mini-date">
<input type="text" name="date1" value="{{timestamp_date}}" size="10" />@
<input type="text" name="time" value="{{timestamp_time}}" size="8" />
<a href="#" onClick="cal.select(document.forms['timestamp-select'].date1,'anchor1','yyyy-MM-dd'); return false;"
   name="anchor1" ID="anchor1">Calendar</a>
<input type="submit" value="Submit">
</span></form>
<br/><br/><br/></div>
<br/><br/>
<p>{{message}}</p>

{% endblock %}