From 467f5797fd740099b19ac56075a5d39b1ea6d152 Mon Sep 17 00:00:00 2001 From: GKJoker98 Date: Thu, 11 Feb 2021 20:41:09 +0100 Subject: [PATCH] remove template --- .../health_view/templates/base_generic.html | 56 ------------------- .../templates/health_view/book_detail.html | 27 --------- .../templates/health_view/book_list.html | 16 ------ .../bookinstance_list_borrowed_user.html | 19 ------- .../templates/health_view/create_license.html | 14 ----- .../templates/health_view/license_list.html | 20 ------- .../health_view/templates/index.html | 14 ----- 7 files changed, 166 deletions(-) delete mode 100644 Contentserver/drm_server/health_view/templates/base_generic.html delete mode 100644 Contentserver/drm_server/health_view/templates/health_view/book_detail.html delete mode 100644 Contentserver/drm_server/health_view/templates/health_view/book_list.html delete mode 100644 Contentserver/drm_server/health_view/templates/health_view/bookinstance_list_borrowed_user.html delete mode 100644 Contentserver/drm_server/health_view/templates/health_view/create_license.html delete mode 100644 Contentserver/drm_server/health_view/templates/health_view/license_list.html delete mode 100644 Contentserver/drm_server/health_view/templates/index.html diff --git a/Contentserver/drm_server/health_view/templates/base_generic.html b/Contentserver/drm_server/health_view/templates/base_generic.html deleted file mode 100644 index dc45776..0000000 --- a/Contentserver/drm_server/health_view/templates/base_generic.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - {% block title %}Gabriel's DRM{% endblock %} - - - - - {% load static %} - - - - - -
-
-
- {% block sidebar %} - - {% endblock %} -
-
{% block content %}{% endblock %}
-
-
- - - \ No newline at end of file diff --git a/Contentserver/drm_server/health_view/templates/health_view/book_detail.html b/Contentserver/drm_server/health_view/templates/health_view/book_detail.html deleted file mode 100644 index 5bcb874..0000000 --- a/Contentserver/drm_server/health_view/templates/health_view/book_detail.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "base_generic.html" %} - -{% block content %} -

Title: {{ book.title }}

- -

Author: {{ book.author }}

-

Summary: {{ book.summary }}

-

ISBN: {{ book.isbn }}

-

Language: {{ book.language }}

-

Genre: {{ book.genre.all|join:", " }}

- -
-

Copies

- - {% for copy in book.bookinstance_set.all %} -
-

- {{ copy.get_status_display }} -

- {% if copy.status != 'a' %} -

Due to be returned: {{ copy.due_back }}

- {% endif %} -

Imprint: {{ copy.imprint }}

-

Id: {{ copy.id }}

- {% endfor %} -
-{% endblock %} \ No newline at end of file diff --git a/Contentserver/drm_server/health_view/templates/health_view/book_list.html b/Contentserver/drm_server/health_view/templates/health_view/book_list.html deleted file mode 100644 index d4aed50..0000000 --- a/Contentserver/drm_server/health_view/templates/health_view/book_list.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "base_generic.html" %} - -{% block content %} -

Book List

- {% if book_list %} - - {% else %} -

There are no books in the library.

- {% endif %} -{% endblock %} \ No newline at end of file diff --git a/Contentserver/drm_server/health_view/templates/health_view/bookinstance_list_borrowed_user.html b/Contentserver/drm_server/health_view/templates/health_view/bookinstance_list_borrowed_user.html deleted file mode 100644 index 1004e12..0000000 --- a/Contentserver/drm_server/health_view/templates/health_view/bookinstance_list_borrowed_user.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "base_generic.html" %} - -{% block content %} -

Borrowed books

- - {% if bookinstance_list %} - - - {% else %} -

There are no books borrowed.

- {% endif %} -{% endblock %} \ No newline at end of file diff --git a/Contentserver/drm_server/health_view/templates/health_view/create_license.html b/Contentserver/drm_server/health_view/templates/health_view/create_license.html deleted file mode 100644 index 013e599..0000000 --- a/Contentserver/drm_server/health_view/templates/health_view/create_license.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base_generic.html" %} - -{% block content %} -

Creating Process...

- -
- {% csrf_token %} - - {{ form.as_p }} -
- -
- -{% endblock %} \ No newline at end of file diff --git a/Contentserver/drm_server/health_view/templates/health_view/license_list.html b/Contentserver/drm_server/health_view/templates/health_view/license_list.html deleted file mode 100644 index 64541bd..0000000 --- a/Contentserver/drm_server/health_view/templates/health_view/license_list.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "base_generic.html" %} - -{% block content %} -

Licenses

- {% if license_list %} -
    - {% for license in license_list %} -
  • - {% if request.get_full_path == "/health_view/mylicenses/" %} - {{ license.patient }} ({{license.justified}}) - {% else %} - {{ license.patient }} ({{license.justified}}) - {% endif %} -
  • - {% endfor %} -
- {% else %} -

There are no Licenses.

- {% endif %} -{% endblock %} \ No newline at end of file diff --git a/Contentserver/drm_server/health_view/templates/index.html b/Contentserver/drm_server/health_view/templates/index.html deleted file mode 100644 index 3bd0192..0000000 --- a/Contentserver/drm_server/health_view/templates/index.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base_generic.html" %} -{% block title %} -Gabriel's DRM -{% endblock %} -{% block content %} -

Local Health View

-

Welcome to Gabriel Kaufmann's DRM System!

-

Dynamic content

-

The System has the following record counts:

-
    -
  • User: {{ num_user }}
  • -
  • Licenses: {{ num_licenses }}
  • -
-{% endblock %}