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
2247f594
Commit
2247f594
authored
1 year ago
by
Lukas Ruge
Browse files
Options
Downloads
Patches
Plain Diff
better printing
parent
0383ba87
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#18278
passed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_inventory/fraese.md
+1
-0
1 addition, 0 deletions
_inventory/fraese.md
_layouts/device.html
+18
-16
18 additions, 16 deletions
_layouts/device.html
assets/print.css
+1
-0
1 addition, 0 deletions
assets/print.css
with
20 additions
and
16 deletions
_inventory/fraese.md
+
1
−
0
View file @
2247f594
...
...
@@ -5,6 +5,7 @@ name: "CNC-Fräse"
uid
:
3fe2ca58-932a-440a-8c1f-b0f9f8db6ade
safetybriefing
:
true
wikilink
:
https://wiki.chaotikum.org/hackspace:infrastruktur:cncfraese
manual
:
"
bla"
calcolor
:
"
#96aa3d"
imagetag
:
cncfraese
contact
:
...
...
This diff is collapsed.
Click to expand it.
_layouts/device.html
+
18
−
16
View file @
2247f594
...
...
@@ -16,12 +16,18 @@ layout: default
margin: auto;
background-color: #FFA500;
text-align:center;
padding-top:
3
0px;
padding-top:
2
0px;
padding-left: 72px;
padding-right: 72px;
margin-left: -75px;"
>
<h1
style=
"color: white"
>
{{page.name}}
</h1>
</div>
</div>
{% if page.safetybriefing -%}
{% assign tuid = page.uid %}
{% include {{site.einweisung}} tuid=tuid%}
{% endif -%}
<div
class=
"only-in-print"
>
{% if page.safetybriefing -%}
<div
class=
"two-columns"
>
{% for briefing in site.briefing -%}
...
...
@@ -42,10 +48,6 @@ layout: default
</ul>
</div>
<div
class=
"not-in-print"
>
{% if page.safetybriefing -%}
{% assign tuid = page.uid %}
{% include {{site.einweisung}} tuid=tuid%}
{% endif -%}
{% endif -%}
{% if page.manual -%}
<img
src=
"{{ site.url }}/assets/iso7010/M002.svg"
alt=
"{{c}}"
style=
"height: 1em"
>
<a
href=
"{{page.manual}}"
>
Bedienungsanleitung
</a>
...
...
@@ -65,19 +67,19 @@ layout: default
overflow: hidden;"
>
<h4
style=
"font-family:sans-serif;"
>
{{page.name}}
</h4>
<ul
style=
"list-style-type:none;"
>
{% for hint in page.hints %}
<li
style=
"margin:15px 0;line-height:18pt;"
>
{{hint}}
</li>
{% endfor %}
{% for hint in page.hints
-
%}
<li
style=
"margin:15px 0;line-height:18pt;"
>
{{hint}}
</li>
{% endfor
-
%}
</ul>
<p
style=
"text-align:center;margin:0"
>
{% for c in page.commandsigns %}
<a
href=
"https://de.wikipedia.org/wiki/Gebotszeichen"
target=
"_blank"
style=
"background-image:none;"
><img
src=
"{{ site.url }}/assets/iso7010/{{
c}}.svg"
alt=
"{{c}}"
width=
"100"
></a>
{% endfor %}
<
/p
>
{% if page.safetybriefing %}
<div
style=
"line-height: 18pt; margin:5px 0; width: 100%
;
m
in-height: 40pt;
"
>
<
span
style=
"float: left; color: #e67206; font-size: 40pt; display:block; width: 50pt; height: 40pt; text-align:center; line-height: 40pt;"
>
⚠
</span><p
style=
"vertical-align: middle;"
>
Um dieses Gerät benutzen zu dürfen benötigst du eine
<a
href=
"{{ site.baseurl }}{{ page.url }}briefing/"
>
Einweisung
</a>
!
</p
>
</div>
{% endif %}
{% for c in page.commandsigns
-
%}
<a
href=
"https://de.wikipedia.org/wiki/Gebotszeichen"
target=
"_blank"
style=
"background-image:none;"
><img
src=
"{{ site.url }}/assets/iso7010/{{c}}.svg"
alt=
"{{c}}"
width=
"100"
></a>
{% endfor
-
%}
</p>
<
div
class=
"not-in-print"
>
{% if page.safetybriefing -%}
<div
style=
" margin:5px 0; width: 100%; min-height: 40pt; "
>
<span
style=
"float: left; color: #e67206; font-size: 40pt; display:block; width: 50pt; height: 40pt; text-align:center
;
l
in
e
-height: 40pt;"
>
⚠
</span><p
style=
"vertical-align: middle;"
>
Um dieses Gerät benutzen zu dürfen benötigst du eine
<a
href=
"{{ site.baseurl }}{{ page.url }}briefing/"
>
Einweisung
</a>
!
</p
>
<
/div
>
{% endif -%}
</div>
<div
class=
"url-for-print"
style=
"float: left; margin-bottom:0px;"
>
<div
id=
"qrcode"
style=
"width: 150px;"
></div>
<p><a
href=
"{{ site.url }}{{ page.url }}"
>
chaotikum.org
</a></p>
...
...
This diff is collapsed.
Click to expand it.
assets/print.css
+
1
−
0
View file @
2247f594
...
...
@@ -97,6 +97,7 @@ p, a, h1, h2, h3, h4 {
column-count
:
2
;
-webkit-column-count
:
2
;
-moz-column-count
:
2
;
font-size
:
10px
;
}
.one
{
column-count
:
1
;
...
...
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