[8d2107]: / extract.html

Download this file

58 lines (51 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<style type="text/css">
p {
width: 100%;
background-color: gray;
color: white;
}
input[type="submit"] {
margin-right: 20px;
}
form {
text-align: right;
}
.container {
text-align: left;
}
.highlight {
font-weight: bold;
background-color: yellow;
}
#note {
height: 600px;
overflow-y: scroll;
}
</style>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<div class="container">
<h1>MIT MGH Data Extraction Platform</h1>
<div class="row">
<div class="col-md-9" id="note">
</div>
<div class="col-md-3">
<b>Ejection Fraction:</b><br>
<input type="text" name="line1" id="line1" placeholder="${guess}" />
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
String.prototype.replaceAll = function(find, replace) {
return this.replace(new RegExp(find, 'g'), replace);
};
lt = String.fromCharCode(60);
gt = String.fromCharCode(62);
htmlString = "${image1}".replaceAll("&lt;", lt).replaceAll("&gt;", gt);
html = $.parseHTML(htmlString);
$("#note").append(html);
$("#line1").focus();
});
</script>