Remove unused partials loading from various template files
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'anatomy/base.html' %}
|
{% extends 'anatomy/base.html' %}
|
||||||
{% load partials %}
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% include 'anatomy/question_link_header.html' %}
|
{% include 'anatomy/question_link_header.html' %}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% partialdef case-series %}
|
{% partialdef case-series %}
|
||||||
{% for series in case.get_ordered_series %}
|
{% for series in case.get_ordered_series %}
|
||||||
<span class="series-block" id="series-block-{{ series.pk }}">
|
<span class="series-block" id="series-block-{{ series.pk }}">
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{% extends 'atlas/exams.html' %}
|
{% extends 'atlas/exams.html' %}
|
||||||
|
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% partialdef casedetails-management-links %}
|
{% partialdef casedetails-management-links %}
|
||||||
|
|
||||||
<div class="btn-toolbar" role="toolbar" aria-label="Case management links">
|
<div class="btn-toolbar" role="toolbar" aria-label="Case management links">
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
<!-- filepath: /home/ross/rad/rad/atlas/templates/atlas/linked_cases_overview.html -->
|
<!-- filepath: /home/ross/rad/rad/atlas/templates/atlas/linked_cases_overview.html -->
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Linked Cases Overview</h1>
|
<h1>Linked Cases Overview</h1>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% comment %} Minimal fragment rendering the exam-list partialdef for HTMX swaps. {% endcomment %}
|
{% comment %} Minimal fragment rendering the exam-list partialdef for HTMX swaps. {% endcomment %}
|
||||||
{% with exams=exams app_name=app_name marking=marking collection=collection %}
|
{% with exams=exams app_name=app_name marking=marking collection=collection %}
|
||||||
{% include "exam_list.html#exam-list" %}
|
{% include "exam_list.html#exam-list" %}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% partialdef publish-results %}
|
{% partialdef publish-results %}
|
||||||
<div class="exam-status-container d-flex align-items-center gap-2">
|
<div class="exam-status-container d-flex align-items-center gap-2">
|
||||||
<div class="me-2 small text-muted">Results</div>
|
<div class="me-2 small text-muted">Results</div>
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ INSTALLED_APPS = [
|
|||||||
'django_jsonforms',
|
'django_jsonforms',
|
||||||
'django_svelte_jsoneditor',
|
'django_svelte_jsoneditor',
|
||||||
'django_psutil_dash',
|
'django_psutil_dash',
|
||||||
'template_partials',
|
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#Django==3.2.13
|
#Django==3.2.13
|
||||||
Django==5.2.7
|
Django==6.0.1
|
||||||
django_debug_toolbar
|
django_debug_toolbar
|
||||||
django_jquery
|
django_jquery
|
||||||
django_reversion
|
django_reversion
|
||||||
@@ -52,7 +52,7 @@ git+https://github.com/xkjq/django-jsonforms.git@bump-json-editor-lib
|
|||||||
django_svelte_jsoneditor
|
django_svelte_jsoneditor
|
||||||
psutil
|
psutil
|
||||||
django-psutil-dash
|
django-psutil-dash
|
||||||
django-template-partials
|
|
||||||
easy_thumbnails
|
easy_thumbnails
|
||||||
requests
|
requests
|
||||||
pygments
|
pygments
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{% extends 'sbas/base.html' %}
|
{% extends 'sbas/base.html' %}
|
||||||
|
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% partialdef links-partial %}
|
{% partialdef links-partial %}
|
||||||
|
|
||||||
<div class="btn-group mt-3 mt-md-0" role="group" aria-label="Actions">
|
<div class="btn-group mt-3 mt-md-0" role="group" aria-label="Actions">
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{% extends 'sbas/base.html' %}
|
{% extends 'sbas/base.html' %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% load partials %}
|
|
||||||
{% load crispy_forms_tags %}
|
{% load crispy_forms_tags %}
|
||||||
|
|
||||||
{% block js %}
|
{% block js %}
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{% extends 'sbas/base.html' %}
|
{% extends 'sbas/base.html' %}
|
||||||
|
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Filtered questions</h2>
|
<h2>Filtered questions</h2>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{% extends 'sbas/base.html' %}
|
{% extends 'sbas/base.html' %}
|
||||||
|
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h2>Review Questions</h2>
|
<h2>Review Questions</h2>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% partialdef viewer %}
|
{% partialdef viewer %}
|
||||||
<div style="height: 100vh; width: 95%, mangin: 0; padding: 0; overflow: hidden;">
|
<div style="height: 100vh; width: 95%, mangin: 0; padding: 0; overflow: hidden;">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% partialdef login-block %}
|
{% partialdef login-block %}
|
||||||
Logging in here allows your account to be linked with CIMAR. You may periodically need to re-login to keep the link active.
|
Logging in here allows your account to be linked with CIMAR. You may periodically need to re-login to keep the link active.
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{% extends app_name|add:'/base.html' %}
|
{% extends app_name|add:'/base.html' %}
|
||||||
|
|
||||||
{% load partials %}
|
|
||||||
|
|
||||||
{% partialdef exam-list %}
|
{% partialdef exam-list %}
|
||||||
<ul class="exam-list exam-list-active">
|
<ul class="exam-list exam-list-active">
|
||||||
{% for exam in exams %}
|
{% for exam in exams %}
|
||||||
|
|||||||
Reference in New Issue
Block a user