/usr/share/bcfg2/Hostbase/templates/confirm.html is in bcfg2-server 1.3.3-1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | {% extends "base.html" %}
{% block pagebanner %}
<div class="header">
<h2>Confirm Removal</h2>
</div>
<br/>
{% endblock %}
{% block sidebar %}
{% include "navbar.tmpl" %}
{% include "logout.tmpl" %}
{% endblock %}
{% block content %}
<form name="input" action="confirm.html?sub=true" method="post">
Are you sure you want to remove these items?
{% if interface %}
<ul>
<li> interface: {{ interface.mac_addr }} </li>
{% endif %}
{% if ips %}
<ul>
{% for ip in ips %}
<li> ip: {{ ip.ip_addr }} </li>
<ul>
{% for name in names %}
{% ifequal name.0 ip.id %}
<li> name: {{ name.1.name }} </li>
<ul>
{% endifequal %}
{% for cname in cnames %}
{% ifequal cname.0 name.1.id %}
<li> cname: {{ cname.1.name }} </li>
{% endifequal %}
{% endfor %}
</ul>
<ul>
{% for mx in mxs %}
{% ifequal mx.0 name.1.id %}
<li> mx: {{ mx.1.priority }} {{ mx.1.mx }} </li>
{% endifequal %}
{% endfor %}
</ul>
{% endfor %}
</ul>
{% endfor %}
</ul>
{% endif %}
{% if names and not ips %}
<ul>
{% for name in names %}
<li> name: {{ name.name }} </li>
<ul>
{% for cname in cnames %}
{% ifequal cname.0 name.id %}
<li> cname: {{ cname.1.cname }} </li>
{% endifequal %}
{% endfor %}
</ul>
<ul>
{% for mx in mxs %}
{% ifequal mx.0 name.id %}
<li> mx: {{ mx.1.priority }} {{ mx.1.mx }} </li>
{% endifequal %}
{% endfor %}
</ul>
{% endfor %}
</ul>
{% endif %}
{% if cnames and not names %}
<ul>
{% for cname in cnames %}
<li> cname: {{ cname.cname }} </li>
{% endfor %}
</ul>
{% endif %}
{% if mxs and not names %}
<ul>
{% for mx in mxs %}
<li> mx: {{ mx.priority }} {{ mx.mx }} </li>
{% endfor %}
</ul>
{% endif %}
{% if interface %}
</ul>
{% endif %}
{% if zone_id %}
<ul>
{% ifequal type 'zonemx' %}
<li> mx: {{ zonemx.priority }} {{ zonemx.mx }} </li>
{% endifequal %}
{% ifequal type 'nameserver' %}
<li> nameserver: {{ nameserver.name }} </li>
{% endifequal %}
{% ifequal type 'address' %}
<li> address: {{ address.ip_addr }} </li>
{% endifequal %}
</ul>
{% endif %}
<input type="submit" value="confirm">
<input type="reset" value="cancel" onclick="history.back()">
</form>
{% endblock %}
|