2016-03-01 11:23:03 -05:00
|
|
|
{% extends '_base.html' %}
|
|
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% load form_helpers %}
|
|
|
|
|
|
|
|
{% block title %}Circuit Import{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>Circuit Import</h1>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<form action="." method="post" class="form">
|
|
|
|
{% csrf_token %}
|
|
|
|
{% render_form form %}
|
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
2017-01-23 14:07:26 -05:00
|
|
|
<a href="{% url return_url %}" class="btn btn-default">Cancel</a>
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<h4>CSV Format</h4>
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Field</th>
|
|
|
|
<th>Description</th>
|
|
|
|
<th>Example</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Circuit ID</td>
|
|
|
|
<td>Alphanumeric circuit identifier</td>
|
|
|
|
<td>IC-603122</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Provider</td>
|
|
|
|
<td>Name of circuit provider</td>
|
|
|
|
<td>TeliaSonera</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Type</td>
|
|
|
|
<td>Circuit type</td>
|
|
|
|
<td>Transit</td>
|
|
|
|
</tr>
|
2016-07-26 15:48:48 -04:00
|
|
|
<tr>
|
|
|
|
<td>Tenant</td>
|
|
|
|
<td>Name of tenant (optional)</td>
|
|
|
|
<td>Strickland Propane</td>
|
|
|
|
</tr>
|
2016-03-01 11:23:03 -05:00
|
|
|
<tr>
|
|
|
|
<td>Install Date</td>
|
|
|
|
<td>Date in YYYY-MM-DD format (optional)</td>
|
|
|
|
<td>2016-02-23</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Commit rate</td>
|
2016-06-20 15:58:18 -04:00
|
|
|
<td>Commited rate in Kbps (optional)</td>
|
2016-03-01 11:23:03 -05:00
|
|
|
<td>2000</td>
|
|
|
|
</tr>
|
2017-01-17 15:18:03 -05:00
|
|
|
<tr>
|
|
|
|
<td>Description</td>
|
|
|
|
<td>Short description (optional)</td>
|
|
|
|
<td>Primary for voice</td>
|
|
|
|
</tr>
|
2016-03-01 11:23:03 -05:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<h4>Example</h4>
|
2017-01-17 15:18:03 -05:00
|
|
|
<pre>IC-603122,TeliaSonera,Transit,Strickland Propane,2016-02-23,2000,Primary for voice</pre>
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|