-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'#1773 adds missing CSS and JS. Calls method to open tree nodes only
when the page has declared an window.containsNavigableTree boolean variable with true value to avoid unnecessary code execution.
- Loading branch information
1 parent
e0b12b6
commit 4bf3fd1
Showing
3 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
iped-parsers/iped-parsers-impl/src/main/resources/iped/parsers/css/treeview.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
summary { | ||
cursor: pointer; | ||
outline: 0; | ||
} | ||
|
||
|
||
details { | ||
white-space: nowrap; | ||
} | ||
details details { | ||
margin-left: 1.4rem; | ||
} | ||
details li { | ||
margin-left: 1.4rem; | ||
} | ||
details a { | ||
margin-left: 1.4rem; | ||
} | ||
|
||
details[open] > details::before { | ||
transform: rotate(90deg); | ||
} | ||
.uuidlink { | ||
cursor: pointer; | ||
} | ||
.uuidlink::-webkit-details-marker{ | ||
display: none; | ||
} | ||
.uuidlink::marker { | ||
content: ""; | ||
} | ||
|
||
summary > details { | ||
padding-left: 1.4rem; | ||
} | ||
summary.nochild::-webkit-details-marker{ | ||
display: none; | ||
} | ||
summary.nochild::marker { | ||
content: ""; | ||
} |
7 changes: 7 additions & 0 deletions
7
iped-parsers/iped-parsers-impl/src/main/resources/iped/parsers/css/uuidlink.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
function clickUUID() { | ||
const source = event.target || event.srcElement; | ||
window.app.open('bplist\\:embeddedID:"'+source.getAttribute("uuid")+'"'); | ||
} | ||
|
||
window.containsNavigableTree=true; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters