mirrormanager-rocky/templates/rocky/host_acl_ip_new.html
2024-08-29 19:13:29 -04:00

32 lines
907 B
HTML

{% extends "master.html" %}
{% from "_formhelpers.html" import render_field %}
{% block title %}New Host ACL IP{% endblock %}
{%block tag %}home{% endblock %}
{% block content %}
{%- if config['MASTER_RSYNC_ACL'] -%}
<div class="card my-3 mx-auto col-6">
<div class="card-header">
<h6 class="mb-0">Add host ACL IP</h6>
</div>
<div class="card-body">
<p>
These host DNS names and/or IP addresses will be allowed to rsync from the
master rsync/ftp servers. List here all the machines that you use for
pulling.
</p>
<form action="{{ url_for('base.host_acl_ip_new', host_id=host.id) }}" method="POST">
<table>
{{ render_field(form.ip) }}
</table>
<p>
<input type="submit" class="btn btn-primary" value="Create">
{{ form.csrf_token }}
</p>
</form>
</div>
</div>
{%- endif -%}{# MASTER_RSYNC_ACL ##}
{% endblock %}