добавил выбор времени старта таймлайна
All checks were successful
Deploy timelaps / deploy (push) Successful in 7s

This commit is contained in:
ack
2026-04-19 22:54:01 +03:00
parent 34440ebf73
commit 035cbac430
8 changed files with 165 additions and 6 deletions

View File

@@ -22,6 +22,7 @@ class TimelapseJobCreateForm(forms.ModelForm):
'sampling_preset',
'fps',
'include_night',
'anchor_time',
'day_start_time',
'day_end_time',
)
@@ -39,6 +40,7 @@ class TimelapseJobCreateForm(forms.ModelForm):
),
'fps': forms.NumberInput(attrs={'class': 'form-control', 'min': 1, 'max': 120}),
'include_night': forms.CheckboxInput(attrs={'class': 'form-check-input'}),
'anchor_time': forms.TimeInput(attrs={'type': 'time', 'class': 'form-control', 'step': 60}),
'day_start_time': forms.TimeInput(attrs={'type': 'time', 'class': 'form-control'}),
'day_end_time': forms.TimeInput(attrs={'type': 'time', 'class': 'form-control'}),
}