From 870f44d5e47e269b4c73918029a9e6ecdfb70962 Mon Sep 17 00:00:00 2001 From: meeb Date: Sun, 6 Dec 2020 19:11:18 +1100 Subject: [PATCH] remove logs, replaced by tasks and completed tasks --- app/common/templates/base.html | 1 - app/sync/templates/sync/logs.html | 11 ----------- app/sync/urls.py | 8 +------- app/sync/views.py | 1 - 4 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 app/sync/templates/sync/logs.html diff --git a/app/common/templates/base.html b/app/common/templates/base.html index 862585f0..d02de57a 100644 --- a/app/common/templates/base.html +++ b/app/common/templates/base.html @@ -32,7 +32,6 @@
  • Sources
  • Media
  • Tasks
  • -
  • Logs
  • diff --git a/app/sync/templates/sync/logs.html b/app/sync/templates/sync/logs.html deleted file mode 100644 index 6576be9a..00000000 --- a/app/sync/templates/sync/logs.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'base.html' %} - -{% block headtitle %}Logs{% endblock %} - -{% block content %} -
    -
    - logs -
    -
    -{% endblock %} diff --git a/app/sync/urls.py b/app/sync/urls.py index d60386a4..4769b55e 100644 --- a/app/sync/urls.py +++ b/app/sync/urls.py @@ -1,7 +1,7 @@ from django.urls import path from .views import (DashboardView, SourcesView, ValidateSourceView, AddSourceView, SourceView, UpdateSourceView, DeleteSourceView, MediaView, - MediaThumbView, MediaItemView, TasksView, LogsView) + MediaThumbView, MediaItemView, TasksView) app_name = 'sync' @@ -61,10 +61,4 @@ urlpatterns = [ TasksView.as_view(), name='tasks'), - # Log URLs - - path('logs', - LogsView.as_view(), - name='logs'), - ] diff --git a/app/sync/views.py b/app/sync/views.py index 2b6a6489..4b59f9f3 100644 --- a/app/sync/views.py +++ b/app/sync/views.py @@ -359,7 +359,6 @@ class TasksView(TemplateView): return super().dispatch(request, *args, **kwargs) -class LogsView(TemplateView): ''' The last X days of logs. '''