database setup for outsidethebox.top webhosting infrastructure project
https://data.outsidethebox.top
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
873 B
23 lines
873 B
{% extends "base.html" %} |
|
{% block content %} |
|
<div class="row between"> |
|
<h1>Import Hosts</h1> |
|
<div class="actions"> |
|
<a class="btn" href="{{ url_for('hosts_export') }}">Download CSV template/export</a> |
|
<a class="btn" href="{{ url_for('hosts') }}">Back</a> |
|
</div> |
|
</div> |
|
|
|
<div class="card"> |
|
<p>Upload a CSV file with columns matching the export format. Import will upsert by <code>fqdn</code>.</p> |
|
<form method="post" enctype="multipart/form-data"> |
|
<input type="file" name="csvfile" accept=".csv,text/csv" required> |
|
<button class="btn primary" type="submit">Import CSV</button> |
|
</form> |
|
</div> |
|
|
|
<div class="card"> |
|
<h3>CSV columns</h3> |
|
<div class="mono">zone, sub, fqdn, monitor_enabled, public_ip, private_ip, pve_host, client_name, email, country, package_type, dns_provider, host_expires_at, ssl_expires_at, notes</div> |
|
</div> |
|
{% endblock %}
|
|
|