metasploit-framework/data/markdown_doc/html_template.erb

42 lines
853 B
Plaintext
Raw Normal View History

2016-02-18 21:41:14 +00:00
<html>
<head>
<% unless kb.empty? %>
<script>
function showBasic() {
document.getElementById('knowledge_base').style.display = "none";
document.getElementById('basic_info').style.display = "inline";
}
function showKnowledge() {
document.getElementById('basic_info').style.display = "none";
document.getElementById('knowledge_base').style.display = "inline";
}
</script>
<% end %>
<style>
<%= load_css %>
</style>
</head>
<body>
<% unless kb.empty? %>
<table border="0">
<tr>
<th>
<div id="basic_info_button" onClick="showBasic()">Basic Information</a>
</th>
<th>
<div id="Knowledge_base_button" onClick="showKnowledge()">Knowledge Base</a>
</th>
</tr></table>
<p></p>
<% end %>
<div id="basic_info">
<%= r.render(md) %>
</div>
<% unless kb.empty? %>
<div id="knowledge_base">
<%= r.render(kb) %>
</div>
2016-02-18 22:12:27 +00:00
<% end %>
2016-02-18 21:41:14 +00:00
</body>
</html>