Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pelican-theme-teckids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Teckids
Team PR
pelican-theme-teckids
Compare revisions
049ec2b203d2df35f41cdb755f9807f08a688a8d to 336867a100023071d1453b2b22c5633dd60e9472
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
Teckids/team-pr/pelican-theme-teckids
Select target project
No results found
336867a100023071d1453b2b22c5633dd60e9472
Select Git revision
Branches
master
set-max-carousel-img-height
Swap
Target
Teckids/team-pr/pelican-theme-teckids
Select target project
No results found
049ec2b203d2df35f41cdb755f9807f08a688a8d
Select Git revision
Branches
master
set-max-carousel-img-height
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Add carousel to index page
· 336867a1
Tom Teichler
authored
5 years ago
Verified
336867a1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
static/css/style.css
+4
-0
4 additions, 0 deletions
static/css/style.css
templates/base.html
+6
-6
6 additions, 6 deletions
templates/base.html
templates/index.html
+21
-1
21 additions, 1 deletion
templates/index.html
with
31 additions
and
7 deletions
static/css/style.css
View file @
336867a1
...
...
@@ -162,3 +162,7 @@ time.icon span {
padding-top
:
0.8em
;
color
:
var
(
--teckids-blue-dark
);
}
.carousel
.carousel-image
{
max-height
:
500px
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/base.html
View file @
336867a1
...
...
@@ -32,8 +32,8 @@
--teckids-blue-dark
:
{
{
SECONDARY_DARK
}
}
;
}
</style>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{ THEME_STATIC_DIR }}/css/bootstrap.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{ THEME_STATIC_DIR }}/css/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
/
{{ THEME_STATIC_DIR }}/css/bootstrap.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"
/
{{ THEME_STATIC_DIR }}/css/style.css"
/>
<title>
{{ SITENAME }}
...
...
@@ -106,9 +106,9 @@
<div
class=
"col s12"
>
<h3
id=
'sponsorheading'
class=
"black-text"
>
Sponsoren
</h3>
<p
id=
"sponsortext"
class=
"black-text"
>
Wir bedanken uns bei unseren Sponsoren für die Unterstützung unserer Vereinsarbeit. Außerdem freuen wir uns immer über weitere Sponsoren, die ihr Engagement mit ihrem Logo hier bewerben möchten!
</p>
<a
href=
"https://www.bareos.com"
><img
src=
"{{ THEME_STATIC_DIR }}/img/logo-bareos.png"
href=
"https://www.bareos.com/"
alt=
"Bareos-Logo"
class=
"sponsorslogo"
/></a>
<a
href=
"https://www.speedpartner.de/"
><img
src=
"{{ THEME_STATIC_DIR }}/img/logo-speedpartner.png"
alt=
"Speedpartner-Logo"
class=
"sponsorslogo"
/></a>
<a
href=
"https://www.informatik-aktuell.de/"
><img
src=
"{{ THEME_STATIC_DIR }}/img/logo_informatik-aktuell.png"
alt=
"Informatik-Aktuell-Logo"
class=
"sponsorslogo"
/></a>
<a
href=
"https://www.bareos.com"
><img
src=
"
/
{{ THEME_STATIC_DIR }}/img/logo-bareos.png"
href=
"https://www.bareos.com/"
alt=
"Bareos-Logo"
class=
"sponsorslogo"
/></a>
<a
href=
"https://www.speedpartner.de/"
><img
src=
"
/
{{ THEME_STATIC_DIR }}/img/logo-speedpartner.png"
alt=
"Speedpartner-Logo"
class=
"sponsorslogo"
/></a>
<a
href=
"https://www.informatik-aktuell.de/"
><img
src=
"
/
{{ THEME_STATIC_DIR }}/img/logo_informatik-aktuell.png"
alt=
"Informatik-Aktuell-Logo"
class=
"sponsorslogo"
/></a>
</div>
</div>
</div>
...
...
@@ -142,7 +142,7 @@
</div>
</footer>
<script
src=
"{{ THEME_STATIC_DIR }}/js/bootstrap.min.js"
></script>
<script
src=
"
/
{{ THEME_STATIC_DIR }}/js/bootstrap.min.js"
></script>
</body>
...
...
This diff is collapsed.
Click to expand it.
templates/index.html
View file @
336867a1
{% extends 'base.html' %}
{% block content %}
<h2>
{{ SITENAME }}
</h2>
<div
id=
"myCarousel"
class=
"carousel slide"
data-ride=
"carousel"
>
<div
class=
"carousel-inner"
>
{% for text, image in CAROUSEL_ITEMS %}
<div
class=
"item {% if loop.first %} active {% endif %}"
>
<img
class=
"center-block carousel-image"
src=
"{{ image }}"
alt=
"{{ text }}"
>
<div
class=
"carousel-caption d-none d-md-block"
>
<h3>
{{ text }}
</h3>
</div>
</div>
{% endfor %}
</div>
<a
class=
"left carousel-control"
href=
"#myCarousel"
data-slide=
"prev"
>
<span
class=
"glyphicon glyphicon-chevron-left"
></span>
<span
class=
"sr-only"
>
Previous
</span>
</a>
<a
class=
"right carousel-control"
href=
"#myCarousel"
data-slide=
"next"
>
<span
class=
"glyphicon glyphicon-chevron-right"
></span>
<span
class=
"sr-only"
>
Next
</span>
</a>
</div>
{% endblock %}
This diff is collapsed.
Click to expand it.