diff --git a/advlabdb/templates/admin/actions.html b/advlabdb/templates/admin/actions.html
deleted file mode 100644
index cd645d8..0000000
--- a/advlabdb/templates/admin/actions.html
+++ /dev/null
@@ -1,34 +0,0 @@
-{% import 'admin/static.html' as admin_static with context %}
-
-{% macro dropdown(actions, btn_class='nav-link dropdown-toggle') -%}
- {{ _gettext('With selected') }}
-
-{% endmacro %}
-
-{% macro form(actions, url) %}
- {% if actions %}
-
- {% block fa_form %}
- {{ lib.render_form(form, dir_url, action=request.url, is_modal=True) }}
- {% endblock %}
-
-{% endblock %}
-
-{% block tail %}
-
-{% endblock %}
diff --git a/advlabdb/templates/admin/index.html b/advlabdb/templates/admin/index.html
deleted file mode 100644
index fbfdf4c..0000000
--- a/advlabdb/templates/admin/index.html
+++ /dev/null
@@ -1,4 +0,0 @@
-{% extends 'admin/master.html' %}
-
-{% block body %}
-{% endblock %}
diff --git a/advlabdb/templates/admin/layout.html b/advlabdb/templates/admin/layout.html
deleted file mode 100644
index 0ffb212..0000000
--- a/advlabdb/templates/admin/layout.html
+++ /dev/null
@@ -1,107 +0,0 @@
-{% macro menu_icon(item) -%}
- {% set icon_type = item.get_icon_type() %}
- {%- if icon_type %}
- {% set icon_value = item.get_icon_value() %}
- {% if icon_type == 'glyph' %}
-
- {% else %}
-
- {% endif %}
- ×
- {{ m }}
-
- {% endfor %}
- {% endif %}
- {% endwith %}
-{% endmacro %}
diff --git a/advlabdb/templates/admin/lib.html b/advlabdb/templates/admin/lib.html
deleted file mode 100644
index 40db5bb..0000000
--- a/advlabdb/templates/admin/lib.html
+++ /dev/null
@@ -1,292 +0,0 @@
-{% import 'admin/static.html' as admin_static with context %}
-
-{# ---------------------- Pager -------------------------- #}
-{% macro pager(page, pages, generator) -%}
-{% if pages > 1 %}
-
-{% endif %}
-{%- endmacro %}
-
-{% macro simple_pager(page, have_next, generator) -%}
-
-{%- endmacro %}
-
-{# ---------------------- Modal Window ------------------- #}
-{% macro add_modal_window(modal_window_id='fa_modal_window', modal_label_id='fa_modal_label') %}
-
-
- {# bootstrap version > 3.1.0 required for this to work #}
-
-
-
-
-{% endmacro %}
-
-{% macro add_modal_button(url='', title='', content='', modal_window_id='fa_modal_window', btn_class='icon') %}
-
- {{ content|safe }}
-
-{% endmacro %}
-
-{# ---------------------- Forms -------------------------- #}
-{% macro render_field(form, field, kwargs={}, caller=None) %}
- {% set direct_error = h.is_field_error(field.errors) %}
- {% set prepend = kwargs.pop('prepend', None) %}
- {% set append = kwargs.pop('append', None) %}
-
-{% endmacro %}
-
-{% macro render_header(form, text) %}
-
{{ text }}
-{% endmacro %}
-
-{% macro render_form_fields(form, form_opts=None) %}
- {% if form.hidden_tag is defined %}
- {{ form.hidden_tag() }}
- {% else %}
- {% if csrf_token %}
-
- {% endif %}
- {% for f in form if f.widget.input_type == 'hidden' %}
- {{ f }}
- {% endfor %}
- {% endif %}
-
- {% if form_opts and form_opts.form_rules %}
- {% for r in form_opts.form_rules %}
- {{ r(form, form_opts=form_opts) }}
- {% endfor %}
- {% else %}
- {% for f in form if f.widget.input_type != 'hidden' %}
- {% if form_opts %}
- {% set kwargs = form_opts.widget_args.get(f.short_name, {}) %}
- {% else %}
- {% set kwargs = {} %}
- {% endif %}
- {{ render_field(form, f, kwargs) }}
- {% endfor %}
- {% endif %}
-{% endmacro %}
-
-{% macro form_tag(form=None, action=None) %}
-
-{% endmacro %}
-
-{% macro render_form_buttons(cancel_url, extra=None, is_modal=False) %}
- {% if is_modal %}
-
- {% if extra %}
- {{ extra }}
- {% endif %}
- {% if cancel_url %}
-
{{ _gettext('Cancel') }}
- {% endif %}
- {% else %}
-
-
- {% endif %}
-{% endmacro %}
-
-{% macro render_form(form, cancel_url, extra=None, form_opts=None, action=None, is_modal=False) -%}
- {% call form_tag(action=action) %}
- {{ render_form_fields(form, form_opts=form_opts) }}
- {{ render_form_buttons(cancel_url, extra, is_modal) }}
- {% endcall %}
-{% endmacro %}
-
-{% macro form_css() %}
-
-
-
- {% if config.MAPBOX_MAP_ID %}
-
-
- {% endif %}
- {% if editable_columns %}
-
- {% endif %}
-{% endmacro %}
-
-{% macro form_js() %}
- {% if config.MAPBOX_MAP_ID %}
-
-
-
- {% if config.MAPBOX_SEARCH %}
-
-
- {% endif %}
- {% endif %}
-
- {% if editable_columns %}
-
- {% endif %}
-
-{% endmacro %}
-
-{% macro extra() %}
- {% if admin_view.can_create %}
-
- {% endif %}
- {% if admin_view.can_edit %}
-
- {% endif %}
-{% endmacro %}
diff --git a/advlabdb/templates/admin/master.html b/advlabdb/templates/admin/master.html
deleted file mode 100644
index 8f27dad..0000000
--- a/advlabdb/templates/admin/master.html
+++ /dev/null
@@ -1 +0,0 @@
-{% extends admin_base_template %}
diff --git a/advlabdb/templates/admin/model/create.html b/advlabdb/templates/admin/model/create.html
deleted file mode 100644
index 1620f24..0000000
--- a/advlabdb/templates/admin/model/create.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% extends 'admin/master.html' %}
-{% import 'admin/lib.html' as lib with context %}
-{% from 'admin/lib.html' import extra with context %} {# backward compatible #}
-
-{% block head %}
- {{ super() }}
- {{ lib.form_css() }}
-{% endblock %}
-
-{% block body %}
- {% block navlinks %}
-
- {% endblock %}
-
- {% block create_form %}
- {{ lib.render_form(form, return_url, extra(), form_opts) }}
- {% endblock %}
-{% endblock %}
-
-{% block tail %}
- {{ super() }}
- {{ lib.form_js() }}
-{% endblock %}
diff --git a/advlabdb/templates/admin/model/details.html b/advlabdb/templates/admin/model/details.html
deleted file mode 100644
index f4017e3..0000000
--- a/advlabdb/templates/admin/model/details.html
+++ /dev/null
@@ -1,52 +0,0 @@
-{% extends 'admin/master.html' %}
-{% import 'admin/lib.html' as lib with context %}
-
-{% block body %}
- {% block navlinks %}
-
- {% endblock %}
-
- {% block details_search %}
-
- {{ _gettext('Filter') }}
-
-
- {% endblock %}
-
- {% block details_table %}
-
- {% for c, name in details_columns %}
-
-
- {{ name }}
-
-
- {{ get_value(model, c) }}
-
-
- {% endfor %}
-
- {% endblock %}
-{% endblock %}
-
-{% block tail %}
- {{ super() }}
-
-{% endblock %}
diff --git a/advlabdb/templates/admin/model/edit.html b/advlabdb/templates/admin/model/edit.html
deleted file mode 100644
index c5631a8..0000000
--- a/advlabdb/templates/admin/model/edit.html
+++ /dev/null
@@ -1,40 +0,0 @@
-{% extends 'admin/master.html' %}
-{% import 'admin/lib.html' as lib with context %}
-{% from 'admin/lib.html' import extra with context %} {# backward compatible #}
-
-{% block head %}
- {{ super() }}
- {{ lib.form_css() }}
-{% endblock %}
-
-{% block body %}
- {% block navlinks %}
-
- {% endblock %}
-
- {% block edit_form %}
- {{ lib.render_form(form, return_url, extra(), form_opts) }}
- {% endblock %}
-{% endblock %}
-
-{% block tail %}
- {{ super() }}
- {{ lib.form_js() }}
-{% endblock %}
diff --git a/advlabdb/templates/admin/model/inline_field_list.html b/advlabdb/templates/admin/model/inline_field_list.html
deleted file mode 100644
index b19dc2e..0000000
--- a/advlabdb/templates/admin/model/inline_field_list.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% import 'admin/model/inline_list_base.html' as base with context %}
-
-{% macro render_field(field) %}
- {{ field }}
-
- {% if h.is_field_error(field.errors) %}
-
- {% endif %}
-{% endmacro %}
-
-{{ base.render_inline_fields(field, template, render_field, check) }}
diff --git a/advlabdb/templates/admin/model/inline_form.html b/advlabdb/templates/admin/model/inline_form.html
deleted file mode 100644
index 6ae3f6c..0000000
--- a/advlabdb/templates/admin/model/inline_form.html
+++ /dev/null
@@ -1,4 +0,0 @@
-{% import 'admin/lib.html' as lib with context %}
-
- {{ lib.render_form_fields(field.form, form_opts=form_opts) }}
-
diff --git a/advlabdb/templates/admin/model/inline_list_base.html b/advlabdb/templates/admin/model/inline_list_base.html
deleted file mode 100644
index 3f84c14..0000000
--- a/advlabdb/templates/admin/model/inline_list_base.html
+++ /dev/null
@@ -1,45 +0,0 @@
-{% macro render_inline_fields(field, template, render, check=None) %}
-
- {# existing inline form fields #}
-
- {% for subfield in field %}
-
- {%- if not check or check(subfield) %}
-
-
- {{ field.label.text }} #{{ loop.index }}
-
- {% if subfield.get_pk and subfield.get_pk() %}
-
-
{{ _gettext('Delete?') }}
- {% else %}
-
- {% endif %}
-
-
-
-
- {%- endif -%}
- {{ render(subfield) }}
-
- {% endfor %}
-
-
- {# template for new inline form fields #}
-
- {% filter forceescape %}
-
-
- {{ _gettext('New') }} {{ field.label.text }}
-
-
-
- {{ render(template) }}
-
- {% endfilter %}
-
-
{{ _gettext('Add') }} {{ field.label.text }}
-
-{% endmacro %}
diff --git a/advlabdb/templates/admin/model/layout.html b/advlabdb/templates/admin/model/layout.html
deleted file mode 100644
index 3766701..0000000
--- a/advlabdb/templates/admin/model/layout.html
+++ /dev/null
@@ -1,106 +0,0 @@
-{% macro filter_options(btn_class='dropdown-toggle') %}
-
{{ _gettext('Add Filter') }}
-
-{% endmacro %}
-
-{% macro export_options(btn_class='dropdown-toggle') %}
- {% if admin_view.export_types|length > 1 %}
-
- {{ _gettext('Export') }}
-
-
- {% else %}
-
- {{ _gettext('Export') }}
-
- {% endif %}
-{% endmacro %}
-
-{% macro filter_form() %}
-
-
-{% endmacro %}
-
-{% macro search_form(input_class="col-auto") %}
-
-{% endmacro %}
-
-{% macro page_size_form(generator, btn_class='nav-link dropdown-toggle') %}
-
- {{ page_size }} {{ _gettext('items') }}
-
-
-{% endmacro %}
diff --git a/advlabdb/templates/admin/model/list.html b/advlabdb/templates/admin/model/list.html
deleted file mode 100755
index b58a7e2..0000000
--- a/advlabdb/templates/admin/model/list.html
+++ /dev/null
@@ -1,198 +0,0 @@
-{% extends 'admin/master.html' %}
-{% import 'admin/lib.html' as lib with context %}
-{% import 'admin/static.html' as admin_static with context%}
-{% import 'admin/model/layout.html' as model_layout with context %}
-{% import 'admin/actions.html' as actionlib with context %}
-{% import 'admin/model/row_actions.html' as row_actions with context %}
-
-{% block head %}
- {{ super() }}
- {{ lib.form_css() }}
-{% endblock %}
-
-{% block body %}
- {% block model_menu_bar %}
-
-
- {{ _gettext('List') }}{% if count %} ({{ count }}){% endif %}
-
-
- {% if admin_view.can_create %}
-
- {%- if admin_view.create_modal -%}
- {{ lib.add_modal_button(url=get_url('.create_view', url=return_url, modal=True), btn_class='nav-link', title=_gettext('Create New Record'), content=_gettext('Create')) }}
- {% else %}
- {{ _gettext('Create') }}
- {%- endif -%}
-
- {% endif %}
-
- {% if admin_view.can_export %}
- {{ model_layout.export_options() }}
- {% endif %}
-
- {% block model_menu_bar_before_filters %}{% endblock %}
-
- {% if filters %}
-
- {{ model_layout.filter_options() }}
-
- {% endif %}
-
- {% if can_set_page_size %}
-
- {{ model_layout.page_size_form(page_size_url) }}
-
- {% endif %}
-
- {% if actions %}
-
- {{ actionlib.dropdown(actions) }}
-
- {% endif %}
-
- {% if search_supported %}
-
- {{ model_layout.search_form() }}
-
- {% endif %}
- {% block model_menu_bar_after_filters %}{% endblock %}
-
- {% endblock %}
-
- {% if filters %}
- {{ model_layout.filter_form() }}
-
- {% endif %}
-
- {% block model_list_table %}
-
-
-
-
- {% block list_header scoped %}
- {% if actions %}
-
-
-
- {% endif %}
- {% block list_row_actions_header %}
- {% if admin_view.column_display_actions %}
-
- {% endif %}
- {% endblock %}
- {% for c, name in list_columns %}
- {% set column = loop.index0 %}
-
- {% if admin_view.is_sortable(c) %}
- {% if sort_column == column %}
-
- {{ name }}
- {% if sort_desc %}
-
- {% else %}
-
- {% endif %}
-
- {% else %}
- {{ name }}
- {% endif %}
- {% else %}
- {{ name }}
- {% endif %}
- {% if admin_view.column_descriptions.get(c) %}
-
- {% endif %}
-
- {% endfor %}
- {% endblock %}
-
-
- {% for row in data %}
-
- {% block list_row scoped %}
- {% if actions %}
-
-
-
- {% endif %}
- {% block list_row_actions_column scoped %}
- {% if admin_view.column_display_actions %}
-
- {% block list_row_actions scoped %}
- {% for action in list_row_actions %}
- {{ action.render_ctx(get_pk_value(row), row) }}
- {% endfor %}
- {% endblock %}
-
- {%- endif -%}
- {% endblock %}
-
- {% for c, name in list_columns %}
-
- {% if admin_view.is_editable(c) %}
- {% set form = list_forms[get_pk_value(row)] %}
- {% if form.csrf_token %}
- {{ form[c](pk=get_pk_value(row), display_value=get_value(row, c), csrf=form.csrf_token._value()) }}
- {% elif csrf_token %}
- {{ form[c](pk=get_pk_value(row), display_value=get_value(row, c), csrf=csrf_token()) }}
- {% else %}
- {{ form[c](pk=get_pk_value(row), display_value=get_value(row, c)) }}
- {% endif %}
- {% else %}
- {{ get_value(row, c) }}
- {% endif %}
-
- {% endfor %}
- {% endblock %}
-
- {% else %}
-
-
- {% block empty_list_message %}
-
- {{ admin_view.get_empty_list_message() }}
-
- {% endblock %}
-
-
- {% endfor %}
-
-
- {% block list_pager %}
- {% if num_pages is not none %}
- {{ lib.pager(page, num_pages, pager_url) }}
- {% else %}
- {{ lib.simple_pager(page, data|length == page_size, pager_url) }}
- {% endif %}
- {% endblock %}
- {% endblock %}
-
- {% block actions %}
- {{ actionlib.form(actions, get_url('.action_view')) }}
- {% endblock %}
-
- {%- if admin_view.edit_modal or admin_view.create_modal or admin_view.details_modal -%}
- {{ lib.add_modal_window() }}
- {%- endif -%}
-{% endblock %}
-
-{% block tail %}
- {{ super() }}
-
- {% if filter_groups %}
-
{{ filter_groups|tojson|safe }}
-
{{ active_filters|tojson|safe }}
- {% endif %}
- {{ lib.form_js() }}
-
-
-
-
- {{ actionlib.script(_gettext('Please select at least one record.'),
- actions,
- actions_confirmation) }}
-{% endblock %}
diff --git a/advlabdb/templates/admin/model/modals/create.html b/advlabdb/templates/admin/model/modals/create.html
deleted file mode 100644
index 3f5097f..0000000
--- a/advlabdb/templates/admin/model/modals/create.html
+++ /dev/null
@@ -1,36 +0,0 @@
-{% import 'admin/static.html' as admin_static with context%}
-{% import 'admin/lib.html' as lib with context %}
-
-{# store the jinja2 context for form_rules rendering logic #}
-{% set render_ctx = h.resolve_ctx() %}
-
-{% block body %}
-
-
- {% call lib.form_tag(action=url_for('.create_view', url=return_url)) %}
-
- {{ lib.render_form_fields(form, form_opts=form_opts) }}
-
-
- {% endcall %}
-
- {# "save and add" button is removed from modal (it won't function properly) #}
- {# % block create_form %}
- {{ lib.render_form(form, return_url, extra=None, form_opts=form_opts,
- action=url_for('.create_view', url=return_url),
- is_modal=True) }}
- {% endblock % #}
-
-
-{% endblock %}
-
-{% block tail %}
-
-{% endblock %}
diff --git a/advlabdb/templates/admin/model/modals/details.html b/advlabdb/templates/admin/model/modals/details.html
deleted file mode 100755
index 793b4d0..0000000
--- a/advlabdb/templates/admin/model/modals/details.html
+++ /dev/null
@@ -1,40 +0,0 @@
-{% import 'admin/static.html' as admin_static with context%}
-{% import 'admin/lib.html' as lib with context %}
-
-{% block body %}
-
-
-
- {% block details_search %}
-
- {{ _gettext('Filter') }}
-
-
- {% endblock %}
-
- {% block details_table %}
-
- {% for c, name in details_columns %}
-
-
- {{ name }}
-
-
- {{ get_value(model, c) }}
-
-
- {% endfor %}
-
- {% endblock %}
-
-{% endblock %}
-
-{% block tail %}
-
-
-{% endblock %}
diff --git a/advlabdb/templates/admin/model/modals/edit.html b/advlabdb/templates/admin/model/modals/edit.html
deleted file mode 100644
index dd9e777..0000000
--- a/advlabdb/templates/admin/model/modals/edit.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% import 'admin/static.html' as admin_static with context%}
-{% import 'admin/lib.html' as lib with context %}
-
-{# store the jinja2 context for form_rules rendering logic #}
-{% set render_ctx = h.resolve_ctx() %}
-
-{% block body %}
-
-
- {% call lib.form_tag(action=url_for('.edit_view', id=request.args.get('id'), url=return_url)) %}
-
- {{ lib.render_form_fields(form, form_opts=form_opts) }}
-
-
- {% endcall %}
-
-{% endblock %}
-
-{% block tail %}
-
-{% endblock %}
diff --git a/advlabdb/templates/admin/model/row_actions.html b/advlabdb/templates/admin/model/row_actions.html
deleted file mode 100644
index 74d65ca..0000000
--- a/advlabdb/templates/admin/model/row_actions.html
+++ /dev/null
@@ -1,38 +0,0 @@
-{% import 'admin/lib.html' as lib with context %}
-
-{% macro link(action, url, icon_class=None) %}
-
-
-
-{% endmacro %}
-
-{% macro view_row(action, row_id, row) %}
- {{ link(action, get_url('.details_view', id=row_id, url=return_url), 'fa fa-eye glyphicon glyphicon-eye-open') }}
-{% endmacro %}
-
-{% macro view_row_popup(action, row_id, row) %}
- {{ lib.add_modal_button(url=get_url('.details_view', id=row_id, url=return_url, modal=True), title=action.title, content='
') }}
-{% endmacro %}
-
-{% macro edit_row(action, row_id, row) %}
- {{ link(action, get_url('.edit_view', id=row_id, url=return_url), 'fa fa-pencil glyphicon glyphicon-pencil') }}
-{% endmacro %}
-
-{% macro edit_row_popup(action, row_id, row) %}
- {{ lib.add_modal_button(url=get_url('.edit_view', id=row_id, url=return_url, modal=True), title=action.title, content='
') }}
-{% endmacro %}
-
-{% macro delete_row(action, row_id, row) %}
-
-{% endmacro %}
diff --git a/advlabdb/templates/admin/rediscli/console.html b/advlabdb/templates/admin/rediscli/console.html
deleted file mode 100644
index 498fdcc..0000000
--- a/advlabdb/templates/admin/rediscli/console.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{% extends 'admin/master.html' %}
-{% import 'admin/lib.html' as lib with context %}
-{% import 'admin/static.html' as admin_static with context%}
-
-{% block head %}
- {{ super() }}
-
-{% endblock %}
-
-{% block body %}
-
-{% endblock %}
-
-{% block tail %}
- {{ super() }}
-
-
{{ admin_view.get_url('.execute_view')|tojson|safe }}
-
-{% endblock %}
diff --git a/advlabdb/templates/admin/rediscli/response.html b/advlabdb/templates/admin/rediscli/response.html
deleted file mode 100644
index f4a950a..0000000
--- a/advlabdb/templates/admin/rediscli/response.html
+++ /dev/null
@@ -1,32 +0,0 @@
-{% macro render(item, depth=0) %}
- {% set type = type_name(item) %}
-
- {% if type == 'tuple' or type == 'list' %}
- {% if not item %}
- Empty {{ type }}.
- {% else %}
- {% for n in item %}
- {{ loop.index }}) {{ render(n, depth + 1) }}
- {% endfor %}
- {% endif %}
- {% elif type == 'bool' %}
- {% if depth == 0 and item %}
- OK
- {% else %}
-
{{ item }}
- {% endif %}
- {% elif type == 'str' or type == 'unicode' %}
- "{{ item }}"
- {% elif type == 'bytes' %}
- "{{ item.decode('utf-8') }}"
- {% elif type == 'TextWrapper' %}
-
{{ item }}
- {% elif type == 'dict' %}
- {% for k, v in item.items() %}
- {{ loop.index }}) {{ k }} - {{ render(v, depth + 1) }}
- {% endfor %}
- {% else %}
- {{ item }}
- {% endif %}
-{% endmacro %}
-{{ render(result) }}
\ No newline at end of file
diff --git a/advlabdb/templates/admin/static.html b/advlabdb/templates/admin/static.html
deleted file mode 100644
index de632ee..0000000
--- a/advlabdb/templates/admin/static.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% macro url() -%}
- {{ get_url('{admin_endpoint}.static'.format(admin_endpoint=admin_view.admin.endpoint), *varargs, **kwargs) }}
-{%- endmacro %}
diff --git a/cli/maintain/copy_admin_templates/main.py b/cli/maintain/copy_admin_templates/main.py
deleted file mode 100644
index 242b2ad..0000000
--- a/cli/maintain/copy_admin_templates/main.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from pathlib import Path
-from shutil import copytree, rmtree
-
-import click
-from flask_admin import __file__ as flask_admin_path
-
-
-def _copy_admin_templates():
- src = Path(flask_admin_path).parent / "templates/bootstrap4/admin"
- if not src.is_dir():
- click.echo(click.style(f"Templates could not be found at {src}", fg="red"))
- return
-
- dist = Path("advlabdb/templates/admin")
- if dist.is_dir():
- if not click.confirm(
- click.style(f"The directory {dist} already exists! Do you want to overwrite it?", fg="yellow")
- ):
- return
-
- rmtree(dist)
- click.echo(click.style("Old templates deleted!", fg="yellow"))
-
- copytree(src, dist)
- click.echo(click.style(f"Copied {src} -> {dist}", fg="green"))
-
- click.echo(
- click.style(
- f"""
-_________
-| WARNING
-| -------
-| You might have to edit the file {dist}/base.html
-| by adding nav in the following way:
-| This line:\t
-| Becomes:\t
-|
-| This will prevent the navigation bar from expanding
-| such that some elements can not be seen.
-| Refer to this pull request:
-| https://github.com/flask-admin/flask-admin/pull/2233
-|
-| If the above pull request is merged and flask-admin
-| is on a new release after the merge,
-| then this step is not needed.
-_________
- """,
- fg="yellow",
- )
- )
diff --git a/manage.py b/manage.py
index bce49a6..3d9a6d8 100755
--- a/manage.py
+++ b/manage.py
@@ -4,7 +4,6 @@ import subprocess # nosec 404
import click
-from cli.maintain.copy_admin_templates.main import _copy_admin_templates
from cli.maintain.reset_admin_password.main import _reset_admin_password
from cli.setup.generate_secrets.main import _generate_secrets
from cli.setup.init_db.main import _init_db
@@ -70,14 +69,6 @@ def reset_admin_password():
_reset_admin_password(Manage)
-@maintain.command(
- short_help="Copy admin templates",
- help="Copy the templates from the Flask-Admin package. This is only needed if the templates should be updated to a new version after a new release of Flask-Admin.",
-)
-def copy_admin_templates():
- _copy_admin_templates()
-
-
@cli.group(
short_help="Test commands.",
help="Commands used to test AdvLabDB.",