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
Merge requests
!88
Přdáno filtrování orgů podle rolí
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Přdáno filtrování orgů podle rolí
jk/issue-183
into
devel
Overview
34
Commits
6
Changes
2
Merged
Jiří Kalvoda
requested to merge
jk/issue-183
into
devel
3 years ago
Overview
34
Commits
6
Changes
2
0
0
Merge request reports
Viewing commit
3829932d
Show latest version
2 files
+
121
−
15
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
3829932d
Přdáno filtrování orgů podle rolí
· 3829932d
Jiří Kalvoda
authored
3 years ago
Closes
#183
mo/web/templates/org_orgs.html
+
27
−
1
View file @ 3829932d
Edit in single-file editor
Open in Web IDE
Show full file
@@ -7,7 +7,9 @@
{% endif %}
<div
class=
"form-frame"
>
<form
action=
""
method=
"GET"
role=
"form"
>
<form
action=
""
method=
"POST"
role=
"form"
>
{{ filter.csrf_token }}
{{ filter.is_role_filter }}
<div
class=
"row"
>
<div
class=
'col-sm-2'
><strong>
Filtr organizátorů
</strong></div>
<div
class=
"col-sm-3"
>
@@ -17,8 +19,32 @@
{{ wtf.form_field(filter.search_email, placeholder='Libovolná část e-mailu') }}
</div>
</div>
{% if filter.is_role_filter.data %}
<div
class=
"row"
>
<div
class=
'col-sm-2'
><strong>
Filtr podle rolí
</strong><p>
Pro zobrazení uživatelů bez žádné role vypněte filtrování dle rolí.
</p></div>
<div
class=
"col-sm-2"
>
{{ wtf.form_field(filter.search_role, size=filter.search_role.choices|length, class="form-control no-scroll") }}
</div>
<div
class=
"col-sm-2"
>
{{ wtf.form_field(filter.search_year, placeholder='65-67,70') }}
{{ wtf.form_field(filter.search_place_code, placeholder='BK') }}
</div>
<div
class=
"col-sm-2"
>
{{ wtf.form_field(filter.search_place_level, size=filter.search_place_level.choices|length, class="form-control no-scroll" ) }}
</div>
<div
class=
"col-sm-2"
>
{{ wtf.form_field(filter.search_category, placeholder='A,P,Z9') }}
{{ wtf.form_field(filter.search_seq, placeholder='1,3-4') }}
</div>
</div>
{% endif %}
<div
class=
"btn-group"
>
{{ wtf.form_field(filter.submit, class='btn btn-primary') }}
{% if filter.is_role_filter.data %}
{{ wtf.form_field(filter.hide_role_filter) }}
{% else %}
{{ wtf.form_field(filter.show_role_filter) }}
{% endif %}
{% if filter.offset.data > 0 %}
{{ wtf.form_field(filter.previous) }}
{% else %}
Loading