-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcultured.html
80 lines (63 loc) · 2.22 KB
/
cultured.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Cultured - Your Tissue Culture Assistant</title>
<link type="text/css" rel="stylesheet" href="cultured.css"/>
<script src="http://www.parsecdn.com/js/parse-1.2.19.min.js"></script>
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="js/underscore.js"></script>
<script src="js/d3.js"></script>
<script src = "loginview.js"></script>
</head>
<body>
<div id="cultured">
<div id ="title">
<h1>cultured</h1>
</div>
<div class="content">
</div>
</div>
<script type = "text/template" id = "container-template">
<div id="user-info">
Signed in as <%= Parse.User.current().escape("username") %> (<a href="#" class="log-out">Log out</a>)
</div>
<div id="newplatebutton">
<button id="newplate" type="button"> New Plate </button>
</div>
<div id="treebutton">
<button id="tree" type="button"> Tree View </button>
</div>
<div id = "plate-holder">
</div>
</script>
<script type = "text/template" id = "plate-template">
<div class ="plate">
<img src="http://files.parsetfss.com/cb7eab5d-9002-4a01-9bb5-c71e43d54bc7/tfss-94e29190-374c-48a1-a1f8-bb011e419cbd-10cm.jpg"/>
<div class = "plateinfo">
<p class='pladeID'><%=_.escape(cellType)%></p>
<p> P: <%=_.escape(passage)%> </p>
</div>
</div>
</script>
<script type = "text/template" id="login-template">
<header id="header"></header>
<div class="login">
<form class="login-form">
<h2>Log In</h2>
<div class="error" style="display:none"></div>
<input type="text" id="login-username" placeholder="Username" />
<input type="password" id="login-password" placeholder="Password" />
<button>Log In</button>
</form>
<form class="signup-form">
<h2>Sign Up</h2>
<div class="error" style="display:none"></div>
<input type="text" id="signup-username" placeholder="Username" />
<input type="password" id="signup-password" placeholder="Create a Password" />
<button>Sign Up</button>
</form>
</div>
</script>
</body>
</html>