2
0

console_connections_import.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {% extends '_base.html' %}
  2. {% load render_table from django_tables2 %}
  3. {% load form_helpers %}
  4. {% block title %}Console Connections Import{% endblock %}
  5. {% block content %}
  6. <h1>Console Connections Import</h1>
  7. <div class="row">
  8. <div class="col-md-6">
  9. <form action="." method="post" class="form">
  10. {% csrf_token %}
  11. {% render_form form %}
  12. <div class="form-group">
  13. <button type="submit" class="btn btn-primary">Submit</button>
  14. </div>
  15. </form>
  16. </div>
  17. <div class="col-md-6">
  18. <h4>CSV Format</h4>
  19. <table class="table">
  20. <thead>
  21. <tr>
  22. <th>Field</th>
  23. <th>Description</th>
  24. <th>Example</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. <tr>
  29. <td>Console server</td>
  30. <td>Device name or {ID}</td>
  31. <td>abc1-cs3</td>
  32. </tr>
  33. <tr>
  34. <td>Console server port</td>
  35. <td>Full CS port name</td>
  36. <td>Port 35</td>
  37. </tr>
  38. <tr>
  39. <td>Device</td>
  40. <td>Device name or {ID}</td>
  41. <td>abc1-switch7</td>
  42. </tr>
  43. <tr>
  44. <td>Console Port</td>
  45. <td>Console port name</td>
  46. <td>Console</td>
  47. </tr>
  48. <tr>
  49. <td>Connection Status</td>
  50. <td>"planned" or "connected"</td>
  51. <td>planned</td>
  52. </tr>
  53. </tbody>
  54. </table>
  55. <h4>Example</h4>
  56. <pre>abc1-cs3,Port 35,abc1-switch7,Console,planned</pre>
  57. </div>
  58. </div>
  59. {% endblock %}