Remove liburl logic, config for jquery
This commit is contained in:
parent
976a5836a9
commit
b67df1328b
|
@ -151,12 +151,6 @@ def get_libver(request, key, fallback=True, default_only=False):
|
|||
elif key == 'fontawesome':
|
||||
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):
|
||||
"""
|
||||
|
@ -188,12 +182,6 @@ def get_liburl(request, key, fallback=True):
|
|||
elif key == 'fontawesome':
|
||||
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):
|
||||
"""
|
||||
|
|
|
@ -106,8 +106,6 @@ class AppInfoView(MasterView):
|
|||
('buefy', "Buefy"),
|
||||
('buefy.css', "Buefy CSS"),
|
||||
('fontawesome', "FontAwesome"),
|
||||
('jquery', "jQuery"),
|
||||
('jquery_ui', "jQuery UI"),
|
||||
])
|
||||
|
||||
for key in weblibs:
|
||||
|
@ -181,14 +179,6 @@ class AppInfoView(MasterView):
|
|||
'option': 'libver.fontawesome'},
|
||||
{'section': 'tailbone',
|
||||
'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
|
||||
# them defined here so the tool auto-deletes them
|
||||
|
|
Loading…
Reference in a new issue