add ability to delete peerings
+ format all files + fix "selected_peering" not being defined in /peerings/edit
This commit is contained in:
parent
ff4865f4b6
commit
537400f77a
10 changed files with 464 additions and 238 deletions
|
@ -182,7 +182,7 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
<form action="" method="post" class="flex" onsubmit="return form_validate(this)">
|
||||
<div id="peer-invalid-note" style="background-color:red;">{% if msg %}{{msg}}{%endif%}</div>
|
||||
<div id="peer-invalid-note" style="background-color:red;">{% if msg %}{{msg}}{%elif not selected_node%}please select one of the nodes above{%endif%}</div>
|
||||
<table>
|
||||
<tr>
|
||||
<td><label for="peer-asn">Your ASN</label></td>
|
||||
|
@ -283,8 +283,8 @@ protocol bgp dn42_{{config["MNT"][:-4].lower()}}_v6 from dnpeers {
|
|||
|
||||
};
|
||||
}
|
||||
</pre>
|
||||
</div>
|
||||
</pre>
|
||||
|
||||
</div>
|
||||
<script>
|
||||
document.onload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue