Skip to content

Commit

Permalink
Merge pull request #129 from mrceyhun/f-eos-path-size-improve
Browse files Browse the repository at this point in the history
Polish html
  • Loading branch information
mrceyhun authored Jan 26, 2022
2 parents 4436600 + f52c157 commit ac7983b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/html/eos_path_size/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
</style>
</head>
<body>
<div class="container" style="display:block; width:70%">
<div class="cms">
<img src="https://cds.cern.ch/record/1306150/files/cmsLogo_image.jpg"
alt="CMS" style="width: 5%; float:left">
Expand All @@ -67,11 +68,10 @@ <h3 style="width: 100%;">
Script source code: eos_path_size.py
</pre>
</div>
<div class="container" style="display:block; width:100%">

____MAIN_BLOCK____

</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.11.4/js/jquery.dataTables.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/python/CMSMonitoring/eos_path_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def create_html(df, update_time, total_row, base_html_directory):
# cleanup of the default dump
html = html.replace(
'table border="1" class="dataframe"',
'table id="dataframe" class="display compact" style="width:60%;"',
'table id="dataframe" class="display compact" style="width:100%;"',
)
html = html.replace('style="text-align: right;"', "")

Expand Down

0 comments on commit ac7983b

Please sign in to comment.