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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!124
Zjednodušení práce s joby
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Zjednodušení práce s joby
jirka/jobs
into
devel
Overview
6
Commits
8
Changes
2
1 unresolved thread
Hide all comments
Merged
Jiří Setnička
requested to merge
jirka/jobs
into
devel
2 years ago
Overview
6
Commits
8
Changes
2
1 unresolved thread
Hide all comments
Expand
Obsahuje:
#294 (closed)
- joby s vyšší a nižší prioritou, dva mule workery
#289 (closed)
- zavedení vyčkávají stránka u jobů a lepší určování, kam přesměrovat po zpracování jobu
0
0
Merge request reports
Viewing commit
52d51371
Prev
Next
Show latest version
2 files
+
24
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
52d51371
Zveřejnění uložené verze výsledkové listiny ze stránky verze
· 52d51371
Jiří Setnička
authored
2 years ago
mo/web/templates/org_score_snapshot.html
+
20
−
2
Options
@@ -11,7 +11,7 @@
{% if ctx.rights.have_right(Right.view_contestants) %}
<div
class=
"btn-group pull-right"
>
<a
class=
"btn btn-default"
href=
"{{ ctx.url_for('org_score') }}"
>
Aktuální výsledky
</a>
<a
class=
"btn btn-default"
href=
"{{ ctx.url_for('org_score_snapshots') }}"
>
U
ložené v
ýsledky
</a>
<a
class=
"btn btn-default"
href=
"{{ ctx.url_for('org_score_snapshots') }}"
>
Všechny u
ložené v
erze
</a>
{% if scoretable.pdf_file %}
<a
class=
"btn btn-default"
href=
"{{ ctx.url_for('org_score_snapshot_pdf', scoretable_id=scoretable.scoretable_id) }}"
>
PDF
</a>
{% endif %}
@@ -21,9 +21,27 @@
{% block body %}
{% if set_final_form %}
<form
method=
"POST"
action=
"{{ ctx.url_for('org_score_snapshots') }}"
class=
"pull-right"
>
{{ set_final_form.csrf_token }}
<input
type=
"hidden"
name=
"back_url"
value=
"{{ ctx.url_for('org_score_snapshot', scoretable_id=scoretable.scoretable_id) }}"
>
{% if ctx.contest.scoretable_id == scoretable.scoretable_id %}
<input
type=
"submit"
name=
"submit_hide"
class=
"btn btn-danger"
value=
"Zrušit zveřejnění"
>
{% else %}
<input
type=
"hidden"
name=
"scoretable_id"
value=
"{{ scoretable.scoretable_id }}"
>
<input
type=
"submit"
name=
"submit_set_final"
class=
"btn btn-primary"
value=
"Zveřejnit tuto verzi"
>
{% endif %}
</form>
{% endif %}
{% if ctx.rights.have_right(Right.view_contestants) %}
<p>
Výsledková listina odpovídající stavu k {{ scoretable.created_at|timeformat }}.
Lze ji zveřejnit jako oficiální výsledkovou listinu v přehledu všech uložených verzí výsledkových listin pro tuto soutěž.
</p>
{% if scoretable.scoretable_id == ctx.contest.scoretable_id %}
<strong>
Tato verze je zveřejněna jako oficiální výsledková listina.
</strong>
{% else %}
Tato verze není zveřejněna jako oficiální výsledková listina.
{% endif %}
</p>
{% endif %}
<table
class=
'data'
>
Loading