Packages
FaultTree is a library for performing [fault tree analysis](https://en.wikipedia.org/wiki/Fault_tree_analysis). It includes a small HTTP server capable of graphing the resulting FTA, or returning it as JSON.
Current section
Files
Jump to
Current section
Files
priv/templates/upload.html.eex
<!DOCTYPE html>
<head>
<meta charset="utf-8">
</head>
<body>
<form action="/analyze" method="POST">
<textarea name="contents" cols="120" rows="40"></textarea><br/>
<input type="radio" name="output" value="json" /> Output JSON<br />
<input type="radio" name="output" value="html" checked /> Output HTML<br />
<input type="submit" value="Render" />
</form>
</body>