Vue.component("ns-access-log-box", { props: ["v-access-log"], data: function () { let accessLog = this.vAccessLog return { accessLog: accessLog } }, methods: { showLog: function () { let that = this let requestId = this.accessLog.requestId this.$parent.$children.forEach(function (v) { if (v.deselect != null) { v.deselect() } }) this.select() teaweb.popup("/ns/clusters/accessLogs/viewPopup?requestId=" + requestId, { width: "50em", height: "24em", onClose: function () { that.deselect() } }) }, select: function () { this.$refs.box.parentNode.style.cssText = "background: rgba(0, 0, 0, 0.1)" }, deselect: function () { this.$refs.box.parentNode.style.cssText = "" } }, template: `