Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
website
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
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chaotikum
website
Commits
620826d1
Commit
620826d1
authored
1 year ago
by
Lukas Ruge
Browse files
Options
Downloads
Patches
Plain Diff
layout fix
parent
63239fa1
No related branches found
No related tags found
No related merge requests found
Pipeline
#18478
passed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_layouts/device.html
+25
-6
25 additions, 6 deletions
_layouts/device.html
assets/jekyll.jpg
+0
-0
0 additions, 0 deletions
assets/jekyll.jpg
with
25 additions
and
6 deletions
_layouts/device.html
+
25
−
6
View file @
620826d1
...
@@ -7,9 +7,11 @@ layout: default
...
@@ -7,9 +7,11 @@ layout: default
<main
class=
"main container"
>
<main
class=
"main container"
>
<div
class=
"content-up"
>
<div
class=
"content-up"
>
<article
class=
"article--page typeset"
>
<article
class=
"article--page typeset"
>
<div
class=
"not-in-print"
>
<div
class=
"not-in-print"
>
<h4
id=
"{{page.uid}}"
>
{{page.name}}
</h4>
<h4
id=
"{{page.uid}}"
>
{{page.name}}
</h4>
</div>
</div>
<div
class=
"only-in-print"
>
<div
class=
"only-in-print"
>
<img
style=
"float: right; height: 50px; padding-top: 20px; padding-right: 10px;"
src=
"{{ site.url }}/assets/logo.png"
>
<img
style=
"float: right; height: 50px; padding-top: 20px; padding-right: 10px;"
src=
"{{ site.url }}/assets/logo.png"
>
<div
style=
"
<div
style=
"
...
@@ -24,10 +26,12 @@ layout: default
...
@@ -24,10 +26,12 @@ layout: default
<h1
style=
"color: white"
>
{{page.name}}
</h1>
<h1
style=
"color: white"
>
{{page.name}}
</h1>
</div>
</div>
</div>
</div>
{% if page.safetybriefing -%}
{% if page.safetybriefing -%}
{% assign tuid = page.uid %}
{% assign tuid = page.uid %}
{% include {{site.einweisung}} tuid=tuid%}
{% include {{site.einweisung}} tuid=tuid%}
{% endif -%}
{% endif -%}
{% for briefing in site.briefing -%}
{% for briefing in site.briefing -%}
{% if briefing.inventory_uid == page.uid -%}
{% if briefing.inventory_uid == page.uid -%}
<div
class=
"only-in-print"
style=
"min-height: {{briefing.size-on-poster}}px; max-height: {{briefing.size-on-poster}}px; overflow: hidden;"
>
<div
class=
"only-in-print"
style=
"min-height: {{briefing.size-on-poster}}px; max-height: {{briefing.size-on-poster}}px; overflow: hidden;"
>
...
@@ -37,6 +41,7 @@ layout: default
...
@@ -37,6 +41,7 @@ layout: default
</div>
</div>
{% endif -%}
{% endif -%}
{% endfor -%}
{% endfor -%}
{% if page.contact -%}
{% if page.contact -%}
Ansprechpersonen:
Ansprechpersonen:
<div
class=
"toolcontact"
id=
"toolcontact"
>
<div
class=
"toolcontact"
id=
"toolcontact"
>
...
@@ -46,15 +51,19 @@ layout: default
...
@@ -46,15 +51,19 @@ layout: default
{% endfor -%}
{% endfor -%}
</ul>
</ul>
</div>
</div>
<div
class=
"not-in-print"
>
{% endif -%}
{% endif -%}
<div
class=
"not-in-print"
>
{% if page.manual -%}
{% if page.manual -%}
<img
src=
"{{ site.url }}/assets/iso7010/M002.svg"
alt=
"{{c}}"
style=
"height: 1em"
>
<a
href=
"{{page.manual}}"
>
Bedienungsanleitung
</a>
<img
src=
"{{ site.url }}/assets/iso7010/M002.svg"
alt=
"{{c}}"
style=
"height: 1em"
>
<a
href=
"{{page.manual}}"
>
Bedienungsanleitung
</a>
{% endif -%}
{% endif -%}
<p>
{{page.content}}
</p>
<p>
{{page.content}}
</p>
{%- if page.imagetag -%} {%- include {{site.gallery}} topic=page.imagetag -%} {%- endif -%}
{%- if page.imagetag -%} {%- include {{site.gallery}} topic=page.imagetag -%} {%- endif -%}
{% if page.wikilink %}
<p>
Mehr infos findest du im
<a
href=
"{{page.wikilink}}"
>
Wiki
</a>
.
</p>
{% endif %}
{% if page.wikilink %}
<p>
Mehr infos findest du im
<a
href=
"{{page.wikilink}}"
>
Wiki
</a>
.
</p>
{% endif %}
</div>
</div>
<div
style=
"
<div
style=
"
margin: auto;
margin: auto;
background-color: #fafafa;
background-color: #fafafa;
...
@@ -79,32 +88,42 @@ layout: default
...
@@ -79,32 +88,42 @@ layout: default
</div>
</div>
{% endif -%}
{% endif -%}
</div>
</div>
<div
class=
"url-for-print"
style=
"float: left; margin-bottom:0px;"
>
<div
class=
"url-for-print"
style=
"float: left; margin-bottom:0px;"
>
<div
id=
"qrcode"
style=
"width: 150px;"
></div>
<div
id=
"qrcode"
style=
"width: 150px;"
>
</div>
<p><a
href=
"{{ site.url }}{{ page.url }}"
>
chaotikum.org
</a></p>
<p><a
href=
"{{ site.url }}{{ page.url }}"
>
chaotikum.org
</a></p>
</div>
</div>
{% if page.safetybriefing -%}
{% if page.safetybriefing -%}
<div
class=
"url-for-print"
style=
"float: right; margin-bottom:0px;"
>
<div
class=
"url-for-print"
style=
"float: right; margin-bottom:0px;"
>
<div
id=
"qrcode2"
style=
"width: 150px;"
></div>
<div
id=
"qrcode2"
style=
"width: 150px;"
>
</div>
<p>
Sicherheitseinweisung
</p>
<p>
Sicherheitseinweisung
</p>
</div>
</div>
{% endif -%}
{% endif -%}
{% if page.manual -%}
{% if page.manual -%}
<div
class=
"url-for-print"
style=
"float: right; margin-left: 10px; margin-bottom:0px;"
>
<div
class=
"url-for-print"
style=
"float: right; margin-left: 10px; margin-bottom:0px;"
>
<div
id=
"qrcode3"
style=
"width: 150px;"
></div>
<div
id=
"qrcode3"
style=
"width: 150px;"
>
</div>
<p>
Bedienungsanleitung
</p>
<p>
Bedienungsanleitung
</p>
</div>
</div>
{% endif -%}
{% endif -%}
</div>
</article>
</div>
</article>
{%- if page.sets contains 'leihbar' -%}
{%- if page.sets contains 'leihbar' -%}
<div
id=
"calendar"
></div>
<div
id=
"calendar"
></div>
</div>
</div>
{% endif %}
{% endif %}
</div>
</main>
</main>
{% include site-footer.html %}
{% include site-footer.html %}
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
new
QRCode
(
document
.
getElementById
(
"
qrcode
"
),
{
text
:
"
{{ site.url }}{{ page.url }}
"
,
width
:
128
,
height
:
128
});
new
QRCode
(
document
.
getElementById
(
"
qrcode
"
),
{
text
:
"
{{ site.url }}{{ page.url }}
"
,
width
:
128
,
height
:
128
});
</script>
</script>
...
...
This diff is collapsed.
Click to expand it.
assets/jekyll.jpg
0 → 100644
+
0
−
0
View file @
620826d1
1.81 MiB
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