diff --git a/docs/docs/public/components/pdf.png b/docs/docs/public/components/pdf.png new file mode 100644 index 000000000..365756845 Binary files /dev/null and b/docs/docs/public/components/pdf.png differ diff --git a/ui/src/core/templateMap.ts b/ui/src/core/templateMap.ts index 63d330848..535ddd02f 100644 --- a/ui/src/core/templateMap.ts +++ b/ui/src/core/templateMap.ts @@ -19,6 +19,7 @@ import CoreSeparator from "../core_components/CoreSeparator.vue"; import CoreTab from "../core_components/CoreTab.vue"; import CoreTabs from "../core_components/CoreTabs.vue"; import CoreImage from "../core_components/CoreImage.vue"; +import CorePDF from "../core_components/CorePDF.vue"; import CoreIFrame from "../core_components/CoreIFrame.vue"; import CoreTimer from "../core_components/CoreTimer.vue"; import CoreWebcamCapture from "../core_components/CoreWebcamCapture.vue"; @@ -65,6 +66,7 @@ const templateMap = { horizontalstack: CoreHorizontalStack, separator: CoreSeparator, image: CoreImage, + pdf: CorePDF, iframe: CoreIFrame, icon: CoreIcon, timer: CoreTimer, diff --git a/ui/src/core_components/CorePDF.vue b/ui/src/core_components/CorePDF.vue new file mode 100644 index 000000000..f827cd626 --- /dev/null +++ b/ui/src/core_components/CorePDF.vue @@ -0,0 +1,77 @@ + + + + + You don't have a PDF plugin, but you can + download the PDF file. + + + + + + + + + + + +
+ You don't have a PDF plugin, but you can + download the PDF file. +