Add first working draft of domain templating functionality

This commit is contained in:
Vadim Aleksandrov
2018-01-22 18:22:19 +03:00
parent b6ed658cbd
commit 52a5789c85
8 changed files with 889 additions and 6 deletions

View File

@@ -47,6 +47,15 @@
</label>
</div>
</div>
<div class="form-group">
<label>Select a template</label>
<select class="form-control" id="domain_template" name="domain_template">
<option value="0">No template</option>
{% for template in templates %}
<option value="{{ template.id }}">{{ template.name }}</option>
{% endfor %}
</select>
</div>
<div class="form-group" style="display: none;" id="domain_master_address_div">
<input type="text" class="form-control" name="domain_master_address" id="domain_master_address" placeholder="Enter valid master ip addresses (separated by commas)">
</div>