-
Notifications
You must be signed in to change notification settings - Fork 1
/
peptides.html
94 lines (84 loc) · 5.08 KB
/
peptides.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="./assets/css/master.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<title>Peptides - BIO-IT</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid col-lg-12">
<div class="col-lg-12 text-center">
<br />
<div class="col-lg-12">
<div class="col-lg-2"></div>
<div class="col-lg-8">
<h1 class="text-center text-white">Peptide Bonds</h1>
<br />
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseOne">Generating Polypeptide Sequence</a>
</h4>
</div>
<div id="collapseOne" class="panel-collapse collapse in">
<div class="panel-body">
<p class="lead">
Type in your name below to figure out the polypeptide chain of your name. Make sure
that your name is Polypeptid'able! ;)
</p>
<br />
<div class="input-group">
<input type="text" oninput="handleInput(event)" class="form-control" placeholder="Type your sequence here" name="sequence" id="sequence"/>
<div class="input-group-btn">
<button class="btn btn-primary" onClick="drawPeptide()">Generate</button>
</div>
</div>
<img src="" alt="" id="peptideChain">
<br />
<br />
<span style="font-size:10px;font-style:italic;" id="Credits1"></span>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">Test Your Knowledge</a>
</h4>
</div>
<div id="collapseTwo" class="panel-collapse collapse">
<div class="panel-body">
<div class="alert" id="alertResponse"></div>
<form onsubmit="event.preventDefault();">
<div class="input-group">
<input type="text" oninput="handleInput(event)" class="form-control" placeholder="Your answer here." name="sequence" id="yourAnswer" required/>
<div class="input-group-btn">
<!-- Buttons -->
<button class="btn btn-default" onClick="checkAnswer()">Check</button>
<button class="btn btn-default" onclick="generatePeptide()"> <i class="fa fa-refresh" aria-hidden="true"></i> </button>
</div>
</div>
</form>
<br />
<img src="" alt="" id="testPeptideChainIMG">
<br />
<br />
<span style="font-size:10px;font-style:italic;" id="Credits2"></span>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-2"></div>
</div>
</div>
</div>
<!-- Biomolecules JavaScript -->
<script src="./js/peptideChain.js"></script>
</body>
</html>