File tree Expand file tree Collapse file tree 4 files changed +37
-18
lines changed
Expand file tree Collapse file tree 4 files changed +37
-18
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,13 @@ pre {
136136 vertical-align : top;
137137}
138138
139+ .view details summary {
140+ font-weight : bold;
141+ font-size : var (--fsize-xl );
142+ color : var (--calm );
143+ margin : 0.5rem 0 0.5rem 0 ;
144+ }
145+
139146/* HTMX animation after element creation */
140147.fade-me-in .htmx-added {
141148 opacity : 0 ;
Original file line number Diff line number Diff line change @@ -38,13 +38,17 @@ <h1>Headers</h1>
3838 < br >
3939
4040 {{ $set := .Transactions.Set }}
41+ {{ $state := "open" }}
4142 {{ range .Transactions.Set.UniqueRootParents false }}
42- < h2 > {{ .TXID }}</ h2 >
43- < div class ="hdr-table ">
44- {{ range headersView $set . }}
45- {{ . }}
46- {{ end }}
47- </ div >
43+ < details {{ $state }} >
44+ < summary > {{ .TXID }}</ summary >
45+ < div class ="hdr-table ">
46+ {{ range headersView $set . }}
47+ {{ . }}
48+ {{ end }}
49+ </ div >
50+ </ details >
51+ {{ $state = "" }}
4852 {{ end }}
4953 </ div >
5054</ div >
Original file line number Diff line number Diff line change @@ -17,13 +17,17 @@ <h1>Overview</h1>
1717
1818 {{ $set := .Transactions.Set }}
1919 {{ $cfg := .Sequence }}
20+ {{ $state := "open" }}
2021 {{ range .Transactions.Set.UniqueRootParents false }}
21- < h3 > {{ .TXID }}</ h3 >
22- < h4 > Sequence Diagram</ h4 >
23- < div class ="sequence "> {{ sequence $set . $cfg }}</ div >
24- < h4 > VSL Log</ h4 >
25- < pre > {{ $set.RawLogForTx . true }}</ pre >
26- < br >
22+ < details {{ $state }} >
23+ < summary > {{ .TXID }}</ summary >
24+ < h4 > Sequence Diagram</ h4 >
25+ < div class ="sequence "> {{ sequence $set . $cfg }}</ div >
26+ < h4 > VSL Log</ h4 >
27+ < pre > {{ $set.RawLogForTx . true }}</ pre >
28+ < br >
29+ </ details >
30+ {{ $state = "" }}
2731 {{ end }}
2832 </ div >
2933</ div >
Original file line number Diff line number Diff line change @@ -14,13 +14,17 @@ <h1>VCL Log Tree</h1>
1414 tags display elapsed time in a human-readable format, and unset headers are shown with strikethrough text.</ p >
1515
1616 {{ $set := .Transactions.Set }}
17+ {{ $state := "open" }}
1718 {{ range .Transactions.Set.UniqueRootParents true }}
18- < h2 > Tree for {{ .TXID }}</ h2 >
19- < div class ="txtree ">
20- {{ renderTXLogTree $set . }}
21- </ div >
22- < br >
23- < br >
19+ < details {{ $state }} >
20+ < summary > Tree for {{ .TXID }}</ summary >
21+ < div class ="txtree ">
22+ {{ renderTXLogTree $set . }}
23+ </ div >
24+ < br >
25+ < br >
26+ </ details >
27+ {{ $state = "" }}
2428 {{ end }}
2529 </ div >
2630</ div >
You can’t perform that action at this time.
0 commit comments