|
23 | 23 | ColdBox Request Tracker
|
24 | 24 |
|
25 | 25 | <!--- If not expanded and not in visualizer mode --->
|
26 |
| - <span |
27 |
| - x-show="!panelOpen && !isVisualizer" |
28 |
| - x-cloak |
29 |
| - x-transition |
30 |
| - > |
31 |
| - <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
32 |
| - <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
33 |
| - </svg> |
| 26 | + <cfif !args.currentProfiler.isEmpty()> |
| 27 | + <span |
| 28 | + x-show="!panelOpen && !isVisualizer" |
| 29 | + x-cloak |
| 30 | + x-transition |
| 31 | + > |
| 32 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
| 33 | + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
| 34 | + </svg> |
34 | 35 |
|
35 |
| - #args.currentProfiler.requestData.method# |
| 36 | + #args.currentProfiler.requestData.method# |
36 | 37 |
|
37 |
| - <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
38 |
| - <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
39 |
| - </svg> |
| 38 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
| 39 | + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
| 40 | + </svg> |
40 | 41 |
|
41 |
| - #args.currentProfiler.coldbox.event# |
| 42 | + #args.currentProfiler.coldbox.event# |
42 | 43 |
|
43 |
| - <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
44 |
| - <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
45 |
| - </svg> |
| 44 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
| 45 | + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
| 46 | + </svg> |
46 | 47 |
|
47 |
| - #args.currentProfiler.response.statusCode# |
| 48 | + #args.currentProfiler.response.statusCode# |
48 | 49 |
|
49 |
| - <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
50 |
| - <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
51 |
| - </svg> |
| 50 | + <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
| 51 | + <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
| 52 | + </svg> |
52 | 53 |
|
53 |
| - #numberFormat( args.currentProfiler.executionTime )# ms |
54 |
| - </span> |
| 54 | + #numberFormat( args.currentProfiler.executionTime )# ms |
| 55 | + </span> |
| 56 | + </cfif> |
55 | 57 | </div>
|
56 | 58 | </div>
|
57 | 59 | </div>
|
|
0 commit comments