File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 144144 <p class="text-info" style="font-size: 18px;">Network I/O</p>
145145 <i class="fas fa-wifi ms-auto p-2"></i>
146146 </div>
147- <p style="font-size: 20px !important; margin: -16px 0 0 0 !important;"><?= byteConversion ($ network ) ?> </p>
147+ <p style="font-size: 20px !important; margin: -16px 0 0 0 !important;">
148+ <?= byteConversion ($ network ) ?>
149+ <?php if ($ netIOMetric ) { ?>
150+ <span class="position-relative">
151+ <i class="fas fa-exclamation-triangle dw-tooltip-icon" style="font-size: 12px !important; transform: translateY(-2px); color: yellow !important;"></i>
152+ <span class="dw-tooltip">This value may not reflect the correct traffic usage due to Docker Engine not persisting</span>
153+ </span>
154+ <?php } ?>
155+ </p>
148156 <p style="font-size: 14px !important; margin: 0 0 10px 0 !important; color: var(--text-500) !important;"><?= $ netIOMetric ?? "Network traffic tracked " ?> </p>
149157 </div>
150158 <div class="bg-secondary rounded px-2 w-100">
Original file line number Diff line number Diff line change @@ -385,4 +385,23 @@ pre {
385385
386386.text-uppercase {
387387 text-transform : uppercase !important ;
388+ }
389+
390+ .dw-tooltip {
391+ display : none;
392+ position : absolute;
393+ bottom : 100% ;
394+ left : 50% ;
395+ transform : translateX (-50% );
396+ padding : 5px 10px ;
397+ background : # 333 ;
398+ color : # fff ;
399+ border-radius : 4px ;
400+ font-size : 12px ;
401+ white-space : nowrap;
402+ z-index : 1000 ;
403+ }
404+
405+ .dw-tooltip-icon : hover + .dw-tooltip {
406+ display : block;
388407}
You can’t perform that action at this time.
0 commit comments