Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
d12fd8de
Commit
d12fd8de
authored
4 years ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Doplnění commitu
39de781f
parent
6deafbc4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/web/org_round.py
+4
-12
4 additions, 12 deletions
mo/web/org_round.py
with
4 additions
and
12 deletions
mo/web/org_round.py
+
4
−
12
View file @
d12fd8de
...
@@ -353,18 +353,10 @@ class RoundEditForm(FlaskForm):
...
@@ -353,18 +353,10 @@ class RoundEditForm(FlaskForm):
# Only the desktop Firefox does not support datetime-local field nowadays,
# Only the desktop Firefox does not support datetime-local field nowadays,
# other browsers does provide date and time picker UI :(
# other browsers does provide date and time picker UI :(
tasks_file
=
wtforms
.
StringField
(
"
Soubor se zadáním
"
,
description
=
"
Cesta k ručně uploadovanému souboru
"
,
filters
=
[
lambda
x
:
x
or
None
])
tasks_file
=
wtforms
.
StringField
(
"
Soubor se zadáním
"
,
description
=
"
Cesta k ručně uploadovanému souboru
"
,
filters
=
[
lambda
x
:
x
or
None
])
ct_tasks_start
=
MODateTimeField
(
ct_tasks_start
=
MODateTimeField
(
"
Čas zveřejnění úloh pro účastníky
"
,
validators
=
[
validators
.
Optional
()])
"
Čas zveřejnění úloh pro účastníky
"
,
validators
=
[
validators
.
Optional
()],
pr_tasks_start
=
MODateTimeField
(
"
Čas zveřejnění úloh pro dozor
"
,
validators
=
[
validators
.
Optional
()])
)
ct_submit_end
=
MODateTimeField
(
"
Konec odevzdávání pro účastníky
"
,
validators
=
[
validators
.
Optional
()])
pr_tasks_start
=
MODateTimeField
(
pr_submit_end
=
MODateTimeField
(
"
Konec odevzdávání pro dozor
"
,
validators
=
[
validators
.
Optional
()])
"
Čas zveřejnění úloh pro dozor
"
,
validators
=
[
validators
.
Optional
()],
)
ct_submit_end
=
MODateTimeField
(
"
Konec odevzdávání pro účastníky
"
,
validators
=
[
validators
.
Optional
()],
)
pr_submit_end
=
MODateTimeField
(
"
Konec odevzdávání pro dozor
"
,
validators
=
[
validators
.
Optional
()],
)
submit
=
wtforms
.
SubmitField
(
'
Uložit
'
)
submit
=
wtforms
.
SubmitField
(
'
Uložit
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment