Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maják
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
Container registry
Model registry
Operate
Environments
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
Maják
Commits
13085ac2
Commit
13085ac2
authored
3 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
elections2021: Move countdown to top
parent
77a2e6bc
Branches
Branches containing commit
No related tags found
2 merge requests
!372
release
,
!371
Volby
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
elections2021/templates/elections2021/elections2021_home_page.html
+33
-32
33 additions, 32 deletions
...2021/templates/elections2021/elections2021_home_page.html
with
33 additions
and
32 deletions
elections2021/templates/elections2021/elections2021_home_page.html
+
33
−
32
View file @
13085ac2
...
...
@@ -21,6 +21,39 @@
{% block content %}
<div
class=
"container container--default"
>
{% if page.elections_date %}
<section
class=
"my-16 container-padding--zero lg:container-padding--auto"
>
<aside
class=
"bg-black text-white px-4 py-12 lg:py-16 lg:px-24 "
>
<div
class=
"flex flex-col lg:flex-row items-center"
>
<h1
class=
"head-alt-md md:head-alt-xl flex-grow text-center lg:text-left mb-8 lg:mb-0"
>
Do voleb
<br>
nám zbývá
</h1>
<div
class=
"__js-root "
>
<div
class=
"flip-clock"
>
<span
id=
"flip-card-days-6"
class=
"flip-clock__piece flip"
>
<span
class=
"flip-clock__card flip-card text-6xl md:text-7xl lg:text-9xl"
>
<b
class=
"flip-card__top"
>
{{ countdown_days }}
</b>
<b
data-value=
"{{ countdown_days }}"
class=
"flip-card__bottom"
></b>
<b
data-value=
"00"
class=
"flip-card__back"
></b>
<b
data-value=
"00"
class=
"flip-card__back-bottom"
></b>
</span>
<span
class=
"flip-clock__slot font-alt text-2xl md:text-3xl lg:text-4xl"
>
Dní
</span>
</span>
<span
id=
"flip-card-hours-6"
class=
"flip-clock__piece flip"
>
<span
class=
"flip-clock__card flip-card text-6xl md:text-7xl lg:text-9xl"
>
<b
class=
"flip-card__top"
>
{{ countdown_hours }}
</b>
<b
data-value=
"{{ countdown_hours }}"
class=
"flip-card__bottom"
></b>
<b
data-value=
"00"
class=
"flip-card__back"
></b>
<b
data-value=
"00"
class=
"flip-card__back-bottom"
></b>
</span>
<span
class=
"flip-clock__slot font-alt text-2xl md:text-3xl lg:text-4xl"
>
Hod
</span>
</span>
</div>
</div>
</div>
</aside>
</section>
{% endif %}
<section>
<h1
class=
"head-alt-md pb-4 lg:pb-8 mt-10 md:mt-8"
>
Aktuality
</h1>
<div
class=
"article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8"
>
...
...
@@ -134,38 +167,6 @@
</section>
{% endif %}
{% if page.elections_date %}
<section
class=
"my-16 lg:my-28 container-padding--zero lg:container-padding--auto"
>
<aside
class=
"bg-black text-white px-4 py-12 lg:py-16 lg:px-24 "
>
<div
class=
"flex flex-col lg:flex-row items-center"
>
<h1
class=
"head-alt-md md:head-alt-xl flex-grow text-center lg:text-left mb-8 lg:mb-0"
>
Do voleb
<br>
nám zbývá
</h1>
<div
class=
"__js-root "
>
<div
class=
"flip-clock"
>
<span
id=
"flip-card-days-6"
class=
"flip-clock__piece flip"
>
<span
class=
"flip-clock__card flip-card text-6xl md:text-7xl lg:text-9xl"
>
<b
class=
"flip-card__top"
>
{{ countdown_days }}
</b>
<b
data-value=
"{{ countdown_days }}"
class=
"flip-card__bottom"
></b>
<b
data-value=
"00"
class=
"flip-card__back"
></b>
<b
data-value=
"00"
class=
"flip-card__back-bottom"
></b>
</span>
<span
class=
"flip-clock__slot font-alt text-2xl md:text-3xl lg:text-4xl"
>
Dní
</span>
</span>
<span
id=
"flip-card-hours-6"
class=
"flip-clock__piece flip"
>
<span
class=
"flip-clock__card flip-card text-6xl md:text-7xl lg:text-9xl"
>
<b
class=
"flip-card__top"
>
{{ countdown_hours }}
</b>
<b
data-value=
"{{ countdown_hours }}"
class=
"flip-card__bottom"
></b>
<b
data-value=
"00"
class=
"flip-card__back"
></b>
<b
data-value=
"00"
class=
"flip-card__back-bottom"
></b>
</span>
<span
class=
"flip-clock__slot font-alt text-2xl md:text-3xl lg:text-4xl"
>
Hod
</span>
</span>
</div>
</div>
</div>
</aside>
</section>
{% endif %}
{% if questions %}
<section>
<h1
class=
"head-alt-md pb-4 lg:pb-8 mt-10 md:mt-24"
>
Často kladené otázky
</h1>
...
...
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