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
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
hemp
Maják
Commits
b9f0a665
Commit
b9f0a665
authored
4 years ago
by
jarmil
Browse files
Options
Downloads
Patches
Plain Diff
NEW: program2021 - obrazky do programovych bodu
parent
0c1e6c79
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
program2021/templates/program2021/program2021_home_page.html
+6
-1
6 additions, 1 deletion
program2021/templates/program2021/program2021_home_page.html
program2021/templates/program2021/program2021_point_page.html
+14
-3
14 additions, 3 deletions
...ram2021/templates/program2021/program2021_point_page.html
with
20 additions
and
4 deletions
program2021/templates/program2021/program2021_home_page.html
+
6
−
1
View file @
b9f0a665
{% extends "program2021/base.html" %}
{% load wagtailcore_tags %}
{% load
static wagtailimages_tags
wagtailcore_tags %}
{% block content %}
<section
class=
"jumbotron text-center"
>
...
...
@@ -161,6 +161,11 @@
<div
class=
"card mb-4 shadow-sm"
>
<a
href=
"{% pageurl point %}"
>
<div
class=
"card-body"
>
<div
class=
"mb-3"
>
{% if point.images.0.block_type == 'image' %}
{% image point.images.0.value max-400x200 class="w-100" %}
{% endif %}
</div>
<h5
class=
"card-title"
>
{{ point.public_title }}
</h5>
<p
class=
"card-text"
>
{{ point.annotation }}
</p>
<p
class=
"card-text"
>
...
...
This diff is collapsed.
Click to expand it.
program2021/templates/program2021/program2021_point_page.html
+
14
−
3
View file @
b9f0a665
{% extends "program2021/base.html" %}
{% load wagtailcore_tags %}
{% load
wagtailimages_tags
wagtailcore_tags %}
{% block content %}
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"jumbotron mb-5"
>
<h1
class=
"display-4"
>
{{ page.public_title }}
</h1>
<p
class=
"lead"
>
{{ page.annotation }}
</p>
<div
class=
"row"
>
<div
class=
"col-12 col-lg-4"
>
{% if page.images.0.block_type == 'image' %}
{% image page.images.0.value max-300x200 class="" %}
{% endif %}
</div>
<div
class=
"col-12 col-lg-8 px-lg-5"
>
<h1
class=
"display-4"
>
{{ page.public_title }}
</h1>
<p
class=
"lead"
>
{{ page.annotation }}
</p>
</div>
</div>
<p
class=
"mt-4 mb-0 text-right"
>
{% for tag in page.tags.all %}
<span
class=
"badge badge-light"
>
# {{ tag }}
</span>
...
...
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