You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
623 B
HTML
33 lines
623 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container" style="text-align:center;">
|
|
|
|
<div class="title">
|
|
<h3>Add Node</h3>
|
|
</div>
|
|
|
|
{% for node in nodes %}
|
|
{{ node }}<br>
|
|
{% endfor %}
|
|
|
|
<form id="addnode" method="POST">
|
|
<label>Node URL:</label>
|
|
<input type="text" name="url"/>
|
|
<input type="submit" value="Submit" name="submit" class="submit" id="submit" />
|
|
</form>
|
|
|
|
|
|
{% if page > 1 %}
|
|
<a href="/?page={{ page - 1 }}">Back</a>
|
|
{% endif %}
|
|
|
|
{% if page < total_pages and total_pages > 0 %}
|
|
<a href="/?page={{ page + 1 }}">Next</a>
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|