Skip to content

Commit

Permalink
fix : minor edit in HTML_Init_Template #144
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Mar 21, 2021
1 parent 25ee4fc commit d38df0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion opem/Functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def HTML_Init(Title, Name):
".html"),
"w",
encoding="utf-8")
HTMLFile.write(HTML_Init_Template.format(Name, opem.Script.JS_SCRIPT, Title))
HTMLFile.write(HTML_Init_Template.format(opem.Script.JS_SCRIPT, Title))
return HTMLFile


Expand Down
6 changes: 3 additions & 3 deletions opem/Params.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{0}</title>
<title>OPEM Report ({1} Model)</title>
<script>
{1}
{0}
</script>
</head>
<body>
<h1 style="border-bottom:1px solid black;text-align:center;padding:10px;"><span style="color:#ff7600;">OPEM</span> Report ({2} Model)</h1>
<h1 style="border-bottom:1px solid black;text-align:center;padding:10px;"><span style="color:#ff7600;">OPEM</span> Report ({1} Model)</h1>
"""

HTML_Input_Table_Template1 = """
Expand Down

0 comments on commit d38df0f

Please sign in to comment.