38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
{% extends 'administrator/_layout.auth.html' %}
|
|
|
|
{% block title %}Datacenters{% endblock %}
|
|
|
|
{% block subtitle %}New datacenter{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="{{ url_for('administrator.datacenters_create') }}" method="post">
|
|
<table class="table table-bordered">
|
|
<tr>
|
|
<td>Name</td>
|
|
<td><input type="text" name="name" value="" class="form-control" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Code</td>
|
|
<td><input type="text" name="code" value="" class="form-control" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Country</td>
|
|
<td><input type="text" name="country" value="" class="form-control" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>City</td>
|
|
<td><input type="text" name="city" value="" class="form-control" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Status</td>
|
|
<td>
|
|
<select name="status">
|
|
<option value="1">Active</option>
|
|
<option value="0">Inactive</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<input type="submit" value="create datacenter" class="btn btn-success">
|
|
</form>
|
|
{% endblock %}
|