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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Maják
Commits
3c97366a
Commit
3c97366a
authored
2 years ago
by
Ondrej Rehounek
Browse files
Options
Downloads
Patches
Plain Diff
main: program page skeleton
parent
4cb2fa55
Branches
Branches containing commit
No related tags found
2 merge requests
!607
Pirati.cz
,
!575
Feature/pirati cz
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/blocks.py
+1
-1
1 addition, 1 deletion
main/blocks.py
main/templates/main/main_program_page.html
+33
-0
33 additions, 0 deletions
main/templates/main/main_program_page.html
with
34 additions
and
1 deletion
main/blocks.py
+
1
−
1
View file @
3c97366a
...
...
@@ -46,7 +46,7 @@ class ProgramBlock(StructBlock):
class
ProgramGroupBlock
(
StructBlock
):
title
=
CharBlock
()
p
erson
_list
=
ListBlock
(
ProgramBlock
())
p
oint
_list
=
ListBlock
(
ProgramBlock
())
class
TweetsBlock
(
StructBlock
):
...
...
This diff is collapsed.
Click to expand it.
main/templates/main/main_program_page.html
0 → 100644
+
33
−
0
View file @
3c97366a
{% extends "main/base.html" %}
{% load wagtailcore_tags wagtailimages_tags shared_filters %}
{% block content %}
<header>
<h1
itemprop=
"headline"
class=
""
>
{{ page.title }}
</h1>
</header>
<div
class=
""
>
<section>
<p>
{{ page.perex }}
</p>
</section>
<section>
{% for program_group in page.program %}
<div>
{# tab navigage #}
{{ program_group.title }}
</div>
{% endfor %}
{% for program_group in page.program %}
{% for program_point in program_group.point_list %}
<div>
{# body tabu #}
{{ program_group.icon }}
{{ program_group.title }}
{{ program_group.text }}
</div>
{% endfor %}
{% endfor %}
</section>
</div>
{% endblock %}
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