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
MO-P
Odevzdávací Systém MO
Commits
8d5d1284
Project 'mj/mo-submit' was moved to 'mo-p/osmo'. Please update any links and bookmarks that may still have the old path.
Commit
8d5d1284
authored
Aug 28, 2023
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
Formulář na zadávání bodů: JS hack
parent
c7fd9fed
Branches
Branches containing commit
No related tags found
1 merge request
!134
Prázdné protokoly
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/web/templates/org_submit_list.html
+16
-0
16 additions, 0 deletions
mo/web/templates/org_submit_list.html
with
16 additions
and
0 deletions
mo/web/templates/org_submit_list.html
+
16
−
0
View file @
8d5d1284
...
...
@@ -225,8 +225,24 @@ Existuje více než jedna verze oprav, finální je podbarvená.
{{ wtf.form_field(form.delete, class='btn btn-danger') }}
</div>
{% endif %}
</form>
<script
type=
"text/javascript"
>
const
in_points
=
document
.
getElementById
(
"
points
"
)
const
in_is_empty
=
document
.
getElementById
(
"
is_empty
"
)
function
update_is_empty
()
{
in_points
.
disabled
=
in_is_empty
.
checked
;
}
in_is_empty
.
onchange
=
update_is_empty
;
window
.
addEventListener
(
"
load
"
,
function
()
{
update_is_empty
();
});
</script>
{% endif %}
{% endblock %}
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
sign in
to comment