Merge branch 'Dunedan-remove-hardcoded-links'

This commit is contained in:
jeffrey forman 2015-06-03 20:04:59 -04:00
commit 15f6b6a924
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
{% block navigation %} {% block navigation %}
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li role="presentation" class="active">Actions</li> <li role="presentation" class="active">Actions</li>
<li role="presentation"><a href="/">Home</a></li> <li role="presentation"><a href="{% url "index" %}">Home</a></li>
<li role="presentation"><a href="{% url "server_list" %}">Server List</a></li> <li role="presentation"><a href="{% url "server_list" %}">Server List</a></li>
</ul> </ul>
{% endblock navigation %} {% endblock navigation %}

View File

@ -3,7 +3,7 @@
{% block pageheader %}Add CNAME record for {{ originating_record }}{% endblock pageheader %} {% block pageheader %}Add CNAME record for {{ originating_record }}{% endblock pageheader %}
{% block body %} {% block body %}
<form class="form-horizontal" action="/add_cname_record/result/" method="post">{% csrf_token %} <form class="form-horizontal" action="{% url "add_cname_result" %}" method="post">{% csrf_token %}
<legend>Create CNAME record</legend> <legend>Create CNAME record</legend>
<div class="form-group"> <div class="form-group">
<label for="id_dns_server" class="control-label col-md-2">DNS Server</label> <label for="id_dns_server" class="control-label col-md-2">DNS Server</label>

View File

@ -3,7 +3,7 @@
{% block pageheader %}Add record in {{ zone_name }}{% endblock pageheader %} {% block pageheader %}Add record in {{ zone_name }}{% endblock pageheader %}
{% block body %} {% block body %}
<form class="form-horizontal" action="/add_record/result/" method="POST">{% csrf_token %} <form class="form-horizontal" action="{% url "add_record_result" %}" method="POST">{% csrf_token %}
<legend>Create Record</legend> <legend>Create Record</legend>
<div class="form-group"> <div class="form-group">
<label for="id_dns_server" class="control-label col-md-2">DNS Server</label> <label for="id_dns_server" class="control-label col-md-2">DNS Server</label>

View File

@ -3,7 +3,7 @@
{% block pageheader %}Delete record(s) in {{ zone_name }}{% endblock pageheader %} {% block pageheader %}Delete record(s) in {{ zone_name }}{% endblock pageheader %}
{% block body %} {% block body %}
<form action="/delete_record/result/" method="POST"> <form action="{% url "delete_record_result" %}" method="POST">
{% csrf_token %} {% csrf_token %}
<table class="sortable table table-hover"> <table class="sortable table table-hover">
<tr> <tr>