@farberg/reveal-template 1.1.18 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/dhbw-print.css +6 -1
- package/css/dhbw.css +127 -34
- package/docs/00 - Introduction.md +18 -6
- package/docs/k8s-deployment.cast +94 -0
- package/docs/local-dev.html +20 -9
- package/docs/npm.html +14 -7
- package/init-reveal.js +175 -92
- package/package.json +6 -6
- package/plugins/reveal-plugin-asciinema.js +5 -8
- package/plugins/reveal-plugin-dir-tree.js +339 -96
- package/plugins/reveal-plugin-show-code-snippets.js +30 -5
- package/plugins/reveal-plugin-show-qr-code.js +6 -7
- package/scripts/generate_toc.js +1 -0
package/css/dhbw-print.css
CHANGED
package/css/dhbw.css
CHANGED
|
@@ -509,61 +509,154 @@ tr>tr:first-of-type {
|
|
|
509
509
|
border-top: 1px solid black !important;
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
512
|
+
/* ---------------------------------------------------------------------- */
|
|
513
|
+
/* Bottom strip: Simplemenu menubar (left), attribution (right of it), */
|
|
514
|
+
/* slide number (far right) — share one thin lane, same grey baseline. */
|
|
515
|
+
/* ---------------------------------------------------------------------- */
|
|
516
516
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
517
|
+
:root {
|
|
518
|
+
--dhbw-strip-color: #4e565c;
|
|
519
|
+
--dhbw-strip-font-size: 12px;
|
|
520
|
+
--dhbw-strip-height: 20px;
|
|
521
|
+
--dhbw-strip-bottom: 6px;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
.
|
|
525
|
-
color:
|
|
524
|
+
.reveal .slide-number {
|
|
525
|
+
color: var(--dhbw-strip-color) !important;
|
|
526
|
+
background: none !important;
|
|
527
|
+
font-family: inherit !important;
|
|
528
|
+
font-size: var(--dhbw-strip-font-size) !important;
|
|
529
|
+
right: 8px !important;
|
|
530
|
+
bottom: var(--dhbw-strip-bottom) !important;
|
|
531
|
+
height: var(--dhbw-strip-height) !important;
|
|
532
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
533
|
+
padding: 0 !important;
|
|
534
|
+
z-index: 100;
|
|
526
535
|
}
|
|
527
536
|
|
|
528
|
-
.
|
|
529
|
-
color:
|
|
537
|
+
.reveal .slide-number a {
|
|
538
|
+
color: var(--dhbw-strip-color) !important;
|
|
539
|
+
opacity: 1 !important;
|
|
540
|
+
/* override Simplemenu's 0.33 dimming */
|
|
541
|
+
padding: 0 !important;
|
|
542
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
530
543
|
}
|
|
531
544
|
|
|
532
545
|
credits {
|
|
533
546
|
visibility: hidden;
|
|
534
547
|
}
|
|
535
548
|
|
|
536
|
-
/* Credits Dennis */
|
|
537
|
-
|
|
538
549
|
attribution {
|
|
539
|
-
position:
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
right
|
|
544
|
-
bottom:
|
|
545
|
-
height:
|
|
550
|
+
position: fixed !important;
|
|
551
|
+
display: block !important;
|
|
552
|
+
left: auto;
|
|
553
|
+
right: 70px;
|
|
554
|
+
/* leaves room for the slide-number on its right */
|
|
555
|
+
bottom: var(--dhbw-strip-bottom) !important;
|
|
556
|
+
height: var(--dhbw-strip-height) !important;
|
|
557
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
546
558
|
z-index: 200;
|
|
547
|
-
font-size:
|
|
559
|
+
font-size: var(--dhbw-strip-font-size) !important;
|
|
548
560
|
text-align: right;
|
|
549
|
-
color:
|
|
550
|
-
background-color:
|
|
561
|
+
color: var(--dhbw-strip-color) !important;
|
|
562
|
+
background-color: transparent !important;
|
|
563
|
+
padding: 0 !important;
|
|
551
564
|
}
|
|
552
565
|
|
|
553
566
|
attribution>span {
|
|
554
|
-
padding
|
|
555
|
-
|
|
556
|
-
line-height: 22px !important;
|
|
567
|
+
padding: 0 !important;
|
|
568
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
557
569
|
}
|
|
558
570
|
|
|
559
|
-
attribution a
|
|
560
|
-
|
|
561
|
-
|
|
571
|
+
attribution a,
|
|
572
|
+
attribution a:visited {
|
|
573
|
+
font-size: var(--dhbw-strip-font-size);
|
|
574
|
+
color: var(--dhbw-strip-color);
|
|
575
|
+
line-height: var(--dhbw-strip-height);
|
|
562
576
|
}
|
|
563
577
|
|
|
564
|
-
attribution
|
|
565
|
-
|
|
566
|
-
color:
|
|
578
|
+
.has-dark-background>.attribution,
|
|
579
|
+
.has-dark-background>.attribution>a {
|
|
580
|
+
color: var(--dhbw-strip-color) !important;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/* Simplemenu's CSS is injected at plugin load (after dhbw.css), so we
|
|
584
|
+
need !important here to win specificity on layout props. */
|
|
585
|
+
.menubar {
|
|
586
|
+
color: var(--dhbw-strip-color) !important;
|
|
587
|
+
background: transparent !important;
|
|
588
|
+
font-size: var(--dhbw-strip-font-size) !important;
|
|
589
|
+
height: var(--dhbw-strip-height) !important;
|
|
590
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
591
|
+
bottom: var(--dhbw-strip-bottom) !important;
|
|
592
|
+
padding: 0 8px 0 15px !important;
|
|
593
|
+
/* left gutter for the menu */
|
|
594
|
+
justify-content: flex-start !important;
|
|
595
|
+
align-items: center !important;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.menubar:before,
|
|
599
|
+
.menubar:after {
|
|
600
|
+
display: none !important;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.menubar>ul {
|
|
604
|
+
gap: 1.5em !important;
|
|
605
|
+
margin: 0 !important;
|
|
606
|
+
padding: 0 !important;
|
|
607
|
+
justify-content: flex-start !important;
|
|
608
|
+
align-items: center !important;
|
|
609
|
+
height: var(--dhbw-strip-height) !important;
|
|
610
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.menubar>ul li {
|
|
614
|
+
display: inline-flex !important;
|
|
615
|
+
flex: 0 0 auto !important;
|
|
616
|
+
align-items: center !important;
|
|
617
|
+
height: var(--dhbw-strip-height) !important;
|
|
618
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
619
|
+
padding: 0 !important;
|
|
620
|
+
margin: 0 !important;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/* Every menu link state — active, inactive, hover, visited — uses the same
|
|
624
|
+
color, size, weight, padding and rendering, so nothing can shift the
|
|
625
|
+
baseline between states. Hover is the only visual change. */
|
|
626
|
+
.menubar a,
|
|
627
|
+
.menubar a:visited,
|
|
628
|
+
.menubar a:active,
|
|
629
|
+
.menubar>ul a,
|
|
630
|
+
.menubar>ul li a.active,
|
|
631
|
+
.menubar>ul li.active a {
|
|
632
|
+
display: inline-block !important;
|
|
633
|
+
padding: 0 !important;
|
|
634
|
+
margin: 0 !important;
|
|
635
|
+
border: 0 !important;
|
|
636
|
+
text-decoration: none !important;
|
|
637
|
+
font-size: var(--dhbw-strip-font-size) !important;
|
|
638
|
+
font-weight: 400 !important;
|
|
639
|
+
font-style: normal !important;
|
|
640
|
+
color: var(--dhbw-strip-color) !important;
|
|
641
|
+
opacity: 1 !important;
|
|
642
|
+
height: var(--dhbw-strip-height) !important;
|
|
643
|
+
line-height: var(--dhbw-strip-height) !important;
|
|
644
|
+
vertical-align: baseline !important;
|
|
645
|
+
transform: none !important;
|
|
646
|
+
-webkit-font-smoothing: antialiased !important;
|
|
647
|
+
-moz-osx-font-smoothing: grayscale !important;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.menubar>ul a:hover {
|
|
651
|
+
color: #1a1a1a !important;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/* Active item: fake-bold via text-stroke so the glyph width stays identical
|
|
655
|
+
to the inactive state (font-weight changes would shift neighbour items). */
|
|
656
|
+
.menubar>ul li.active>a,
|
|
657
|
+
.menubar>ul li>a.active {
|
|
658
|
+
color: #1a1a1a !important;
|
|
659
|
+
-webkit-text-stroke: 0.4px currentColor !important;
|
|
567
660
|
}
|
|
568
661
|
|
|
569
662
|
.source-code-link {
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
<!-- .slide: data-state="hide-menubar" -->
|
|
1
2
|
<div class="lecturetitle">Introduction</div>
|
|
2
3
|
|
|
3
4
|
---
|
|
4
|
-
##
|
|
5
|
+
## Table of Contents
|
|
6
|
+
<!-- .slide: data-state="hide-menubar" -->
|
|
7
|
+
|
|
8
|
+
<ul class="menu"><ul>
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
## Mermaid Example
|
|
5
12
|
|
|
6
13
|
```mermaid
|
|
7
14
|
graph LR
|
|
@@ -15,13 +22,16 @@ Some text
|
|
|
15
22
|
- This is an example presentation
|
|
16
23
|
- This is an example presentation
|
|
17
24
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
25
|
+
---
|
|
26
|
+
## Asciinema Example
|
|
27
|
+
|
|
28
|
+
<asciinema data-conf='{ "cols": 120, "rows": 25, "theme":"monokai", "autoPlay": true, "idleTimeLimit": 2, "terminalFontSize": "16px"}'
|
|
29
|
+
src="k8s-deployment.cast" />
|
|
30
|
+
|
|
22
31
|
|
|
23
32
|
---
|
|
24
|
-
##
|
|
33
|
+
## Some Heading
|
|
34
|
+
<!-- .slide: data-name="Some Heading" -->
|
|
25
35
|
|
|
26
36
|
Some text
|
|
27
37
|
- This is an example presentation
|
|
@@ -33,9 +43,11 @@ Some text
|
|
|
33
43
|
- This is an example presentation
|
|
34
44
|
- This is an example presentation
|
|
35
45
|
|
|
46
|
+
<credits>This is a test for the credits section.</credits>
|
|
36
47
|
|
|
37
48
|
---
|
|
38
49
|
## Next Heading
|
|
50
|
+
<!-- .slide: data-name="next-heading" -->
|
|
39
51
|
|
|
40
52
|
Some text
|
|
41
53
|
- This is an example presentation
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{"version": 2, "width": 130, "height": 26, "timestamp": 1584010118, "idle_time_limit": 2.0, "env": {"SHELL": "/usr/local/bin/bash", "TERM": "xterm-256color"}}
|
|
2
|
+
[0.015142, "o", "\u001b[?1049h\u001b[22;0;0t\u001b[?1h\u001b=\u001b[H\u001b[2J\u001b[?12l\u001b[?25h\u001b[?1000l\u001b[?1002l\u001b[?1006l\u001b[?1005l\u001b[c\u001b(B\u001b[m\u001b[?12;25h\u001b[?12l\u001b[?25h\u001b[?1003l\u001b[?1006l\u001b[?2004l\u001b[1;1H\u001b[1;26r\u001b]112\u0007\u001b[21;17H\u001b[?1006h\u001b[?1002h"]
|
|
3
|
+
[0.016013, "o", "\u001b[20;1H──────────────────────────────────────────────────────────────────\u001b[32m────────────────────────────────────────────────────────────────\u001b[?25l\u001b(B\u001b[m\u001b[1;1Hdennis@dppro:~$ \u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\u001b[2Bdennis@dppro:~$ \u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\u001b[21;17H\u001b[?12l\u001b[?25h"]
|
|
4
|
+
[0.016133, "o", "\u001b(B\u001b[m\u001b[?12;25h\u001b[?12l\u001b[?25h\u001b[?1003l\u001b[?1006l\u001b[?2004l\u001b[1;1H\u001b[1;26r\u001b[21;17H\u001b[?1006h\u001b[?1002h\u001b[20;1H──────────────────────────────────────────────────────────────────\u001b[32m────────────────────────────────────────────────────────────────\u001b[?25l\u001b(B\u001b[m\u001b[1;1Hdennis@dppro:~$ \u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\u001b[2Bdennis@dppro:~$ \u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\u001b[21;17H\u001b[?12l\u001b[?25h"]
|
|
5
|
+
[4.901951, "o", "watch -t kubectl get deployment"]
|
|
6
|
+
[5.428202, "o", "\r\n"]
|
|
7
|
+
[5.503769, "o", "\u001b[?25l\u001b[ANo resources found in default namespace.\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\u001b[129C\u001b[?12l\u001b[?25h"]
|
|
8
|
+
[11.899887, "o", "\u001b[32m\u001b[20;1H──────────────────────────────────────────────────────────────────\u001b[39m────────────────────────────────────────────────────────────────\u001b(B\u001b[m\u001b[1;17H"]
|
|
9
|
+
[12.619999, "o", "kubectl apply -f https://k8s.io/examples/controllers/nginx-deployment.yaml"]
|
|
10
|
+
[13.263125, "o", "\r\n"]
|
|
11
|
+
[13.772043, "o", "deployment.apps/nginx-deployment created\r\n"]
|
|
12
|
+
[13.788565, "o", "\u001b[21dNAME READY UP-TO-DATE AVAILABLE AGE\r\nnginx-deployment 0/3 0\u001b[12C0\u001b[3;1H\u001b[22;53H0s\u001b[3;1H"]
|
|
13
|
+
[13.801261, "o", "dennis@dppro:~$ "]
|
|
14
|
+
[15.855941, "o", "\u001b[22;20H3\u001b[7C3\u001b[12C3\u001b[11C2\u001b[3;17H"]
|
|
15
|
+
[17.924864, "o", "\u001b[22;53H4\u001b[3;17H"]
|
|
16
|
+
[19.101477, "o", "kubectl get replicaset"]
|
|
17
|
+
[19.886126, "o", "\r\n"]
|
|
18
|
+
[19.956142, "o", "NAME DESIRED CURRENT READY AGE\r\nnginx-deployment-54f57cf6bf 3 3 3 6s\r\n"]
|
|
19
|
+
[19.976361, "o", "dennis@dppro:~$ "]
|
|
20
|
+
[19.99448, "o", "\u001b[22;53H6\u001b[6;17H"]
|
|
21
|
+
[22.068487, "o", "\u001b[22;53H8\u001b[6;17H"]
|
|
22
|
+
[24.14261, "o", "\u001b[22;53H10s\u001b[6;17H"]
|
|
23
|
+
[24.420512, "o", "kubectl get pods"]
|
|
24
|
+
[24.992778, "o", "\r\n"]
|
|
25
|
+
[25.265619, "o", "NAME READY STATUS RESTARTS AGE\r\nnginx-deployment-54f57cf6bf-566ql 1/1 Running 0 11s\r\nnginx-deployment-54f57cf6bf-ch68t 1/1 Running 0 11s\r\nnginx-deployment-54f57cf6bf-skf22 1/1 Running 0 11s"]
|
|
26
|
+
[25.265954, "o", "\r\n"]
|
|
27
|
+
[25.289406, "o", "dennis@dppro:~$ "]
|
|
28
|
+
[26.209228, "o", "\u001b[22;54H2\u001b[11;17H"]
|
|
29
|
+
[28.278645, "o", "\u001b[22;54H4\u001b[11;17H"]
|
|
30
|
+
[30.345443, "o", "\u001b[22;54H6\u001b[11;17H"]
|
|
31
|
+
[32.411563, "o", "\u001b[22;54H8\u001b[11;17H"]
|
|
32
|
+
[33.955998, "o", "kubectl set image deployment/nginx-deployment nginx=nginx:1.9.1 --record"]
|
|
33
|
+
[34.481068, "o", "\u001b[22;53H20\u001b[11;89H"]
|
|
34
|
+
[35.908815, "o", "\r\n"]
|
|
35
|
+
[35.974804, "o", "deployment.apps/nginx-deployment image updated\r\n"]
|
|
36
|
+
[35.998725, "o", "dennis@dppro:~$ "]
|
|
37
|
+
[36.253922, "o", "kubectl set image deployment/nginx-deployment nginx=nginx:1.9.1 --record"]
|
|
38
|
+
[36.447497, "o", "\u001b[25Gget pods\u001b[K"]
|
|
39
|
+
[36.554676, "o", "\u001b[22;28H1\u001b[25C2\u001b[13;33H"]
|
|
40
|
+
[37.3226, "o", "\r\n"]
|
|
41
|
+
[37.386231, "o", "NAME READY STATUS RESTARTS AGE\r\nnginx-deployment-54f57cf6bf-566ql 1/1 Running 0 23s\r\nnginx-deployment-54f57cf6bf-ch68t 1/1 Terminating 0 23s"]
|
|
42
|
+
[37.386427, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[3Anginx-deployment-54f57cf6bf-skf22 1/1 Running 0 23s\r\nnginx-deployment-56f8998dbc-6s8xb 0/1 ContainerCreating 0 0s\r\nnginx-deployment-56f8998dbc-qctt9 1/1 Running 0 1s\u001b[1;26r\u001b[19;1H"]
|
|
43
|
+
[37.405538, "o", "dennis@dppro:~$ "]
|
|
44
|
+
[38.615804, "o", "\u001b[22;28H3\u001b[25C4\u001b[19;17H"]
|
|
45
|
+
[40.048096, "o", "kubectl get pods"]
|
|
46
|
+
[40.229233, "o", "\u001b[8Dset image deployment/nginx-deployment nginx=nginx:1.9.1 --record"]
|
|
47
|
+
[40.608258, "o", "\u001b[25Gget pods\u001b[K"]
|
|
48
|
+
[40.679253, "o", "\u001b[22;54H6\u001b[19;33H"]
|
|
49
|
+
[41.059858, "o", "\u001b[4Dreplicaset"]
|
|
50
|
+
[41.665878, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[1;26r\u001b[19;1H"]
|
|
51
|
+
[41.729691, "o", "\u001b[1;19r\u001b[2S\u001b[17dNAME DESIRED CURRENT READY AGE\r\nnginx-deployment-54f57cf6bf 0 0 0 28s\r\nnginx-deployment-56f8998dbc 3 3 \u001b[1;26r\u001b[19;51H\u001b[1;19r\u001b[19;1H\n\u001b[18;51H3 6s\u001b[1;26r\u001b[19;1H"]
|
|
52
|
+
[41.747295, "o", "dennis@dppro:~$ "]
|
|
53
|
+
[42.747218, "o", "\u001b[22;54H9\u001b[19;17H"]
|
|
54
|
+
[44.812612, "o", "\u001b[22;53H31\u001b[19;17H"]
|
|
55
|
+
[46.880279, "o", "\u001b[22;54H3\u001b[19;17H"]
|
|
56
|
+
[48.954986, "o", "\u001b[22;54H5\u001b[19;17H"]
|
|
57
|
+
[50.65087, "o", "kubectl scale deployment.v1.apps/nginx-deployment --replicas=2"]
|
|
58
|
+
[51.028781, "o", "\u001b[22;54H7\u001b[19;79H"]
|
|
59
|
+
[51.330372, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[1;26r\u001b[19;1H"]
|
|
60
|
+
[51.405333, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[Adeployment.apps/nginx-deployment scaled\u001b[1;26r\u001b[19;1H"]
|
|
61
|
+
[51.437681, "o", "dennis@dppro:~$ "]
|
|
62
|
+
[51.712471, "o", "kubectl scale deployment.v1.apps/nginx-deployment --replicas=2"]
|
|
63
|
+
[51.872287, "o", "\u001b[25Gget replicaset\u001b[K"]
|
|
64
|
+
[52.297278, "o", "\u001b[10D\u001b[6Ppods"]
|
|
65
|
+
[52.758532, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[1;26r\u001b[19;1H"]
|
|
66
|
+
[52.822498, "o", "\u001b[1;19r\u001b[2S\u001b[17dNAME READY STATUS RESTARTS AGE\r\nnginx-deployment-56f8998dbc-6s8xb 1/1 Running 0 16s\r\nnginx-deployment-56f8998dbc-gbkvj 0/1 Terminating 0\u001b[1;26r\u001b[19;60H\u001b[1;19r\u001b[2S\u001b[17;60H 15s\r\nnginx-deployment-56f8998dbc-qctt9 1/1 Running 0 17s\u001b[1;26r\u001b[19;1H"]
|
|
67
|
+
[52.839425, "o", "dennis@dppro:~$ "]
|
|
68
|
+
[53.102219, "o", "\u001b[22;20H2/2 2\u001b[12C2\u001b[12C9\u001b[19;17H"]
|
|
69
|
+
[55.167659, "o", "\u001b[22;53H41\u001b[19;17H"]
|
|
70
|
+
[57.230776, "o", "\u001b[22;54H3\u001b[19;17H"]
|
|
71
|
+
[57.765264, "o", "kubectl get pods"]
|
|
72
|
+
[58.10153, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[1;26r\u001b[19;1H"]
|
|
73
|
+
[58.171476, "o", "\u001b[1;19r\u001b[2S\u001b[17dNAME READY STATUS RESTARTS AGE\r\nnginx-deployment-56f8998dbc-6s8xb 1/1 Running 0 21s\r\nnginx-deployment-56f8998dbc-qctt9 1/1 Running 0 22s\u001b[1;26r\u001b[19;69H\u001b[1;19r\u001b[19;1H\n\u001b[1;26r\u001b[19;1H"]
|
|
74
|
+
[58.192559, "o", "dennis@dppro:~$ "]
|
|
75
|
+
[59.301196, "o", "\u001b[22;54H5\u001b[19;17H"]
|
|
76
|
+
[59.880721, "o", "kubectl get pods"]
|
|
77
|
+
[60.419891, "o", "\u001b[8Dscale deployment.v1.apps/nginx-deployment --replicas=2"]
|
|
78
|
+
[60.850326, "o", "\u001b[25Gget replicaset\u001b[K"]
|
|
79
|
+
[61.369231, "o", "\u001b[22;54H7\u001b[19;39H"]
|
|
80
|
+
[61.409873, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[1;26r\u001b[19;1H"]
|
|
81
|
+
[61.482126, "o", "\u001b[1;19r\u001b[3S\u001b[16dNAME DESIRED CURRENT READY AGE\r\nnginx-deployment-54f57cf6bf 0 0 0 47s\r\nnginx-deployment-56f8998dbc 2 2 2 25s\u001b[1;26r\u001b[19;1H"]
|
|
82
|
+
[61.482302, "o", "\u001b[32m\r\n──────────────────────────────────────────────────────────────────\u001b[39m────────────────────────────────────────────────────────────────\u001b[?25l\u001b(B\u001b[m\u001b[1;1HNAME DESIRED CURRENT READY AGE\u001b[K\r\nnginx-deployment-54f57cf6bf 0 0 0 28s\u001b[K\r\nnginx-deployment-56f8998dbc 3 3 3 6s\u001b[K\r\ndennis@dppro:~$ kubectl scale deployment.v1.apps/nginx-deployment --replicas=2\u001b[K\r\ndeployment.apps/nginx-deployment scaled\u001b[K\r\ndennis@dppro:~$ kubectl get pods\u001b[K\r\nNAME READY STATUS RESTARTS AGE\u001b[K\r\nnginx-deployment-56f8998dbc-6s8xb 1/1 Running 0 16s\u001b[K\r\nnginx-deployment-56f8998dbc-gbkvj 0/1 Terminating 0 15s\u001b[K\r\nnginx-deploy"]
|
|
83
|
+
[61.482398, "o", "ment-56f8998dbc-qctt9 1/1 Running 0 17s\u001b[K\r\ndennis@dppro:~$ kubectl get pods\u001b[K\r\nNAME READY STATUS RESTARTS AGE\u001b[K\r\nnginx-deployment-56f8998dbc-6s8xb 1/1 Running 0 21s\u001b[K\r\nnginx-deployment-56f8998dbc-qctt9 1/1 Running 0 22s\u001b[K\r\ndennis@dppro:~$ kubectl get replicaset\u001b[K\r\nNAME DESIRED CURRENT READY AGE\u001b[K\r\nnginx-deployment-54f57cf6bf 0 0 0 47s\u001b[K\r\nnginx-deployment-56f8998dbc 2 2 2 25s\u001b[K\r\n\u001b[K\u001b[2BNAME READY UP-TO-DATE AVAILABLE AGE\u001b[K\r\nnginx-deployment 2/2 2\u001b[12X\u001b[12C2\u001b[11X\u001b[11C47s\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\r\n\u001b[K\u001b[7A\u001b[?12l\u001b[?25h"]
|
|
84
|
+
[61.503534, "o", "dennis@dppro:~$ "]
|
|
85
|
+
[62.726195, "o", "kubectl get replicaset"]
|
|
86
|
+
[62.997892, "o", "\u001b[10D\u001b[6Ppods"]
|
|
87
|
+
[63.438894, "o", "\u001b[22;54H9\u001b[19;33H"]
|
|
88
|
+
[64.144609, "o", "\u001b[1;19r\u001b[19;1H\n\u001b[1;26r\u001b[19;1H"]
|
|
89
|
+
[64.205435, "o", "\u001b[1;19r\u001b[2S\u001b[17dNAME READY STATUS RESTARTS AGE\r\nnginx-deployment-56f8998dbc-6s8xb 1/1 Running 0 27s\r\nnginx-deployment-56f8998dbc-qctt9 1/1 Running 0 \u001b[1;26r\u001b[19;66H\u001b[1;19r\u001b[19;1H\n\u001b[18;66H28s"]
|
|
90
|
+
[64.205618, "o", "\u001b[1;26r\u001b[19;1H"]
|
|
91
|
+
[64.225166, "o", "dennis@dppro:~$ "]
|
|
92
|
+
[65.503262, "o", "\u001b[22;53H51\u001b[19;17H"]
|
|
93
|
+
[67.57642, "o", "\u001b[22;54H3\u001b[19;17H"]
|
|
94
|
+
[67.845157, "o", "\u001b[1;26r\u001b(B\u001b[m\u001b[?1l\u001b>\u001b[H\u001b[2J\u001b]112\u0007\u001b[?12l\u001b[?25h\u001b[?1000l\u001b[?1002l\u001b[?1006l\u001b[?1005l\u001b[?1049l\u001b[23;0;0t"]
|
package/docs/local-dev.html
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
1
2
|
<html>
|
|
2
3
|
|
|
3
4
|
<head>
|
|
@@ -8,13 +9,27 @@
|
|
|
8
9
|
<meta name="viewport"
|
|
9
10
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes, minimal-ui">
|
|
10
11
|
|
|
12
|
+
<!--
|
|
13
|
+
Local-dev variant using an import map so the JS imports the package by its
|
|
14
|
+
bare specifier ("@farberg/reveal-template/init-reveal.js") rather than a
|
|
15
|
+
relative path. This mirrors how a bundler (Vite, Rollup) resolves it, and
|
|
16
|
+
makes migration to a bundler a no-op for this file.
|
|
17
|
+
|
|
18
|
+
The import map remaps the bare prefix to "../" (the repo root, since
|
|
19
|
+
this HTML lives in docs/). basePath stays "../" because that's where
|
|
20
|
+
node_modules lives relative to this document.
|
|
21
|
+
-->
|
|
22
|
+
<script type="importmap">
|
|
23
|
+
{
|
|
24
|
+
"imports": {
|
|
25
|
+
"@farberg/reveal-template/": "../"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
</script>
|
|
11
29
|
<script type="module">
|
|
12
|
-
import { initReveal } from '
|
|
30
|
+
import { initReveal } from '@farberg/reveal-template/init-reveal.js'
|
|
13
31
|
initReveal({
|
|
14
|
-
|
|
15
|
-
cssPrefixPath: "../",
|
|
16
|
-
cssThemePrefixPath: "../",
|
|
17
|
-
revealPath: "../node_modules/reveal.js/",
|
|
32
|
+
basePath: "../",
|
|
18
33
|
verbose: true
|
|
19
34
|
});
|
|
20
35
|
</script>
|
|
@@ -23,10 +38,6 @@
|
|
|
23
38
|
<body>
|
|
24
39
|
<div class="reveal">
|
|
25
40
|
<div class="slides">
|
|
26
|
-
<section data-markdown>
|
|
27
|
-
<textarea data-template>
|
|
28
|
-
</textarea>
|
|
29
|
-
</section>
|
|
30
41
|
</div>
|
|
31
42
|
</div>
|
|
32
43
|
</body>
|
package/docs/npm.html
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
1
2
|
<html>
|
|
2
3
|
|
|
3
4
|
<head>
|
|
@@ -7,17 +8,23 @@
|
|
|
7
8
|
<meta name="viewport"
|
|
8
9
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes, minimal-ui">
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
<!--
|
|
12
|
+
In a real slides project that installs @farberg/reveal-template via npm,
|
|
13
|
+
your HTML sits next to node_modules/ and the boilerplate is just:
|
|
13
14
|
|
|
15
|
+
<script type="module">
|
|
16
|
+
import { initReveal } from './node_modules/@farberg/reveal-template/init-reveal.js'
|
|
17
|
+
initReveal()
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
The example below mirrors that, but inside this repo: init-reveal.js is
|
|
21
|
+
one directory up (../init-reveal.js) and so is node_modules (basePath: "../").
|
|
22
|
+
Stylesheets are added by init-reveal.js; no <link> tags needed here.
|
|
23
|
+
-->
|
|
14
24
|
<script type="module">
|
|
15
25
|
import { initReveal } from '../init-reveal.js'
|
|
16
26
|
initReveal({
|
|
17
|
-
|
|
18
|
-
cssPrefixPath: "../",
|
|
19
|
-
cssThemePrefixPath: "../",
|
|
20
|
-
revealPath: "../node_modules/reveal.js/",
|
|
27
|
+
basePath: "../",
|
|
21
28
|
verbose: true
|
|
22
29
|
});
|
|
23
30
|
</script>
|