mod: интерфейс (10) увеличен предельный размер гипноточки
This commit is contained in:
@@ -39,7 +39,7 @@ class HalftoneGenerateForm(forms.Form):
|
|||||||
)
|
)
|
||||||
max_radius = forms.IntegerField(
|
max_radius = forms.IntegerField(
|
||||||
min_value=3,
|
min_value=3,
|
||||||
max_value=20,
|
max_value=65,
|
||||||
initial=8,
|
initial=8,
|
||||||
required=False,
|
required=False,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -339,10 +339,10 @@
|
|||||||
<div class="flex justify-between mb-1">
|
<div class="flex justify-between mb-1">
|
||||||
<label class="text-xs font-bold text-stone-400 uppercase">Размер гипно-точки</label>
|
<label class="text-xs font-bold text-stone-400 uppercase">Размер гипно-точки</label>
|
||||||
<span class="text-xs transition-colors duration-300"
|
<span class="text-xs transition-colors duration-300"
|
||||||
:class="radius < 4 ? 'text-red-600' : (radius < 5 ? 'text-yellow-600' : (radius > 15 ? 'text-red-600' : (radius > 12 ? 'text-yellow-600' : 'text-emerald-600')))"
|
:class="radius < 4 ? 'text-red-600' : (radius < 5 ? 'text-yellow-600' : (radius > 22 ? 'text-red-600' : (radius > 16 ? 'text-yellow-600' : 'text-emerald-600')))"
|
||||||
x-text="radius"></span>
|
x-text="radius"></span>
|
||||||
</div>
|
</div>
|
||||||
<input type="range" name="max_radius" min="3" max="20" x-model="radius"
|
<input type="range" name="max_radius" min="3" max="65" x-model="radius"
|
||||||
@input="$el.dispatchEvent(new CustomEvent('input-change'))"
|
@input="$el.dispatchEvent(new CustomEvent('input-change'))"
|
||||||
:class="radius < 4 ? 'accent-red-600' : (radius < 5 ? 'accent-yellow-500' : (radius > 15 ? 'accent-red-600' : (radius > 12 ? 'accent-yellow-500' : 'accent-emerald-500')))"
|
:class="radius < 4 ? 'accent-red-600' : (radius < 5 ? 'accent-yellow-500' : (radius > 15 ? 'accent-red-600' : (radius > 12 ? 'accent-yellow-500' : 'accent-emerald-500')))"
|
||||||
class="w-full accent-emerald-500">
|
class="w-full accent-emerald-500">
|
||||||
|
|||||||
Reference in New Issue
Block a user