You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by rm...@apache.org on 2018/08/17 15:34:51 UTC
[36/51] [abbrv] metron git commit: METRON-1723 PCAP UI - Unable to
select/copy from packets details in PCAP query panel (sardell via merrimanr)
closes apache/metron#1139
METRON-1723 PCAP UI - Unable to select/copy from packets details in PCAP query panel (sardell via merrimanr) closes apache/metron#1139
Project: http://git-wip-us.apache.org/repos/asf/metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/5b3e2c33
Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/5b3e2c33
Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/5b3e2c33
Branch: refs/heads/master
Commit: 5b3e2c337b3772bcd7d18cedac75877bbe6f7735
Parents: 52de126
Author: sardell <sa...@hortonworks.com>
Authored: Thu Aug 9 07:44:15 2018 -0500
Committer: rmerriman <me...@gmail.com>
Committed: Thu Aug 9 07:44:15 2018 -0500
----------------------------------------------------------------------
.../src/app/pcap/pcap-packet/pcap-packet.component.html | 2 +-
.../src/app/pcap/pcap-packet/pcap-packet.component.scss | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/metron/blob/5b3e2c33/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.html
----------------------------------------------------------------------
diff --git a/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.html b/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.html
index f7d9dbe..dd9afa1 100644
--- a/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.html
+++ b/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.html
@@ -13,7 +13,7 @@
-->
<div data-qe-id="proto" class="proto" *ngFor="let proto of packet.protos" (click)="proto.expanded = !proto.expanded">
<div data-qe-id="proto-showname" class="proto-header">{{ proto.showname }}</div>
- <div data-qe-id="proto-fields" class="proto-fields" *ngIf="proto.expanded">
+ <div data-qe-id="proto-fields" class="proto-fields" (click)="$event.stopPropagation()" *ngIf="proto.expanded">
<div data-qe-id="proto-field" *ngFor="let field of proto.fields">
<span data-qe-id="proto-field-name" class="field-name">{{ field.name }}</span>
<span data-qe-id="proto-field-showname">{{ field.showname }}</span>
http://git-wip-us.apache.org/repos/asf/metron/blob/5b3e2c33/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.scss
----------------------------------------------------------------------
diff --git a/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.scss b/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.scss
index e9d4662..02ce7b6 100644
--- a/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.scss
+++ b/metron-interface/metron-alerts/src/app/pcap/pcap-packet/pcap-packet.component.scss
@@ -27,10 +27,10 @@
}
.proto-fields {
- margin-left: 1em;
+ cursor: text;
+ padding-left: 1em;
}
-
.field-name {
display: none
}