codefresh 0.88.3 → 0.88.5
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/lib/interface/cli/completion/tree.json +1 -0
- package/package.json +9 -2
- package/.dockerignore +0 -15
- package/.eslintrc.js +0 -20
- package/.gitattributes +0 -29
- package/.github/CODEOWNERS +0 -1
- package/.github/pull_request_template.md +0 -5
- package/.github/release-drafter.yaml +0 -8
- package/.github/workflows/create-release.yaml +0 -36
- package/.github/workflows/draft-release.yaml +0 -33
- package/.nvmrc +0 -1
- package/Dockerfile +0 -39
- package/Dockerfile-debian +0 -43
- package/Dockerfile-debian-rootless +0 -50
- package/Dockerfile-rootless +0 -47
- package/__mocks__/codefresh.yml +0 -40
- package/__mocks__/requestretry.js +0 -35
- package/cli.gif +0 -0
- package/docs/archetypes/default.md +0 -6
- package/docs/config.toml +0 -44
- package/docs/content/_header.md +0 -6
- package/docs/content/_index.md +0 -19
- package/docs/content/contexts/spec/_index.md +0 -28
- package/docs/content/contexts/spec/config.md +0 -30
- package/docs/content/contexts/spec/helm-repository.md +0 -16
- package/docs/content/contexts/spec/secret-yaml.md +0 -32
- package/docs/content/contexts/spec/secret.md +0 -30
- package/docs/content/contexts/spec/yaml.md +0 -30
- package/docs/content/external-resources.md +0 -8
- package/docs/content/getting-started/_index.md +0 -28
- package/docs/content/installation/_index.md +0 -13
- package/docs/content/installation/docker.md +0 -15
- package/docs/content/installation/homebrew.md +0 -29
- package/docs/content/installation/npm.md +0 -22
- package/docs/content/installation/yarn.md +0 -22
- package/docs/content/more/_index.md +0 -7
- package/docs/content/operate on resources/_index.md +0 -10
- package/docs/content/pipelines/Run Pipeline.md +0 -38
- package/docs/content/pipelines/spec.md +0 -264
- package/docs/docs.spec.js +0 -8
- package/docs/index.js +0 -431
- package/docs/layouts/partials/menu-footer.html +0 -13
- package/docs/themes/docdock/LICENSE.md +0 -22
- package/docs/themes/docdock/README.md +0 -129
- package/docs/themes/docdock/archetypes/default.md +0 -9
- package/docs/themes/docdock/archetypes/slide.md +0 -46
- package/docs/themes/docdock/exampleSite/config.toml +0 -68
- package/docs/themes/docdock/exampleSite/content/_index.md +0 -50
- package/docs/themes/docdock/exampleSite/content/content-organisation/_index.md +0 -138
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/_index.md +0 -66
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/disable.md +0 -24
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/theme-variants.md +0 -35
- package/docs/themes/docdock/exampleSite/content/content-organisation/customize-style/themestyle.md +0 -25
- package/docs/themes/docdock/exampleSite/content/content-organisation/extramenu.md +0 -28
- package/docs/themes/docdock/exampleSite/content/content-organisation/logo.md +0 -12
- package/docs/themes/docdock/exampleSite/content/create-page/_index.md +0 -54
- package/docs/themes/docdock/exampleSite/content/create-page/homepage.md +0 -8
- package/docs/themes/docdock/exampleSite/content/create-page/myslide.md +0 -48
- package/docs/themes/docdock/exampleSite/content/create-page/page-images.md +0 -28
- package/docs/themes/docdock/exampleSite/content/create-page/page-slide.md +0 -114
- package/docs/themes/docdock/exampleSite/content/credits.md +0 -44
- package/docs/themes/docdock/exampleSite/content/getting-start/_index.md +0 -12
- package/docs/themes/docdock/exampleSite/content/getting-start/configuration.md +0 -56
- package/docs/themes/docdock/exampleSite/content/getting-start/installation.md +0 -83
- package/docs/themes/docdock/exampleSite/content/search/_index.md +0 -13
- package/docs/themes/docdock/exampleSite/content/shortcodes/_index.md +0 -10
- package/docs/themes/docdock/exampleSite/content/shortcodes/alert.md +0 -30
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/BachGavotteShort.mp3 +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/Carroll_AliceAuPaysDesMerveilles.pdf +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/adivorciarsetoca00cape.pdf +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/hugo.png +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.files/movieselectricsheep-flock-244-32500-2.mp4 +0 -0
- package/docs/themes/docdock/exampleSite/content/shortcodes/attachments.md +0 -59
- package/docs/themes/docdock/exampleSite/content/shortcodes/button.md +0 -37
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/_index.md +0 -46
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-1/children-1-1/children-1-1-1/children-1-1-1-1/children-1-1-1-1-1/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/_index.md +0 -11
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-2/test3.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-3/_index.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/children-4/_index.md +0 -7
- package/docs/themes/docdock/exampleSite/content/shortcodes/children/test.md +0 -6
- package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt-include.md +0 -25
- package/docs/themes/docdock/exampleSite/content/shortcodes/excerpt.md +0 -39
- package/docs/themes/docdock/exampleSite/content/shortcodes/expand.md +0 -41
- package/docs/themes/docdock/exampleSite/content/shortcodes/icon.md +0 -1254
- package/docs/themes/docdock/exampleSite/content/shortcodes/mermaid.md +0 -98
- package/docs/themes/docdock/exampleSite/content/shortcodes/notice.md +0 -61
- package/docs/themes/docdock/exampleSite/content/shortcodes/panel.md +0 -60
- package/docs/themes/docdock/exampleSite/content/shortcodes/revealjs.md +0 -119
- package/docs/themes/docdock/exampleSite/content/showcase.md +0 -15
- package/docs/themes/docdock/exampleSite/layouts/partials/custom-head.html +0 -10
- package/docs/themes/docdock/exampleSite/layouts/partials/menu-footer.html +0 -13
- package/docs/themes/docdock/exampleSite/layouts/shortcodes/ghcontributors.html +0 -31
- package/docs/themes/docdock/exampleSite/static/menu-entry-icon.png +0 -0
- package/docs/themes/docdock/exampleSite/static/showcase/bitfan.site.png +0 -0
- package/docs/themes/docdock/exampleSite/static/showcase/invincible.site.png +0 -0
- package/docs/themes/docdock/exampleSite/static/style-flex.png +0 -0
- package/docs/themes/docdock/exampleSite/static/style-original.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-gold.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-gray.png +0 -0
- package/docs/themes/docdock/exampleSite/static/variant-green.png +0 -0
- package/docs/themes/docdock/i18n/en.toml +0 -44
- package/docs/themes/docdock/i18n/es.toml +0 -26
- package/docs/themes/docdock/i18n/fr.toml +0 -44
- package/docs/themes/docdock/i18n/nb.toml +0 -38
- package/docs/themes/docdock/images/screenshot.png +0 -0
- package/docs/themes/docdock/images/tn.png +0 -0
- package/docs/themes/docdock/layouts/404.html +0 -39
- package/docs/themes/docdock/layouts/_default/baseof.html +0 -32
- package/docs/themes/docdock/layouts/_default/li.html +0 -22
- package/docs/themes/docdock/layouts/_default/list.html +0 -20
- package/docs/themes/docdock/layouts/_default/single.html +0 -3
- package/docs/themes/docdock/layouts/index.html +0 -30
- package/docs/themes/docdock/layouts/index.json +0 -12
- package/docs/themes/docdock/layouts/partials/breadcrumb.html +0 -8
- package/docs/themes/docdock/layouts/partials/custom-content-footer.html +0 -6
- package/docs/themes/docdock/layouts/partials/custom-footer.html +0 -0
- package/docs/themes/docdock/layouts/partials/custom-head.html +0 -2
- package/docs/themes/docdock/layouts/partials/flex/body-aftercontent.html +0 -54
- package/docs/themes/docdock/layouts/partials/flex/body-beforecontent.html +0 -68
- package/docs/themes/docdock/layouts/partials/flex/head.html +0 -17
- package/docs/themes/docdock/layouts/partials/flex/scripts.html +0 -11
- package/docs/themes/docdock/layouts/partials/flex/selectnavigation.html +0 -58
- package/docs/themes/docdock/layouts/partials/header.html +0 -10
- package/docs/themes/docdock/layouts/partials/language-selector.html +0 -18
- package/docs/themes/docdock/layouts/partials/menu-footer.html +0 -0
- package/docs/themes/docdock/layouts/partials/menu.html +0 -82
- package/docs/themes/docdock/layouts/partials/next-prev-page.html +0 -44
- package/docs/themes/docdock/layouts/partials/original/body-aftercontent.html +0 -13
- package/docs/themes/docdock/layouts/partials/original/body-beforecontent.html +0 -128
- package/docs/themes/docdock/layouts/partials/original/head.html +0 -23
- package/docs/themes/docdock/layouts/partials/original/scripts.html +0 -10
- package/docs/themes/docdock/layouts/partials/pagination.html +0 -9
- package/docs/themes/docdock/layouts/shortcodes/alert.html +0 -6
- package/docs/themes/docdock/layouts/shortcodes/anchor.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/anchorlink.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/attachmentlink.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/attachments.html +0 -33
- package/docs/themes/docdock/layouts/shortcodes/button.html +0 -6
- package/docs/themes/docdock/layouts/shortcodes/children.html +0 -104
- package/docs/themes/docdock/layouts/shortcodes/code.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/emoticon.html +0 -29
- package/docs/themes/docdock/layouts/shortcodes/excerpt-include.html +0 -14
- package/docs/themes/docdock/layouts/shortcodes/excerpt.html +0 -7
- package/docs/themes/docdock/layouts/shortcodes/expand.html +0 -16
- package/docs/themes/docdock/layouts/shortcodes/header.html +0 -16
- package/docs/themes/docdock/layouts/shortcodes/icon.html +0 -13
- package/docs/themes/docdock/layouts/shortcodes/image.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/info.html +0 -10
- package/docs/themes/docdock/layouts/shortcodes/label.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/mermaid.html +0 -3
- package/docs/themes/docdock/layouts/shortcodes/note.html +0 -4
- package/docs/themes/docdock/layouts/shortcodes/notice.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/pagelink.html +0 -12
- package/docs/themes/docdock/layouts/shortcodes/pagetreesearch.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/panel.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/recently-updated.html +0 -7
- package/docs/themes/docdock/layouts/shortcodes/relref.html +0 -14
- package/docs/themes/docdock/layouts/shortcodes/revealjs.html +0 -66
- package/docs/themes/docdock/layouts/shortcodes/section.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/task.html +0 -10
- package/docs/themes/docdock/layouts/shortcodes/tasklist.html +0 -4
- package/docs/themes/docdock/layouts/shortcodes/tip.html +0 -10
- package/docs/themes/docdock/layouts/shortcodes/toc.html +0 -2
- package/docs/themes/docdock/layouts/shortcodes/unknow.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/userlink.html +0 -1
- package/docs/themes/docdock/layouts/shortcodes/viewppt.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/viewxls.html +0 -5
- package/docs/themes/docdock/layouts/shortcodes/warning.html +0 -12
- package/docs/themes/docdock/layouts/shortcodes/well.html +0 -1
- package/docs/themes/docdock/layouts/slide/single.html +0 -38
- package/docs/themes/docdock/static/css/auto-complete.css +0 -49
- package/docs/themes/docdock/static/css/bootstrap.min.css +0 -1884
- package/docs/themes/docdock/static/css/featherlight.min.css +0 -8
- package/docs/themes/docdock/static/css/font-awesome.min.css +0 -4
- package/docs/themes/docdock/static/css/horsey.css +0 -35
- package/docs/themes/docdock/static/css/hybrid.css +0 -102
- package/docs/themes/docdock/static/css/nucleus.css +0 -617
- package/docs/themes/docdock/static/fonts/FontAwesome.otf +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.eot +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.svg +0 -359
- package/docs/themes/docdock/static/fonts/Inconsolata.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Inconsolata.woff +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Bold.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Bold.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Lato-Regular.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.svg +0 -1019
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-Normal-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.svg +0 -918
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/Novecentosanswide-UltraLight-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Italic.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Medium.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Roboto-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/RobotoMono-Medium.ttf +0 -0
- package/docs/themes/docdock/static/fonts/RobotoMono-Regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.svg +0 -332
- package/docs/themes/docdock/static/fonts/Work_Sans_200.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_200.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.svg +0 -331
- package/docs/themes/docdock/static/fonts/Work_Sans_300.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_300.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.eot +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.svg +0 -333
- package/docs/themes/docdock/static/fonts/Work_Sans_500.ttf +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.woff +0 -0
- package/docs/themes/docdock/static/fonts/Work_Sans_500.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.eot +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.svg +0 -2671
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.ttf +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff +0 -0
- package/docs/themes/docdock/static/fonts/fontawesome-webfont.woff2 +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.eot +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.svg +0 -288
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff +0 -0
- package/docs/themes/docdock/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/docs/themes/docdock/static/images/clippy.svg +0 -4
- package/docs/themes/docdock/static/images/favicon.png +0 -0
- package/docs/themes/docdock/static/images/gopher-404.jpg +0 -0
- package/docs/themes/docdock/static/js/auto-complete.js +0 -223
- package/docs/themes/docdock/static/js/clipboard.min.js +0 -7
- package/docs/themes/docdock/static/js/docdock.js +0 -309
- package/docs/themes/docdock/static/js/featherlight.min.js +0 -8
- package/docs/themes/docdock/static/js/highlight.pack.js +0 -2
- package/docs/themes/docdock/static/js/html5shiv-printshiv.min.js +0 -4
- package/docs/themes/docdock/static/js/jquery-2.x.min.js +0 -4
- package/docs/themes/docdock/static/js/lunr.min.js +0 -6
- package/docs/themes/docdock/static/js/modernizr.custom.71422.js +0 -4
- package/docs/themes/docdock/static/js/search.js +0 -91
- package/docs/themes/docdock/static/mermaid/mermaid.css +0 -273
- package/docs/themes/docdock/static/mermaid/mermaid.dark.css +0 -275
- package/docs/themes/docdock/static/mermaid/mermaid.forest.css +0 -353
- package/docs/themes/docdock/static/mermaid/mermaid.js +0 -30
- package/docs/themes/docdock/static/none.html +0 -0
- package/docs/themes/docdock/static/revealjs/.travis.yml +0 -5
- package/docs/themes/docdock/static/revealjs/CONTRIBUTING.md +0 -23
- package/docs/themes/docdock/static/revealjs/Gruntfile.js +0 -192
- package/docs/themes/docdock/static/revealjs/LICENSE +0 -19
- package/docs/themes/docdock/static/revealjs/README.md +0 -1238
- package/docs/themes/docdock/static/revealjs/bower.json +0 -27
- package/docs/themes/docdock/static/revealjs/css/print/paper.css +0 -203
- package/docs/themes/docdock/static/revealjs/css/print/pdf.css +0 -178
- package/docs/themes/docdock/static/revealjs/css/reveal.css +0 -1555
- package/docs/themes/docdock/static/revealjs/css/reveal.scss +0 -1717
- package/docs/themes/docdock/static/revealjs/css/theme/README.md +0 -21
- package/docs/themes/docdock/static/revealjs/css/theme/beige.css +0 -268
- package/docs/themes/docdock/static/revealjs/css/theme/black.css +0 -264
- package/docs/themes/docdock/static/revealjs/css/theme/blood.css +0 -287
- package/docs/themes/docdock/static/revealjs/css/theme/league.css +0 -270
- package/docs/themes/docdock/static/revealjs/css/theme/moon.css +0 -268
- package/docs/themes/docdock/static/revealjs/css/theme/night.css +0 -262
- package/docs/themes/docdock/static/revealjs/css/theme/serif.css +0 -264
- package/docs/themes/docdock/static/revealjs/css/theme/simple.css +0 -267
- package/docs/themes/docdock/static/revealjs/css/theme/sky.css +0 -271
- package/docs/themes/docdock/static/revealjs/css/theme/solarized.css +0 -268
- package/docs/themes/docdock/static/revealjs/css/theme/source/beige.scss +0 -39
- package/docs/themes/docdock/static/revealjs/css/theme/source/black.scss +0 -49
- package/docs/themes/docdock/static/revealjs/css/theme/source/blood.scss +0 -78
- package/docs/themes/docdock/static/revealjs/css/theme/source/league.scss +0 -34
- package/docs/themes/docdock/static/revealjs/css/theme/source/moon.scss +0 -57
- package/docs/themes/docdock/static/revealjs/css/theme/source/night.scss +0 -34
- package/docs/themes/docdock/static/revealjs/css/theme/source/serif.scss +0 -35
- package/docs/themes/docdock/static/revealjs/css/theme/source/simple.scss +0 -43
- package/docs/themes/docdock/static/revealjs/css/theme/source/sky.scss +0 -46
- package/docs/themes/docdock/static/revealjs/css/theme/source/solarized.scss +0 -63
- package/docs/themes/docdock/static/revealjs/css/theme/source/white.scss +0 -49
- package/docs/themes/docdock/static/revealjs/css/theme/template/mixins.scss +0 -29
- package/docs/themes/docdock/static/revealjs/css/theme/template/settings.scss +0 -43
- package/docs/themes/docdock/static/revealjs/css/theme/template/theme.scss +0 -316
- package/docs/themes/docdock/static/revealjs/css/theme/white.css +0 -264
- package/docs/themes/docdock/static/revealjs/demo.html +0 -410
- package/docs/themes/docdock/static/revealjs/index.html +0 -49
- package/docs/themes/docdock/static/revealjs/js/reveal.js +0 -5239
- package/docs/themes/docdock/static/revealjs/lib/css/zenburn.css +0 -80
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/LICENSE +0 -2
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.css +0 -10
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/league-gothic/league-gothic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/LICENSE +0 -45
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- package/docs/themes/docdock/static/revealjs/lib/font/source-sans-pro/source-sans-pro.css +0 -39
- package/docs/themes/docdock/static/revealjs/lib/js/classList.js +0 -2
- package/docs/themes/docdock/static/revealjs/lib/js/head.min.js +0 -9
- package/docs/themes/docdock/static/revealjs/lib/js/html5shiv.js +0 -7
- package/docs/themes/docdock/static/revealjs/package.json +0 -43
- package/docs/themes/docdock/static/revealjs/plugin/highlight/highlight.js +0 -77
- package/docs/themes/docdock/static/revealjs/plugin/markdown/example.html +0 -129
- package/docs/themes/docdock/static/revealjs/plugin/markdown/example.md +0 -31
- package/docs/themes/docdock/static/revealjs/plugin/markdown/markdown.js +0 -412
- package/docs/themes/docdock/static/revealjs/plugin/markdown/marked.js +0 -6
- package/docs/themes/docdock/static/revealjs/plugin/math/math.js +0 -67
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/client.js +0 -13
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/index.js +0 -64
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/master.js +0 -34
- package/docs/themes/docdock/static/revealjs/plugin/multiplex/package.json +0 -19
- package/docs/themes/docdock/static/revealjs/plugin/notes/notes.html +0 -759
- package/docs/themes/docdock/static/revealjs/plugin/notes/notes.js +0 -155
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/client.js +0 -65
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/index.js +0 -69
- package/docs/themes/docdock/static/revealjs/plugin/notes-server/notes.html +0 -585
- package/docs/themes/docdock/static/revealjs/plugin/print-pdf/print-pdf.js +0 -69
- package/docs/themes/docdock/static/revealjs/plugin/search/search.js +0 -206
- package/docs/themes/docdock/static/revealjs/plugin/zoom-js/zoom.js +0 -272
- package/docs/themes/docdock/static/revealjs/test/examples/assets/image1.png +0 -0
- package/docs/themes/docdock/static/revealjs/test/examples/assets/image2.png +0 -0
- package/docs/themes/docdock/static/revealjs/test/examples/barebones.html +0 -41
- package/docs/themes/docdock/static/revealjs/test/examples/embedded-media.html +0 -49
- package/docs/themes/docdock/static/revealjs/test/examples/math.html +0 -185
- package/docs/themes/docdock/static/revealjs/test/examples/slide-backgrounds.html +0 -144
- package/docs/themes/docdock/static/revealjs/test/examples/slide-transitions.html +0 -101
- package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.css +0 -244
- package/docs/themes/docdock/static/revealjs/test/qunit-1.12.0.js +0 -2212
- package/docs/themes/docdock/static/revealjs/test/simple.md +0 -12
- package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.html +0 -134
- package/docs/themes/docdock/static/revealjs/test/test-markdown-element-attributes.js +0 -46
- package/docs/themes/docdock/static/revealjs/test/test-markdown-external.html +0 -36
- package/docs/themes/docdock/static/revealjs/test/test-markdown-external.js +0 -24
- package/docs/themes/docdock/static/revealjs/test/test-markdown-options.html +0 -41
- package/docs/themes/docdock/static/revealjs/test/test-markdown-options.js +0 -26
- package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.html +0 -128
- package/docs/themes/docdock/static/revealjs/test/test-markdown-slide-attributes.js +0 -47
- package/docs/themes/docdock/static/revealjs/test/test-markdown.html +0 -52
- package/docs/themes/docdock/static/revealjs/test/test-markdown.js +0 -15
- package/docs/themes/docdock/static/revealjs/test/test-pdf.html +0 -83
- package/docs/themes/docdock/static/revealjs/test/test-pdf.js +0 -15
- package/docs/themes/docdock/static/revealjs/test/test.html +0 -86
- package/docs/themes/docdock/static/revealjs/test/test.js +0 -597
- package/docs/themes/docdock/static/scss/flex/article.scss +0 -356
- package/docs/themes/docdock/static/scss/flex/fonts.scss +0 -38
- package/docs/themes/docdock/static/scss/flex/footer.scss +0 -45
- package/docs/themes/docdock/static/scss/flex/header.scss +0 -89
- package/docs/themes/docdock/static/scss/flex/main.scss +0 -164
- package/docs/themes/docdock/static/scss/flex/medias.scss +0 -74
- package/docs/themes/docdock/static/scss/flex/menu.scss +0 -126
- package/docs/themes/docdock/static/scss/flex/shortcode.children.scss +0 -34
- package/docs/themes/docdock/static/scss/flex/shortcode.notice.scss +0 -63
- package/docs/themes/docdock/static/scss/flex/style.scss +0 -14
- package/docs/themes/docdock/static/scss/original/_colours.scss +0 -14
- package/docs/themes/docdock/static/scss/original/_functions.scss +0 -89
- package/docs/themes/docdock/static/scss/original/_variables.scss +0 -137
- package/docs/themes/docdock/static/scss/original/fonts.scss +0 -23
- package/docs/themes/docdock/static/scss/original/main.scss +0 -1233
- package/docs/themes/docdock/static/scss/original/print.scss +0 -29
- package/docs/themes/docdock/static/scss/original/responsive.scss +0 -124
- package/docs/themes/docdock/static/scss/original/shortcodes.scss +0 -32
- package/docs/themes/docdock/static/scss/original/sidebar.scss +0 -276
- package/docs/themes/docdock/static/scss/original/style.scss +0 -16
- package/docs/themes/docdock/static/theme-flex/ribbon.png +0 -0
- package/docs/themes/docdock/static/theme-flex/script.js +0 -277
- package/docs/themes/docdock/static/theme-flex/style.css +0 -728
- package/docs/themes/docdock/static/theme-original/script.js +0 -133
- package/docs/themes/docdock/static/theme-original/style.css +0 -1411
- package/docs/themes/docdock/static/theme-original/variant-blue.css +0 -0
- package/docs/themes/docdock/static/theme-original/variant-gold.css +0 -61
- package/docs/themes/docdock/static/theme-original/variant-gray.css +0 -61
- package/docs/themes/docdock/static/theme-original/variant-green.css +0 -61
- package/docs/themes/docdock/theme.toml +0 -22
- package/e2e/README.md +0 -10
- package/e2e/data/crud.pip.yaml +0 -23
- package/e2e/data/test-run.pip.yaml +0 -23
- package/e2e/e2e.spec.sh +0 -25
- package/e2e/helpers.sh +0 -10
- package/e2e/scenarios/agents.sh +0 -1
- package/e2e/scenarios/annotations.sh +0 -2
- package/e2e/scenarios/boards.sh +0 -3
- package/e2e/scenarios/builds.sh +0 -1
- package/e2e/scenarios/clusters.sh +0 -1
- package/e2e/scenarios/compositions.sh +0 -1
- package/e2e/scenarios/contexts.sh +0 -1
- package/e2e/scenarios/environments.sh +0 -1
- package/e2e/scenarios/helm-repo.sh +0 -1
- package/e2e/scenarios/images.sh +0 -1
- package/e2e/scenarios/pipeline-run.sh +0 -26
- package/e2e/scenarios/pipelines.sh +0 -31
- package/e2e/scenarios/projects.sh +0 -17
- package/e2e/scenarios/registry.sh +0 -1
- package/e2e/scenarios/repository.sh +0 -2
- package/e2e/scenarios/runtime-environment.sh +0 -1
- package/e2e/scenarios/step-types.sh +0 -1
- package/e2e/scenarios/system-runtime-environments.sh +0 -1
- package/e2e/scenarios/teams.sh +0 -1
- package/e2e/scenarios/tokens.sh +0 -1
- package/e2e/scenarios/triggers.sh +0 -3
- package/test-setup.js +0 -34
|
@@ -1,585 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
|
|
6
|
-
<title>reveal.js - Slide Notes</title>
|
|
7
|
-
|
|
8
|
-
<style>
|
|
9
|
-
body {
|
|
10
|
-
font-family: Helvetica;
|
|
11
|
-
font-size: 18px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
#current-slide,
|
|
15
|
-
#upcoming-slide,
|
|
16
|
-
#speaker-controls {
|
|
17
|
-
padding: 6px;
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
-moz-box-sizing: border-box;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
#current-slide iframe,
|
|
23
|
-
#upcoming-slide iframe {
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
border: 1px solid #ddd;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
#current-slide .label,
|
|
30
|
-
#upcoming-slide .label {
|
|
31
|
-
position: absolute;
|
|
32
|
-
top: 10px;
|
|
33
|
-
left: 10px;
|
|
34
|
-
z-index: 2;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.overlay-element {
|
|
38
|
-
height: 34px;
|
|
39
|
-
line-height: 34px;
|
|
40
|
-
padding: 0 10px;
|
|
41
|
-
text-shadow: none;
|
|
42
|
-
background: rgba( 220, 220, 220, 0.8 );
|
|
43
|
-
color: #222;
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.overlay-element.interactive:hover {
|
|
48
|
-
background: rgba( 220, 220, 220, 1 );
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
#current-slide {
|
|
52
|
-
position: absolute;
|
|
53
|
-
width: 60%;
|
|
54
|
-
height: 100%;
|
|
55
|
-
top: 0;
|
|
56
|
-
left: 0;
|
|
57
|
-
padding-right: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
#upcoming-slide {
|
|
61
|
-
position: absolute;
|
|
62
|
-
width: 40%;
|
|
63
|
-
height: 40%;
|
|
64
|
-
right: 0;
|
|
65
|
-
top: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/* Speaker controls */
|
|
69
|
-
#speaker-controls {
|
|
70
|
-
position: absolute;
|
|
71
|
-
top: 40%;
|
|
72
|
-
right: 0;
|
|
73
|
-
width: 40%;
|
|
74
|
-
height: 60%;
|
|
75
|
-
overflow: auto;
|
|
76
|
-
font-size: 18px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.speaker-controls-time.hidden,
|
|
80
|
-
.speaker-controls-notes.hidden {
|
|
81
|
-
display: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.speaker-controls-time .label,
|
|
85
|
-
.speaker-controls-notes .label {
|
|
86
|
-
text-transform: uppercase;
|
|
87
|
-
font-weight: normal;
|
|
88
|
-
font-size: 0.66em;
|
|
89
|
-
color: #666;
|
|
90
|
-
margin: 0;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.speaker-controls-time {
|
|
94
|
-
border-bottom: 1px solid rgba( 200, 200, 200, 0.5 );
|
|
95
|
-
margin-bottom: 10px;
|
|
96
|
-
padding: 10px 16px;
|
|
97
|
-
padding-bottom: 20px;
|
|
98
|
-
cursor: pointer;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.speaker-controls-time .reset-button {
|
|
102
|
-
opacity: 0;
|
|
103
|
-
float: right;
|
|
104
|
-
color: #666;
|
|
105
|
-
text-decoration: none;
|
|
106
|
-
}
|
|
107
|
-
.speaker-controls-time:hover .reset-button {
|
|
108
|
-
opacity: 1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.speaker-controls-time .timer,
|
|
112
|
-
.speaker-controls-time .clock {
|
|
113
|
-
width: 50%;
|
|
114
|
-
font-size: 1.9em;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.speaker-controls-time .timer {
|
|
118
|
-
float: left;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.speaker-controls-time .clock {
|
|
122
|
-
float: right;
|
|
123
|
-
text-align: right;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.speaker-controls-time span.mute {
|
|
127
|
-
color: #bbb;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.speaker-controls-notes {
|
|
131
|
-
padding: 10px 16px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.speaker-controls-notes .value {
|
|
135
|
-
margin-top: 5px;
|
|
136
|
-
line-height: 1.4;
|
|
137
|
-
font-size: 1.2em;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/* Layout selector */
|
|
141
|
-
#speaker-layout {
|
|
142
|
-
position: absolute;
|
|
143
|
-
top: 10px;
|
|
144
|
-
right: 10px;
|
|
145
|
-
color: #222;
|
|
146
|
-
z-index: 10;
|
|
147
|
-
}
|
|
148
|
-
#speaker-layout select {
|
|
149
|
-
position: absolute;
|
|
150
|
-
width: 100%;
|
|
151
|
-
height: 100%;
|
|
152
|
-
top: 0;
|
|
153
|
-
left: 0;
|
|
154
|
-
border: 0;
|
|
155
|
-
box-shadow: 0;
|
|
156
|
-
cursor: pointer;
|
|
157
|
-
opacity: 0;
|
|
158
|
-
|
|
159
|
-
font-size: 1em;
|
|
160
|
-
background-color: transparent;
|
|
161
|
-
|
|
162
|
-
-moz-appearance: none;
|
|
163
|
-
-webkit-appearance: none;
|
|
164
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
#speaker-layout select:focus {
|
|
168
|
-
outline: none;
|
|
169
|
-
box-shadow: none;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.clear {
|
|
173
|
-
clear: both;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/* Speaker layout: Wide */
|
|
177
|
-
body[data-speaker-layout="wide"] #current-slide,
|
|
178
|
-
body[data-speaker-layout="wide"] #upcoming-slide {
|
|
179
|
-
width: 50%;
|
|
180
|
-
height: 45%;
|
|
181
|
-
padding: 6px;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
body[data-speaker-layout="wide"] #current-slide {
|
|
185
|
-
top: 0;
|
|
186
|
-
left: 0;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
body[data-speaker-layout="wide"] #upcoming-slide {
|
|
190
|
-
top: 0;
|
|
191
|
-
left: 50%;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
body[data-speaker-layout="wide"] #speaker-controls {
|
|
195
|
-
top: 45%;
|
|
196
|
-
left: 0;
|
|
197
|
-
width: 100%;
|
|
198
|
-
height: 50%;
|
|
199
|
-
font-size: 1.25em;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/* Speaker layout: Tall */
|
|
203
|
-
body[data-speaker-layout="tall"] #current-slide,
|
|
204
|
-
body[data-speaker-layout="tall"] #upcoming-slide {
|
|
205
|
-
width: 45%;
|
|
206
|
-
height: 50%;
|
|
207
|
-
padding: 6px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
body[data-speaker-layout="tall"] #current-slide {
|
|
211
|
-
top: 0;
|
|
212
|
-
left: 0;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
body[data-speaker-layout="tall"] #upcoming-slide {
|
|
216
|
-
top: 50%;
|
|
217
|
-
left: 0;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
body[data-speaker-layout="tall"] #speaker-controls {
|
|
221
|
-
padding-top: 40px;
|
|
222
|
-
top: 0;
|
|
223
|
-
left: 45%;
|
|
224
|
-
width: 55%;
|
|
225
|
-
height: 100%;
|
|
226
|
-
font-size: 1.25em;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/* Speaker layout: Notes only */
|
|
230
|
-
body[data-speaker-layout="notes-only"] #current-slide,
|
|
231
|
-
body[data-speaker-layout="notes-only"] #upcoming-slide {
|
|
232
|
-
display: none;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
body[data-speaker-layout="notes-only"] #speaker-controls {
|
|
236
|
-
padding-top: 40px;
|
|
237
|
-
top: 0;
|
|
238
|
-
left: 0;
|
|
239
|
-
width: 100%;
|
|
240
|
-
height: 100%;
|
|
241
|
-
font-size: 1.25em;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
</style>
|
|
245
|
-
</head>
|
|
246
|
-
|
|
247
|
-
<body>
|
|
248
|
-
|
|
249
|
-
<div id="current-slide"></div>
|
|
250
|
-
<div id="upcoming-slide"><span class="overlay-element label">Upcoming</span></div>
|
|
251
|
-
<div id="speaker-controls">
|
|
252
|
-
<div class="speaker-controls-time">
|
|
253
|
-
<h4 class="label">Time <span class="reset-button">Click to Reset</span></h4>
|
|
254
|
-
<div class="clock">
|
|
255
|
-
<span class="clock-value">0:00 AM</span>
|
|
256
|
-
</div>
|
|
257
|
-
<div class="timer">
|
|
258
|
-
<span class="hours-value">00</span><span class="minutes-value">:00</span><span class="seconds-value">:00</span>
|
|
259
|
-
</div>
|
|
260
|
-
<div class="clear"></div>
|
|
261
|
-
</div>
|
|
262
|
-
|
|
263
|
-
<div class="speaker-controls-notes hidden">
|
|
264
|
-
<h4 class="label">Notes</h4>
|
|
265
|
-
<div class="value"></div>
|
|
266
|
-
</div>
|
|
267
|
-
</div>
|
|
268
|
-
<div id="speaker-layout" class="overlay-element interactive">
|
|
269
|
-
<span class="speaker-layout-label"></span>
|
|
270
|
-
<select class="speaker-layout-dropdown"></select>
|
|
271
|
-
</div>
|
|
272
|
-
|
|
273
|
-
<script src="/socket.io/socket.io.js"></script>
|
|
274
|
-
<script src="/plugin/markdown/marked.js"></script>
|
|
275
|
-
|
|
276
|
-
<script>
|
|
277
|
-
(function() {
|
|
278
|
-
|
|
279
|
-
var notes,
|
|
280
|
-
notesValue,
|
|
281
|
-
currentState,
|
|
282
|
-
currentSlide,
|
|
283
|
-
upcomingSlide,
|
|
284
|
-
layoutLabel,
|
|
285
|
-
layoutDropdown,
|
|
286
|
-
connected = false;
|
|
287
|
-
|
|
288
|
-
var socket = io.connect( window.location.origin ),
|
|
289
|
-
socketId = '{{socketId}}';
|
|
290
|
-
|
|
291
|
-
var SPEAKER_LAYOUTS = {
|
|
292
|
-
'default': 'Default',
|
|
293
|
-
'wide': 'Wide',
|
|
294
|
-
'tall': 'Tall',
|
|
295
|
-
'notes-only': 'Notes only'
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
socket.on( 'statechanged', function( data ) {
|
|
299
|
-
|
|
300
|
-
// ignore data from sockets that aren't ours
|
|
301
|
-
if( data.socketId !== socketId ) { return; }
|
|
302
|
-
|
|
303
|
-
if( connected === false ) {
|
|
304
|
-
connected = true;
|
|
305
|
-
|
|
306
|
-
setupKeyboard();
|
|
307
|
-
setupNotes();
|
|
308
|
-
setupTimer();
|
|
309
|
-
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
handleStateMessage( data );
|
|
313
|
-
|
|
314
|
-
} );
|
|
315
|
-
|
|
316
|
-
setupLayout();
|
|
317
|
-
|
|
318
|
-
// Load our presentation iframes
|
|
319
|
-
setupIframes();
|
|
320
|
-
|
|
321
|
-
// Once the iframes have loaded, emit a signal saying there's
|
|
322
|
-
// a new subscriber which will trigger a 'statechanged'
|
|
323
|
-
// message to be sent back
|
|
324
|
-
window.addEventListener( 'message', function( event ) {
|
|
325
|
-
|
|
326
|
-
var data = JSON.parse( event.data );
|
|
327
|
-
|
|
328
|
-
if( data && data.namespace === 'reveal' ) {
|
|
329
|
-
if( /ready/.test( data.eventName ) ) {
|
|
330
|
-
socket.emit( 'new-subscriber', { socketId: socketId } );
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
// Messages sent by reveal.js inside of the current slide preview
|
|
335
|
-
if( data && data.namespace === 'reveal' ) {
|
|
336
|
-
if( /slidechanged|fragmentshown|fragmenthidden|overviewshown|overviewhidden|paused|resumed/.test( data.eventName ) && currentState !== JSON.stringify( data.state ) ) {
|
|
337
|
-
socket.emit( 'statechanged-speaker', { state: data.state } );
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
} );
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Called when the main window sends an updated state.
|
|
345
|
-
*/
|
|
346
|
-
function handleStateMessage( data ) {
|
|
347
|
-
|
|
348
|
-
// Store the most recently set state to avoid circular loops
|
|
349
|
-
// applying the same state
|
|
350
|
-
currentState = JSON.stringify( data.state );
|
|
351
|
-
|
|
352
|
-
// No need for updating the notes in case of fragment changes
|
|
353
|
-
if ( data.notes ) {
|
|
354
|
-
notes.classList.remove( 'hidden' );
|
|
355
|
-
if( data.markdown ) {
|
|
356
|
-
notesValue.innerHTML = marked( data.notes );
|
|
357
|
-
}
|
|
358
|
-
else {
|
|
359
|
-
notesValue.innerHTML = data.notes;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
else {
|
|
363
|
-
notes.classList.add( 'hidden' );
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
// Update the note slides
|
|
367
|
-
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
|
368
|
-
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'setState', args: [ data.state ] }), '*' );
|
|
369
|
-
upcomingSlide.contentWindow.postMessage( JSON.stringify({ method: 'next' }), '*' );
|
|
370
|
-
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
// Limit to max one state update per X ms
|
|
374
|
-
handleStateMessage = debounce( handleStateMessage, 200 );
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* Forward keyboard events to the current slide window.
|
|
378
|
-
* This enables keyboard events to work even if focus
|
|
379
|
-
* isn't set on the current slide iframe.
|
|
380
|
-
*/
|
|
381
|
-
function setupKeyboard() {
|
|
382
|
-
|
|
383
|
-
document.addEventListener( 'keydown', function( event ) {
|
|
384
|
-
currentSlide.contentWindow.postMessage( JSON.stringify({ method: 'triggerKey', args: [ event.keyCode ] }), '*' );
|
|
385
|
-
} );
|
|
386
|
-
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Creates the preview iframes.
|
|
391
|
-
*/
|
|
392
|
-
function setupIframes() {
|
|
393
|
-
|
|
394
|
-
var params = [
|
|
395
|
-
'receiver',
|
|
396
|
-
'progress=false',
|
|
397
|
-
'history=false',
|
|
398
|
-
'transition=none',
|
|
399
|
-
'backgroundTransition=none'
|
|
400
|
-
].join( '&' );
|
|
401
|
-
|
|
402
|
-
var currentURL = '/?' + params + '&postMessageEvents=true';
|
|
403
|
-
var upcomingURL = '/?' + params + '&controls=false';
|
|
404
|
-
|
|
405
|
-
currentSlide = document.createElement( 'iframe' );
|
|
406
|
-
currentSlide.setAttribute( 'width', 1280 );
|
|
407
|
-
currentSlide.setAttribute( 'height', 1024 );
|
|
408
|
-
currentSlide.setAttribute( 'src', currentURL );
|
|
409
|
-
document.querySelector( '#current-slide' ).appendChild( currentSlide );
|
|
410
|
-
|
|
411
|
-
upcomingSlide = document.createElement( 'iframe' );
|
|
412
|
-
upcomingSlide.setAttribute( 'width', 640 );
|
|
413
|
-
upcomingSlide.setAttribute( 'height', 512 );
|
|
414
|
-
upcomingSlide.setAttribute( 'src', upcomingURL );
|
|
415
|
-
document.querySelector( '#upcoming-slide' ).appendChild( upcomingSlide );
|
|
416
|
-
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Setup the notes UI.
|
|
421
|
-
*/
|
|
422
|
-
function setupNotes() {
|
|
423
|
-
|
|
424
|
-
notes = document.querySelector( '.speaker-controls-notes' );
|
|
425
|
-
notesValue = document.querySelector( '.speaker-controls-notes .value' );
|
|
426
|
-
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* Create the timer and clock and start updating them
|
|
431
|
-
* at an interval.
|
|
432
|
-
*/
|
|
433
|
-
function setupTimer() {
|
|
434
|
-
|
|
435
|
-
var start = new Date(),
|
|
436
|
-
timeEl = document.querySelector( '.speaker-controls-time' ),
|
|
437
|
-
clockEl = timeEl.querySelector( '.clock-value' ),
|
|
438
|
-
hoursEl = timeEl.querySelector( '.hours-value' ),
|
|
439
|
-
minutesEl = timeEl.querySelector( '.minutes-value' ),
|
|
440
|
-
secondsEl = timeEl.querySelector( '.seconds-value' );
|
|
441
|
-
|
|
442
|
-
function _updateTimer() {
|
|
443
|
-
|
|
444
|
-
var diff, hours, minutes, seconds,
|
|
445
|
-
now = new Date();
|
|
446
|
-
|
|
447
|
-
diff = now.getTime() - start.getTime();
|
|
448
|
-
hours = Math.floor( diff / ( 1000 * 60 * 60 ) );
|
|
449
|
-
minutes = Math.floor( ( diff / ( 1000 * 60 ) ) % 60 );
|
|
450
|
-
seconds = Math.floor( ( diff / 1000 ) % 60 );
|
|
451
|
-
|
|
452
|
-
clockEl.innerHTML = now.toLocaleTimeString( 'en-US', { hour12: true, hour: '2-digit', minute:'2-digit' } );
|
|
453
|
-
hoursEl.innerHTML = zeroPadInteger( hours );
|
|
454
|
-
hoursEl.className = hours > 0 ? '' : 'mute';
|
|
455
|
-
minutesEl.innerHTML = ':' + zeroPadInteger( minutes );
|
|
456
|
-
minutesEl.className = minutes > 0 ? '' : 'mute';
|
|
457
|
-
secondsEl.innerHTML = ':' + zeroPadInteger( seconds );
|
|
458
|
-
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
// Update once directly
|
|
462
|
-
_updateTimer();
|
|
463
|
-
|
|
464
|
-
// Then update every second
|
|
465
|
-
setInterval( _updateTimer, 1000 );
|
|
466
|
-
|
|
467
|
-
timeEl.addEventListener( 'click', function() {
|
|
468
|
-
start = new Date();
|
|
469
|
-
_updateTimer();
|
|
470
|
-
return false;
|
|
471
|
-
} );
|
|
472
|
-
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* Sets up the speaker view layout and layout selector.
|
|
477
|
-
*/
|
|
478
|
-
function setupLayout() {
|
|
479
|
-
|
|
480
|
-
layoutDropdown = document.querySelector( '.speaker-layout-dropdown' );
|
|
481
|
-
layoutLabel = document.querySelector( '.speaker-layout-label' );
|
|
482
|
-
|
|
483
|
-
// Render the list of available layouts
|
|
484
|
-
for( var id in SPEAKER_LAYOUTS ) {
|
|
485
|
-
var option = document.createElement( 'option' );
|
|
486
|
-
option.setAttribute( 'value', id );
|
|
487
|
-
option.textContent = SPEAKER_LAYOUTS[ id ];
|
|
488
|
-
layoutDropdown.appendChild( option );
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
// Monitor the dropdown for changes
|
|
492
|
-
layoutDropdown.addEventListener( 'change', function( event ) {
|
|
493
|
-
|
|
494
|
-
setLayout( layoutDropdown.value );
|
|
495
|
-
|
|
496
|
-
}, false );
|
|
497
|
-
|
|
498
|
-
// Restore any currently persisted layout
|
|
499
|
-
setLayout( getLayout() );
|
|
500
|
-
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* Sets a new speaker view layout. The layout is persisted
|
|
505
|
-
* in local storage.
|
|
506
|
-
*/
|
|
507
|
-
function setLayout( value ) {
|
|
508
|
-
|
|
509
|
-
var title = SPEAKER_LAYOUTS[ value ];
|
|
510
|
-
|
|
511
|
-
layoutLabel.innerHTML = 'Layout' + ( title ? ( ': ' + title ) : '' );
|
|
512
|
-
layoutDropdown.value = value;
|
|
513
|
-
|
|
514
|
-
document.body.setAttribute( 'data-speaker-layout', value );
|
|
515
|
-
|
|
516
|
-
// Persist locally
|
|
517
|
-
if( window.localStorage ) {
|
|
518
|
-
window.localStorage.setItem( 'reveal-speaker-layout', value );
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* Returns the ID of the most recently set speaker layout
|
|
525
|
-
* or our default layout if none has been set.
|
|
526
|
-
*/
|
|
527
|
-
function getLayout() {
|
|
528
|
-
|
|
529
|
-
if( window.localStorage ) {
|
|
530
|
-
var layout = window.localStorage.getItem( 'reveal-speaker-layout' );
|
|
531
|
-
if( layout ) {
|
|
532
|
-
return layout;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
// Default to the first record in the layouts hash
|
|
537
|
-
for( var id in SPEAKER_LAYOUTS ) {
|
|
538
|
-
return id;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
function zeroPadInteger( num ) {
|
|
544
|
-
|
|
545
|
-
var str = '00' + parseInt( num );
|
|
546
|
-
return str.substring( str.length - 2 );
|
|
547
|
-
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* Limits the frequency at which a function can be called.
|
|
552
|
-
*/
|
|
553
|
-
function debounce( fn, ms ) {
|
|
554
|
-
|
|
555
|
-
var lastTime = 0,
|
|
556
|
-
timeout;
|
|
557
|
-
|
|
558
|
-
return function() {
|
|
559
|
-
|
|
560
|
-
var args = arguments;
|
|
561
|
-
var context = this;
|
|
562
|
-
|
|
563
|
-
clearTimeout( timeout );
|
|
564
|
-
|
|
565
|
-
var timeSinceLastCall = Date.now() - lastTime;
|
|
566
|
-
if( timeSinceLastCall > ms ) {
|
|
567
|
-
fn.apply( context, args );
|
|
568
|
-
lastTime = Date.now();
|
|
569
|
-
}
|
|
570
|
-
else {
|
|
571
|
-
timeout = setTimeout( function() {
|
|
572
|
-
fn.apply( context, args );
|
|
573
|
-
lastTime = Date.now();
|
|
574
|
-
}, ms - timeSinceLastCall );
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
})();
|
|
582
|
-
</script>
|
|
583
|
-
|
|
584
|
-
</body>
|
|
585
|
-
</html>
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* phantomjs script for printing presentations to PDF.
|
|
3
|
-
*
|
|
4
|
-
* Example:
|
|
5
|
-
* phantomjs print-pdf.js "http://revealjs.com?print-pdf" reveal-demo.pdf
|
|
6
|
-
*
|
|
7
|
-
* @author Manuel Bieh (https://github.com/manuelbieh)
|
|
8
|
-
* @author Hakim El Hattab (https://github.com/hakimel)
|
|
9
|
-
* @author Manuel Riezebosch (https://github.com/riezebosch)
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
// html2pdf.js
|
|
13
|
-
var system = require( 'system' );
|
|
14
|
-
|
|
15
|
-
var probePage = new WebPage();
|
|
16
|
-
var printPage = new WebPage();
|
|
17
|
-
|
|
18
|
-
var inputFile = system.args[1] || 'index.html?print-pdf';
|
|
19
|
-
var outputFile = system.args[2] || 'slides.pdf';
|
|
20
|
-
|
|
21
|
-
if( outputFile.match( /\.pdf$/gi ) === null ) {
|
|
22
|
-
outputFile += '.pdf';
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
console.log( 'Export PDF: Reading reveal.js config [1/4]' );
|
|
26
|
-
|
|
27
|
-
probePage.open( inputFile, function( status ) {
|
|
28
|
-
|
|
29
|
-
console.log( 'Export PDF: Preparing print layout [2/4]' );
|
|
30
|
-
|
|
31
|
-
var config = probePage.evaluate( function() {
|
|
32
|
-
return Reveal.getConfig();
|
|
33
|
-
} );
|
|
34
|
-
|
|
35
|
-
if( config ) {
|
|
36
|
-
|
|
37
|
-
printPage.paperSize = {
|
|
38
|
-
width: Math.floor( config.width * ( 1 + config.margin ) ),
|
|
39
|
-
height: Math.floor( config.height * ( 1 + config.margin ) ),
|
|
40
|
-
border: 0
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
printPage.open( inputFile, function( status ) {
|
|
44
|
-
console.log( 'Export PDF: Preparing pdf [3/4]')
|
|
45
|
-
printPage.evaluate(function() {
|
|
46
|
-
Reveal.isReady() ? window.callPhantom() : Reveal.addEventListener( 'pdf-ready', window.callPhantom );
|
|
47
|
-
});
|
|
48
|
-
} );
|
|
49
|
-
|
|
50
|
-
printPage.onCallback = function(data) {
|
|
51
|
-
// For some reason we need to "jump the queue" for syntax highlighting to work.
|
|
52
|
-
// See: http://stackoverflow.com/a/3580132/129269
|
|
53
|
-
setTimeout(function() {
|
|
54
|
-
console.log( 'Export PDF: Writing file [4/4]' );
|
|
55
|
-
printPage.render( outputFile );
|
|
56
|
-
console.log( 'Export PDF: Finished successfully!' );
|
|
57
|
-
phantom.exit();
|
|
58
|
-
}, 0);
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
|
|
63
|
-
console.log( 'Export PDF: Unable to read reveal.js config. Make sure the input address points to a reveal.js page.' );
|
|
64
|
-
phantom.exit(1);
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
} );
|
|
68
|
-
|
|
69
|
-
|