mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
CI: cell content's <pre> style to stack horizontally
The results of individual UEs (e.g., ping) is listed vertically, like so: | ping results | UE1 | | | UE2 | | | UE3 | Where UE1, UE2, ... represents an entire box with results for UE 1, 2, ... For many UEs, this results in considerable need for vertical space. This commit changes to something like the following to save space: | ping results | UE1 UE2 UE3 | For a single UE, this commit has no major impact (the boxes are not stretched to width anymore).
This commit is contained in:
@@ -469,8 +469,8 @@ class HTMLManagement():
|
||||
self.htmlFile.write(' <td bgcolor = "orange" >')
|
||||
else:
|
||||
self.htmlFile.write(' <td>')
|
||||
for i in infoList:
|
||||
self.htmlFile.write(f' <pre>{i}</pre>')
|
||||
for i in infoList: # add custom style to have elements side-by-side to reduce need for vertical space
|
||||
self.htmlFile.write(f' <pre style="display: inline flow-root list-item; margin: 0 3px 0 3px; min-width: 24em;">{i}</pre>')
|
||||
|
||||
self.htmlFile.write(' </td>')
|
||||
self.htmlFile.write(' </tr>\n')
|
||||
|
||||
Reference in New Issue
Block a user