mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 11:05:32 +00:00
Moved authentication settings editor JavaScript into js_main
assets build process instead of direct linking it to the view.
This commit is contained in:
parent
9f076330d6
commit
c7aba5626d
@ -58,6 +58,7 @@ js_main = Bundle(
|
||||
'node_modules/jtimeout/src/jTimeout.js',
|
||||
'node_modules/jquery.quicksearch/src/jquery.quicksearch.js',
|
||||
'node_modules/knockout/build/output/knockout-latest.js',
|
||||
'custom/js/app-authentication-settings-editor.js',
|
||||
'custom/js/custom.js',
|
||||
'node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js',
|
||||
filters=(ConcatFilter, 'rjsmin'),
|
||||
|
@ -1536,13 +1536,6 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block extrascripts %}
|
||||
{% assets "js_validation" -%}
|
||||
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
||||
{%- endassets %}
|
||||
|
||||
<script type="text/javascript"
|
||||
src="{{ url_for('static', filename='custom/js/app-authentication-settings-editor.js') }}"></script>
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
let API_URL = '{{ url_for('admin.setting_authentication_api') }}';
|
||||
|
Loading…
Reference in New Issue
Block a user