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
957bee38
Commit
957bee38
authored
4 years ago
by
Jiří Setnička
Browse files
Options
Downloads
Plain Diff
Merge branch 'devel'
parents
c465fe94
3edb103b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
mo/web/templates/org_round.html
+2
-0
2 additions, 0 deletions
mo/web/templates/org_round.html
mo/web/templates/org_submit_list.html
+1
-1
1 addition, 1 deletion
mo/web/templates/org_submit_list.html
with
3 additions
and
1 deletion
mo/web/templates/org_round.html
+
2
−
0
View file @
957bee38
...
@@ -104,11 +104,13 @@
...
@@ -104,11 +104,13 @@
{% if can_manage_round %}
{% if can_manage_round %}
<td><div
class=
"btn-group"
>
<td><div
class=
"btn-group"
>
<a
class=
"btn btn-xs btn-primary"
href=
"{{ url_for('org_round_task_edit', id=round.round_id, task_id=task.task_id) }}"
>
Editovat
</a>
<a
class=
"btn btn-xs btn-primary"
href=
"{{ url_for('org_round_task_edit', id=round.round_id, task_id=task.task_id) }}"
>
Editovat
</a>
{% if task.sol_count == 0 %}
<form
action=
""
method=
"POST"
onsubmit=
"return confirm('Opravdu nenávratně smazat?')"
class=
"btn-group"
>
<form
action=
""
method=
"POST"
onsubmit=
"return confirm('Opravdu nenávratně smazat?')"
class=
"btn-group"
>
{{ form_delete_task.csrf_token() }}
{{ form_delete_task.csrf_token() }}
<input
type=
"hidden"
name=
"delete_task_id"
value=
"{{ task.task_id }}"
>
<input
type=
"hidden"
name=
"delete_task_id"
value=
"{{ task.task_id }}"
>
<button
type=
"submit"
class=
"btn btn-xs btn-danger"
>
Smazat
</button>
<button
type=
"submit"
class=
"btn btn-xs btn-danger"
>
Smazat
</button>
</form>
</form>
{% endif %}
{% if g.user.is_admin %}
{% if g.user.is_admin %}
<a
class=
"btn btn-xs btn-default"
href=
"{{ log_url('task', task.task_id) }}"
>
Historie
</a>
<a
class=
"btn btn-xs btn-default"
href=
"{{ log_url('task', task.task_id) }}"
>
Historie
</a>
{% endif %}
{% endif %}
...
...
This diff is collapsed.
Click to expand it.
mo/web/templates/org_submit_list.html
+
1
−
1
View file @
957bee38
...
@@ -66,7 +66,7 @@ Existuje více než jedna verze řešení, finální je podbarvená.
...
@@ -66,7 +66,7 @@ Existuje více než jedna verze řešení, finální je podbarvená.
<td
{%
if
late
%}
class=
'sol-warn'
{%
endif
%}
>
{{ p.uploaded_at|timeformat }}
<td
{%
if
late
%}
class=
'sol-warn'
{%
endif
%}
>
{{ p.uploaded_at|timeformat }}
<td>
{% if p.broken %}nekorektní PDF{% else %}{{ p.pages|or_dash }}{% endif %}
<td>
{% if p.broken %}nekorektní PDF{% else %}{{ p.pages|or_dash }}{% endif %}
<td>
{{ p.bytes|or_dash }}
<td>
{{ p.bytes|or_dash }}
<td>
{{ p.uploaded_by_obj|user_link }}
<td>
{
% if p.uploaded_by_obj == sc.user %}
<i>
účastník
</i>
{% else %}{
{ p.uploaded_by_obj|user_link }}
{% endif %}
<td>
{% if late %}
<span
class=
'sol-warn'
>
({{ late }})
</span>
{% endif %}{{ p.note }}
<td>
{% if late %}
<span
class=
'sol-warn'
>
({{ late }})
</span>
{% endif %}{{ p.note }}
<td><div
class=
"btn-group"
>
<td><div
class=
"btn-group"
>
<a
class=
'btn btn-xs btn-primary'
href=
'{{ paper_link(p) }}'
>
Stáhnout
</a>
<a
class=
'btn btn-xs btn-primary'
href=
'{{ paper_link(p) }}'
>
Stáhnout
</a>
...
...
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