Remove liburl logic, config for jquery

This commit is contained in:
Lance Edgar 2023-02-03 17:32:39 -06:00
parent 976a5836a9
commit b67df1328b
2 changed files with 0 additions and 22 deletions

View file

@ -151,12 +151,6 @@ def get_libver(request, key, fallback=True, default_only=False):
elif key == 'fontawesome': elif key == 'fontawesome':
return '5.3.1' return '5.3.1'
elif key == 'jquery':
return '1.12.4'
elif key == 'jquery_ui':
return '1.11.4'
def get_liburl(request, key, fallback=True): def get_liburl(request, key, fallback=True):
""" """
@ -188,12 +182,6 @@ def get_liburl(request, key, fallback=True):
elif key == 'fontawesome': elif key == 'fontawesome':
return 'https://use.fontawesome.com/releases/v{}/js/all.js'.format(version) return 'https://use.fontawesome.com/releases/v{}/js/all.js'.format(version)
elif key == 'jquery':
return 'https://code.jquery.com/jquery-{}.min.js'.format(version)
elif key == 'jquery_ui':
return 'https://code.jquery.com/ui/{}/themes/dark-hive/jquery-ui.css'.format(version)
def pretty_datetime(config, value): def pretty_datetime(config, value):
""" """

View file

@ -106,8 +106,6 @@ class AppInfoView(MasterView):
('buefy', "Buefy"), ('buefy', "Buefy"),
('buefy.css', "Buefy CSS"), ('buefy.css', "Buefy CSS"),
('fontawesome', "FontAwesome"), ('fontawesome', "FontAwesome"),
('jquery', "jQuery"),
('jquery_ui', "jQuery UI"),
]) ])
for key in weblibs: for key in weblibs:
@ -181,14 +179,6 @@ class AppInfoView(MasterView):
'option': 'libver.fontawesome'}, 'option': 'libver.fontawesome'},
{'section': 'tailbone', {'section': 'tailbone',
'option': 'liburl.fontawesome'}, 'option': 'liburl.fontawesome'},
{'section': 'tailbone',
'option': 'libver.jquery'},
{'section': 'tailbone',
'option': 'liburl.jquery'},
{'section': 'tailbone',
'option': 'libver.jquery_ui'},
{'section': 'tailbone',
'option': 'liburl.jquery_ui'},
# nb. these are no longer used (deprecated), but we keep # nb. these are no longer used (deprecated), but we keep
# them defined here so the tool auto-deletes them # them defined here so the tool auto-deletes them