Browse Source

add instructions how to config https api on instance add #24

Roberto Berto 5 years ago
parent
commit
ee064b75d5
2 changed files with 10 additions and 0 deletions
  1. 6 0
      vycenter/config/templates/config/instance_add.html
  2. 4 0
      vycenter/s/main.css

+ 6 - 0
vycenter/config/templates/config/instance_add.html

@@ -1,5 +1,6 @@
 {% extends "base.html" %}
 
+
 {% block header_title %}Add new instance{% endblock %}
 {% block section_title %}Add new instance{% endblock %}
 
@@ -7,7 +8,12 @@
 
 {% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
 
+
+<p class="margin-topbottom">To add a new VyOS <a href="https://docs.vyos.io/en/latest/appendix/http-api.html" target="_blank">read documentation.</p>
+
 <form action="{% url 'config:instance-add' %}" method="post">
+
+
 {% csrf_token %}
 
 <p>

+ 4 - 0
vycenter/s/main.css

@@ -108,3 +108,7 @@ input[type=submit] {
 #lostpasswd {
   margin-top: 10px;
 }
+
+.margin-topbottom {
+  margin: 20px 0;  
+}