Merge pull request #495 from dmuhs/fix/488

Fix issue 488: Broken CFG HTML output
pull/480/merge
Nikhil Parasaram 6 years ago committed by GitHub
commit 7939dccb95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      mythril/analysis/templates/callgraph.html

@ -8,6 +8,7 @@
{% if not phrackify %}
<style type="text/css">
#mynetwork {
height: 100%;
background-color: #232625;
}
body {
@ -15,10 +16,14 @@
color: #ffffff;
font-size: 10px;
}
html, body {
height: 95%;
}
</style>
{% else %}
<style type="text/css">
#mynetwork {
height: 100%;
background-color: #ffffff;
}
body {
@ -27,6 +32,9 @@
font-size: 10px;
font-family: "courier new";
}
html, body {
height: 95%;
}
</style>
{% endif %}
@ -38,7 +46,7 @@
</head>
<body>
<p>{{ title }}</p>
<p><div id="mynetwork"></div><br/></p>
<div id="mynetwork"></div>
<script type="text/javascript">
var container = document.getElementById('mynetwork');

Loading…
Cancel
Save