diff --git a/src/assets/app.scss b/src/assets/app.scss
index eb3c9f8e4..c7e56ba74 100644
--- a/src/assets/app.scss
+++ b/src/assets/app.scss
@@ -635,6 +635,10 @@ $shadow-box-padding: 20px;
}
}
+.zoom-cursor {
+ cursor: zoom-in;
+}
+
// Localization
@import "localization.scss";
diff --git a/src/components/ScreenshotDialog.vue b/src/components/ScreenshotDialog.vue
new file mode 100644
index 000000000..bc829095d
--- /dev/null
+++ b/src/components/ScreenshotDialog.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/lang/en.json b/src/lang/en.json
index a04f5d8a9..806d6fbd6 100644
--- a/src/lang/en.json
+++ b/src/lang/en.json
@@ -859,5 +859,6 @@
"successEnabled": "Enabled Successfully.",
"tagNotFound": "Tag not found.",
"foundChromiumVersion": "Found Chromium/Chrome. Version: {0}",
- "GrafanaOncallUrl": "Grafana Oncall URL"
+ "GrafanaOncallUrl": "Grafana Oncall URL",
+ "Browser Screenshot": "Browser Screenshot"
}
diff --git a/src/pages/Details.vue b/src/pages/Details.vue
index 20c8aa13a..f1692027c 100644
--- a/src/pages/Details.vue
+++ b/src/pages/Details.vue
@@ -184,9 +184,10 @@
-
-
+
+
+
@@ -283,6 +284,7 @@ import "prismjs/components/prism-javascript";
import "prismjs/components/prism-css";
import { PrismEditor } from "vue-prism-editor";
import "vue-prism-editor/dist/prismeditor.min.css";
+import ScreenshotDialog from "../components/ScreenshotDialog.vue";
export default {
components: {
@@ -297,6 +299,7 @@ export default {
Tag,
CertificateInfo,
PrismEditor,
+ ScreenshotDialog
},
data() {
return {
@@ -476,6 +479,14 @@ export default {
this.$refs.confirmDelete.show();
},
+ /**
+ * Show Screenshot Dialog
+ * @returns {void}
+ */
+ showScreenshotDialog() {
+ this.$refs.screenshotDialog.show();
+ },
+
/**
* Show dialog to confirm clearing events
* @returns {void}