diff --git a/src/assets/app.scss b/src/assets/app.scss
index eb3c9f8e4f..c7e56ba74c 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 0000000000..bc829095d2
--- /dev/null
+++ b/src/components/ScreenshotDialog.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/lang/en.json b/src/lang/en.json
index 057b2790b7..4c14500719 100644
--- a/src/lang/en.json
+++ b/src/lang/en.json
@@ -857,5 +857,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 20c8aa13a1..f1692027c1 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}