diff options
author | Michael Elkins <melkins@tislabs.com> | 2013-03-28 23:49:54 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2013-03-28 23:49:54 +0000 |
commit | 4e2db170657fcf45c116368775ade068b32b69a2 (patch) | |
tree | 74f57f81b80bded809610a257440504df7d81ea4 | |
parent | e84330cadb90b812becee4151cf5f6dc64e600c1 (diff) |
drop "requests" in a few more places in the html templates
svn path=/trunk/; revision=5242
-rw-r--r-- | rpkid/rpki/gui/app/templates/app/roarequest_form.html | 2 | ||||
-rw-r--r-- | rpkid/rpki/gui/app/templates/app/roarequest_multi_form.html | 2 | ||||
-rw-r--r-- | rpkid/rpki/gui/app/templates/app/routes_view.html | 50 |
3 files changed, 28 insertions, 26 deletions
diff --git a/rpkid/rpki/gui/app/templates/app/roarequest_form.html b/rpkid/rpki/gui/app/templates/app/roarequest_form.html index cded49f2..3a29131d 100644 --- a/rpkid/rpki/gui/app/templates/app/roarequest_form.html +++ b/rpkid/rpki/gui/app/templates/app/roarequest_form.html @@ -5,7 +5,7 @@ {% block content %} <div class='page-title'> - <h1>Create ROA Request</h1> + <h1>Create ROA</h1> </div> <script src='{{ STATIC_URL }}js/jquery-1.8.3.min.js'></script> diff --git a/rpkid/rpki/gui/app/templates/app/roarequest_multi_form.html b/rpkid/rpki/gui/app/templates/app/roarequest_multi_form.html index 5127733a..06d07943 100644 --- a/rpkid/rpki/gui/app/templates/app/roarequest_multi_form.html +++ b/rpkid/rpki/gui/app/templates/app/roarequest_multi_form.html @@ -3,7 +3,7 @@ {% block content %} <div class='page-title'> - <h1>Create ROA Requests</h1> + <h1>Create ROAs</h1> </div> <form method='POST' action='{{ request.get_full_path }}'> diff --git a/rpkid/rpki/gui/app/templates/app/routes_view.html b/rpkid/rpki/gui/app/templates/app/routes_view.html index 8e6edd3f..cafacd5a 100644 --- a/rpkid/rpki/gui/app/templates/app/routes_view.html +++ b/rpkid/rpki/gui/app/templates/app/routes_view.html @@ -25,30 +25,32 @@ This view shows currently advertised routes for the prefixes listed in resource <form method="POST" action="{% url "suggest-roas" %}"> {% csrf_token %} -<table class='table table-striped table-condensed'> - <thead> - <tr> - <th></th> - <th>Prefix</th> - <th>Origin AS</th> - <th>Validation Status</th> - </tr> - </thead> - <tbody> - {% for r in routes %} - <tr> - <td><input type="checkbox" name="pk-{{ r.pk }}"></td> - <td>{{ r.get_prefix_display }}</td> - <td>{{ r.asn }}</td> - <td> - {% validity_label r.status %} - <a href='{% url "rpki.gui.app.views.route_detail" r.pk %}' title='display ROAs covering this prefix'><i class="icon-info-sign"></i></a> - </td> - </tr> - {% endfor %} - </tbody> -</table> -<button type="submit" title="create ROAs for selected routes"><i class="icon-plus-sign"></i> Create ROAs</button> + <table class='table table-striped table-condensed'> + <thead> + <tr> + <th></th> + <th>Prefix</th> + <th>Origin AS</th> + <th>Validation Status</th> + </tr> + </thead> + <tbody> + {% for r in routes %} + <tr> + <td><input type="checkbox" name="pk-{{ r.pk }}"></td> + <td>{{ r.get_prefix_display }}</td> + <td>{{ r.asn }}</td> + <td> + {% validity_label r.status %} + <a href='{% url "rpki.gui.app.views.route_detail" r.pk %}' title='display ROAs covering this prefix'><i class="icon-info-sign"></i></a> + </td> + </tr> + {% endfor %} + </tbody> + </table> + <div class="form-actions"> + <button type="submit" title="create ROAs for selected routes"><i class="icon-plus-sign"></i> Create ROAs</button> + </div> </form> {% bootstrap_pager request routes %} |