diff options
Diffstat (limited to 'portal-gui/rpkigui/templates/myrpki')
-rw-r--r-- | portal-gui/rpkigui/templates/myrpki/add_conf.html | 21 | ||||
-rw-r--r-- | portal-gui/rpkigui/templates/myrpki/conf_list.html | 17 | ||||
-rw-r--r-- | portal-gui/rpkigui/templates/myrpki/parent_resource.html | 15 | ||||
-rw-r--r-- | portal-gui/rpkigui/templates/myrpki/parent_view.html | 34 | ||||
-rw-r--r-- | portal-gui/rpkigui/templates/myrpki/resource_view.html | 43 | ||||
-rw-r--r-- | portal-gui/rpkigui/templates/myrpki/roaform.html | 13 | ||||
-rw-r--r-- | portal-gui/rpkigui/templates/myrpki/xml_import.html | 20 |
7 files changed, 0 insertions, 163 deletions
diff --git a/portal-gui/rpkigui/templates/myrpki/add_conf.html b/portal-gui/rpkigui/templates/myrpki/add_conf.html index b0994138..a3440e4a 100644 --- a/portal-gui/rpkigui/templates/myrpki/add_conf.html +++ b/portal-gui/rpkigui/templates/myrpki/add_conf.html @@ -21,24 +21,3 @@ {% endblock %} {% extends "base.html" %} - -{% block content %} -<h1>Add Configuration</h1> -<p>Please enter a unique handle for your RPKI instance. - -{% if errors %} -<ul> -{% for m in errors %} -<li class="errmsg">{{ m }} -{% endfor %} -</ul> -{% endif %} - -<form action="/myrpki/conf/add" method="post"> -<table> -{{ form.as_table }} -<tr><td><input type="submit" value="Submit" /></td></tr> -</table> -</form> - -{% endblock %} diff --git a/portal-gui/rpkigui/templates/myrpki/conf_list.html b/portal-gui/rpkigui/templates/myrpki/conf_list.html index 827994f4..9f350ef4 100644 --- a/portal-gui/rpkigui/templates/myrpki/conf_list.html +++ b/portal-gui/rpkigui/templates/myrpki/conf_list.html @@ -15,20 +15,3 @@ --> {% endblock %} -{% extends "base.html" %} - -{% block content %} -<h1>Handle List</h1> -<p>Please select a handle. - -<ul> -{% for c in conf_list %} -<li><a href="/myrpki/conf/select?handle={{ c.handle }}&next={{ next_url }}">{{ c.handle }}</a> -{% endfor %} -</ul> - -<!-- -<p><a href="/myrpki/conf/add?next={{ next_url }}">[create]</a> ---> - -{% endblock %} diff --git a/portal-gui/rpkigui/templates/myrpki/parent_resource.html b/portal-gui/rpkigui/templates/myrpki/parent_resource.html index b0b61a86..764207e4 100644 --- a/portal-gui/rpkigui/templates/myrpki/parent_resource.html +++ b/portal-gui/rpkigui/templates/myrpki/parent_resource.html @@ -13,18 +13,3 @@ </form> {% endblock %} -{% extends "base.html" %} - -{% block content %} - -<p>Handle: <a href="/myrpki/">{{ request.session.handle }}</a> - -<h1>Add Resource Range</h1> -<form action="{{ request.url }}" method="post"> -<table> -{{ form.as_table }} -</table> -<input type="submit" value="Submit" /> -</form> - -{% endblock %} diff --git a/portal-gui/rpkigui/templates/myrpki/parent_view.html b/portal-gui/rpkigui/templates/myrpki/parent_view.html index 5da574a2..1f1c2465 100644 --- a/portal-gui/rpkigui/templates/myrpki/parent_view.html +++ b/portal-gui/rpkigui/templates/myrpki/parent_view.html @@ -32,37 +32,3 @@ {% endif %} {% endblock %} -{% extends "base.html" %} - -{% block content %} -<p>Handle: <a href="/myrpki/">{{ request.session.handle.handle }}</a> -<h1>Parent View</h1> -<p>Parent: {{ parent.handle }} -<h2>Delegated Addresses</h2> -{% if parent.address_range.count %} -<table> - <tr><td>Low</td><td>High</td><td></td></tr> -{% for a in parent.address_range.all %} -<tr> - <td>{{ a.lo }}</td> - <td>{{ a.hi }}</td> - <td><a href="{{ a.get_absolute_url }}">view</a></td> -</tr> -{% endfor %} -</table> -{% else %} -<p>--none-- -{% endif %} - -<h2>Delegated ASNs</h2> -{% if parent.asn.count %} -<ul> -{% for a in parent.asn.all %} -<li><a href="{{ a.get_absolute_url }}">{{ a }}</a> -{% endfor %} -</ul> -{% else %} -<p>--none-- -{% endif %} - -{% endblock %} diff --git a/portal-gui/rpkigui/templates/myrpki/resource_view.html b/portal-gui/rpkigui/templates/myrpki/resource_view.html index 55dc1b46..e2992f4e 100644 --- a/portal-gui/rpkigui/templates/myrpki/resource_view.html +++ b/portal-gui/rpkigui/templates/myrpki/resource_view.html @@ -41,46 +41,3 @@ </form> {% endblock %} -{% extends "base.html" %} - -{% block content %} -<p>Handle: <a href="/myrpki/">{{ request.session.handle }}</a> -<h1>Resource Range View</h1> -<table> - <tr> - <td>Range:</td><td>{{ addr }}</td> - </tr> - <tr> - <td>Parent:</td> - <td><a href="{{ parent.get_absolute_url }}">{{ parent.handle }}</a></td> - </tr> - {% if addr.parent %} - <tr> - <td>Suballocated from:</td> - <td><a href="{{ addr.parent.get_absolute_url }}">{{ addr.parent }}</a></td> - </tr> - {% endif %} -</table> - -<h2>Suballocations</h2> - -{% if addr.children.count %} - -<ul> -{% for subaddr in addr.children.all %} -<li><a href="{{ subaddr.get_absolute_url }}">{{ subaddr }}</a> -{% endfor %} -</ul> - -{% else %} - -<p>--none-- - -{% endif %} - -<form action="{{ request.url }}" method="post"> - {{ form.as_p }} - <p><input type="submit" value="Submit"> -</form> - -{% endblock %} diff --git a/portal-gui/rpkigui/templates/myrpki/roaform.html b/portal-gui/rpkigui/templates/myrpki/roaform.html index 2678ed12..c81d0ae8 100644 --- a/portal-gui/rpkigui/templates/myrpki/roaform.html +++ b/portal-gui/rpkigui/templates/myrpki/roaform.html @@ -11,16 +11,3 @@ </form> {% endblock %} -{% extends "base.html" %} - -{% block content %} -<h1>Edit ROA</h1> - -<p>Handle: <a href="/myrpki/">{{ request.session.handle }}</a> - -<form action="{{ request.url }}" method="POST"> -{{ form.as_p }} -<p><input type="submit" value="Submit"> -</form> - -{% endblock %} diff --git a/portal-gui/rpkigui/templates/myrpki/xml_import.html b/portal-gui/rpkigui/templates/myrpki/xml_import.html index bdd449ad..e26830e3 100644 --- a/portal-gui/rpkigui/templates/myrpki/xml_import.html +++ b/portal-gui/rpkigui/templates/myrpki/xml_import.html @@ -18,23 +18,3 @@ </form> {% endblock %} -{% extends "base.html" %} - -{% block content %} -<h1>Import {{ kind }}</h1> -<p>Handle: {{ request.session.handle }} -<p>Please select the xml file containing the identity of the <strong>{{ kind }}</strong> to import. -{% if errors %} -<ul> -{% for e in errors %} -<li>{{ e }} -{% endfor %} -</ul> -{% endif %} - -<form enctype="multipart/form-data" action="{{ post_url }}" method="post"> -{{ form.as_p }} -<input type="submit" value="Submit" /> -</form> - -{% endblock %} |