rename settings_form.js to settings.js
This commit is contained in:
parent
9b2273caa8
commit
ccb37b04f4
4
dodo.py
4
dodo.py
|
@ -23,7 +23,7 @@ def task_gen_logo():
|
|||
|
||||
def task_copy_asset():
|
||||
import shutil
|
||||
assets = ('icon.png', 'logotype.png', 'settings_form.js')
|
||||
assets = ('icon.png', 'logotype.png', 'settings.js')
|
||||
for asset in assets:
|
||||
yield dict(
|
||||
name=asset,
|
||||
|
@ -59,7 +59,7 @@ def task_compress_static():
|
|||
'static/icon.png',
|
||||
'static/logotype.png',
|
||||
'static/version.js',
|
||||
'static/settings_form.js',
|
||||
'static/settings.js',
|
||||
) + tuple((f'static/logotype-{width}.png' for width in (200, 400, 600, 800)))
|
||||
|
||||
def compress_brotli(dependencies):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% from 'lib/interval.html' import interval_input -%}
|
||||
{% extends 'lib/layout.html' %}
|
||||
{% block scripts %}
|
||||
<script async src="{{st('settings_form.js')}}"></script>
|
||||
<script async src="{{st('settings.js')}}"></script>
|
||||
{% endblock %}
|
||||
{% block body -%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue