Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
37cc4d60
Commit
37cc4d60
authored
Apr 28, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing html columns
parent
ccf6624f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ci-scripts/html.py
ci-scripts/html.py
+6
-6
No files found.
ci-scripts/html.py
View file @
37cc4d60
...
...
@@ -457,7 +457,7 @@ class HTMLManagement():
self
.
htmlFile
.
write
(
' <td colspan='
+
str
(
5
+
self
.
htmlUEConnected
)
+
'><b> ---- '
+
DataLog
[
'Title'
]
+
' ---- </b></td>
\n
'
)
self
.
htmlFile
.
write
(
' </tr>
\n
'
)
self
.
htmlFile
.
write
(
' <tr bgcolor = "#33CCFF" >
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan="
2
">'
+
DataLog
[
'ColNames'
][
0
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan="
3
">'
+
DataLog
[
'ColNames'
][
0
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th>'
+
DataLog
[
'ColNames'
][
1
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th>'
+
DataLog
[
'ColNames'
][
2
]
+
'</th>
\n
'
)
self
.
htmlFile
.
write
(
' <th colspan='
+
str
(
1
+
self
.
htmlUEConnected
)
+
'>'
+
DataLog
[
'ColNames'
][
3
]
+
'</th>
\n
'
)
...
...
@@ -466,13 +466,13 @@ class HTMLManagement():
for
k
in
DataLog
[
'Data'
]:
# TestRow
self
.
htmlFile
.
write
(
' <tr>
\n
'
)
self
.
htmlFile
.
write
(
' <td colspan="
2
" bgcolor = "lightcyan" >'
+
k
+
' </td>
\n
'
)
self
.
htmlFile
.
write
(
' <td
colspan="2"
bgcolor = "lightcyan" >'
+
DataLog
[
'Data'
][
k
][
0
]
+
' </td>
\n
'
)
self
.
htmlFile
.
write
(
' <td
colspan="2"
bgcolor = "lightcyan" >'
+
DataLog
[
'Data'
][
k
][
1
]
+
' </td>
\n
'
)
self
.
htmlFile
.
write
(
' <td colspan="
3
" bgcolor = "lightcyan" >'
+
k
+
' </td>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "lightcyan" >'
+
DataLog
[
'Data'
][
k
][
0
]
+
' </td>
\n
'
)
self
.
htmlFile
.
write
(
' <td bgcolor = "lightcyan" >'
+
DataLog
[
'Data'
][
k
][
1
]
+
' </td>
\n
'
)
if
float
(
DataLog
[
'Data'
][
k
][
2
])
>
DataLog
[
'Threshold'
][
k
]:
self
.
htmlFile
.
write
(
' <t
d colspan="2" bgcolor = "red" >'
+
DataLog
[
'Data'
][
k
][
2
]
+
' ('
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</td
>
\n
'
)
self
.
htmlFile
.
write
(
' <t
h bgcolor = "red" >'
+
DataLog
[
'Data'
][
k
][
2
]
+
' ('
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</th
>
\n
'
)
else
:
self
.
htmlFile
.
write
(
' <t
d colspan="2" bgcolor = "green" >'
+
DataLog
[
'Data'
][
k
][
2
]
+
' ('
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</td
>
\n
'
)
self
.
htmlFile
.
write
(
' <t
h bgcolor = "green" ><font color="white">'
+
DataLog
[
'Data'
][
k
][
2
]
+
' ('
+
str
(
DataLog
[
'Threshold'
][
k
])
+
') '
+
'</th
>
\n
'
)
self
.
htmlFile
.
write
(
' </tr>
\n
'
)
self
.
htmlFile
.
close
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment