-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ejs
More file actions
63 lines (46 loc) · 1.85 KB
/
index.ejs
File metadata and controls
63 lines (46 loc) · 1.85 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
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<script type="text/javascript" src="/canvas-sdk/js/canvas-all.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://code.jquery.com/jquery.js"></script>
</head>
<body>
<ul id=”foldertree”></ul>
<div class="container">
<div class="jumbotron">
<h2>Hello World</h2>
<p class="hidden-xs">This is a canvas app. It looks like it belongs right in Salesforce, but it actually is served up by a Node.js
server!</p>
</div>
<div class="row-fluid">
<form class="form-horizontal" id="uploadForm"
enctype="multipart/form-data"
action="/upload"
method="post">
<fieldset>
<div id="legend">
<legend class="">Upload File to Node Server!</legend>
</div>
<div class="control-group">
<div class="controls">
<input type="text" id="statusId" name="statusText" placeholder="Status Update" class="input-xlarge"><br/>
<!-- <input type="submit" class="btn btn-success"/> -->
<input type="file" id="userFileInput" class="btn" name="displayText" /><br/>
<input type="submit" class="btn btn-success" value="Submit">
</div>
</div>
</fieldset>
</form>
</div>
</div>
<span id="status" />
<img id="uploadedImage" />
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>