Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Style Guide 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
TO
Weby
Style Guide 2
Commits
14f5a059
Commit
14f5a059
authored
11 months ago
by
Alexa Valentová
Browse files
Options
Downloads
Patches
Plain Diff
update secondary candidate list
parent
d65165f9
Branches
Branches containing commit
No related tags found
1 merge request
!29
Feat/redesign
Pipeline
#18663
passed
11 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
majak_uistyleguide/templates/patterns/organisms/candidates/candidate_secondary_list.html
+34
-20
34 additions, 20 deletions
...tterns/organisms/candidates/candidate_secondary_list.html
with
34 additions
and
20 deletions
majak_uistyleguide/templates/patterns/organisms/candidates/candidate_secondary_list.html
+
34
−
20
View file @
14f5a059
...
...
@@ -18,7 +18,7 @@
<div
class=
"
flex font-bold justify-center items-center rounded-full
flex
grow-1 shrink-0
font-bold justify-center items-center rounded-full
"
>
<img
...
...
@@ -27,28 +27,42 @@
>
</div>
<h4
class=
"text-xl font-bold w-64"
>
{{ candidate.name }}
</h4>
<div
class=
"
flex gap-2 flex-col
lg:gap-6 lg:flex-row
"
>
<h4
class=
"text-xl font-bold w-64"
>
{{ candidate.name }}
</h4>
{% if candidate.position %}
<p
class=
"ml-6"
>
{{ candidate.position }}
</p>
{% endif %}
{% if candidate.position %}
<p
class=
"
lg:
ml-6"
>
{{ candidate.position }}
</p>
{% endif %}
{% if candidate.party_membership %}
<div
class=
"ml-auto font-bold flex items-center gap-1"
>
{% if candidate.party_membership == "Pirátská strana" %}
<img
class=
"w-8"
src=
"../../../../../static/images/logo-round-black.svg"
>
{% endif %}
{% if candidate.party_membership %}
<div
class=
"
font-bold flex items-center gap-1
lg:ml-auto
"
>
{% if candidate.party_membership == "Pirátská strana" %}
<img
class=
"w-8"
src=
"../../../../../static/images/logo-round-black.svg"
>
{% endif %}
{{ candidate.party_membership }}
</div>
{% endif %}
{{ candidate.party_membership }}
</div>
{% endif %}
</div>
</a>
</li>
{% endfor %}
...
...
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