update lint
This commit is contained in:
parent
836e8a4e9f
commit
3a97ae50f8
5 changed files with 264 additions and 274 deletions
|
@ -47,9 +47,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<span class="rating-editor {% if shelf_type == 'wishlist' %}hidden{% endif %}"
|
||||
{# djlint:off #}
|
||||
_="on mousemove(currentTarget, offsetX) set current_value to Math.round((10 * offsetX) / currentTarget.offsetWidth) if current_value <=10 then set star_div to the <div/> in me set star_div.style.width to (current_value * 10) + '%' set @data-tooltip to current_value or '{% trans "not rated" %}' add .yellow to star_div end on click(currentTarget, offsetX) set current_value to Math.round((10 * offsetX) / currentTarget.offsetWidth) if current_value <=10 then set star_div to the <div/> in me set star_input to the <input/> in me set star_div.style.width to (current_value * 10) + '%' set @data-tooltip to current_value or '{% trans "not rated" %}' set star_input.value to current_value end on mouseleave(currentTarget) set star_div to the <div/> in me set star_input to the <input/> in me set current_value to star_input.value set star_div.style.width to (current_value * 10) + '%' set @data-tooltip to current_value or '{% trans "not rated" %}' end"
|
||||
{# djlint:on #}
|
||||
id="rating_editor">
|
||||
{{ mark.rating_grade|rating_star }}
|
||||
<input type="hidden"
|
||||
|
|
|
@ -62,7 +62,7 @@ dev-dependencies = [
|
|||
"pre-commit>=4.0.1",
|
||||
"black~=24.4.2",
|
||||
"django-stubs>=5.1.0",
|
||||
"djlint>=1.35.2",
|
||||
"djlint>=1.36.4",
|
||||
"isort~=5.13.2",
|
||||
"lxml-stubs>=0.5.1",
|
||||
"pyright>=1.1.389",
|
||||
|
|
|
@ -194,7 +194,7 @@ pathspec==0.12.1
|
|||
# via black
|
||||
# via djlint
|
||||
# via mkdocs
|
||||
pillow==11.0.0
|
||||
pillow==11.1.0
|
||||
# via blurhash-python
|
||||
# via django-markdownx
|
||||
# via easy-thumbnails
|
||||
|
@ -259,7 +259,7 @@ rjsmin==1.2.2
|
|||
# via django-compressor
|
||||
rq==2.1.0
|
||||
# via django-rq
|
||||
ruff==0.8.4
|
||||
ruff==0.8.5
|
||||
sentry-sdk==2.19.2
|
||||
setproctitle==1.3.4
|
||||
six==1.17.0
|
||||
|
|
|
@ -124,7 +124,7 @@ multidict==6.1.0
|
|||
openpyxl==3.1.5
|
||||
packaging==24.2
|
||||
# via gunicorn
|
||||
pillow==11.0.0
|
||||
pillow==11.1.0
|
||||
# via blurhash-python
|
||||
# via django-markdownx
|
||||
# via easy-thumbnails
|
||||
|
|
|
@ -53,18 +53,14 @@
|
|||
<div role="group">
|
||||
{% if enable_email %}
|
||||
<button class="platform outline"
|
||||
{# djlint:off #}
|
||||
_="on click add .outline to .platform then remove .outline from me then hide <form/> then show #login-email"
|
||||
{# djlint:on #}
|
||||
id="platform-email"
|
||||
title="{% trans 'Email' %}">
|
||||
<i class="fa-solid fa-envelope"></i>
|
||||
</button>
|
||||
{% endif %}
|
||||
<button class="platform outline"
|
||||
{# djlint:off #}
|
||||
_="on click add .outline to .platform then remove .outline from me then hide <form/> then show #login-mastodon"
|
||||
{# djlint:on #}
|
||||
id="platform-mastodon"
|
||||
title="{% trans "Fediverse (Mastodon)" %}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
|
@ -78,9 +74,7 @@
|
|||
</button>
|
||||
{% if enable_threads %}
|
||||
<button class="platform outline"
|
||||
{# djlint:off #}
|
||||
_="on click add .outline to .platform then remove .outline from me then hide <form/> then show #login-threads"
|
||||
{# djlint:on #}
|
||||
id="platform-threads"
|
||||
title="{% trans 'Threads' %}">
|
||||
<i class="fa-brands fa-threads"></i>
|
||||
|
@ -88,9 +82,7 @@
|
|||
{% endif %}
|
||||
{% if enable_bluesky %}
|
||||
<button class="platform outline"
|
||||
{# djlint:off #}
|
||||
_="on click add .outline to .platform then remove .outline from me then hide <form/> then show #login-bluesky"
|
||||
{# djlint:on #}
|
||||
id="platform-bluesky"
|
||||
title="{% trans 'Bluesky (ATProto)' %}">
|
||||
<i class="fa-brands fa-bluesky" style="font-size:85%"></i>
|
||||
|
|
Loading…
Add table
Reference in a new issue