mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-09-13 13:13:01 +02:00
Add: urlconf collector namespaces
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</svg>
|
||||
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{% url 'index' %}">Logs Collector <i class="bi bi-file-earmark-zip-fill"></i></a>
|
||||
<a class="navbar-brand" href="{% url 'collector:index' %}">Logs Collector <i class="bi bi-file-earmark-zip-fill"></i></a>
|
||||
<button
|
||||
class="navbar-toggler"
|
||||
type="button"
|
||||
@@ -40,7 +40,7 @@
|
||||
>Tickets</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a class="dropdown-item" href="{% url 'index' %}">All</a>
|
||||
<a class="dropdown-item" href="{% url 'collector:index' %}">All</a>
|
||||
</li>
|
||||
{% for platform in platforms %}
|
||||
<li>
|
||||
|
@@ -20,7 +20,7 @@
|
||||
type="checkbox"
|
||||
role="switch"
|
||||
id="ticket-state"
|
||||
ticket-state-url="{% url 'ajax_update_state_ticket' ticket.platform ticket.number %}"
|
||||
ticket-state-url="{% url 'collector:ajax_update_state_ticket' ticket.platform ticket.number %}"
|
||||
{% if ticket.resolved %} ticket-state-switch="1" {% endif %}
|
||||
{% if ticket.resolved %} checked {% endif %}>
|
||||
</div>
|
||||
@@ -126,7 +126,7 @@
|
||||
>Cancel
|
||||
</button>
|
||||
<a
|
||||
href="{% url 'download' archive.file %}"
|
||||
href="{% url 'collector:download' archive.file %}"
|
||||
type="button"
|
||||
class="btn btn-danger btn-archive-eraser"
|
||||
data-bs-dismiss="modal"
|
||||
@@ -157,10 +157,10 @@
|
||||
>Cancel</button>
|
||||
<a
|
||||
type="button"
|
||||
href="{% url 'ajax_delete_ticket' ticket.number %}"
|
||||
href="{% url 'collector:ajax_delete_ticket' ticket.number %}"
|
||||
class="btn btn-danger btn-ticket-del"
|
||||
data-bs-dismiss="modal"
|
||||
data-jq-ticket-del-redirect="{% url 'tickets' %}"
|
||||
data-jq-ticket-del-redirect="{% url 'collector:tickets' %}"
|
||||
>Delete</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user