File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
< head >
2
2
< meta charset ="utf-8 "/>
3
3
< meta http-equiv ="X-UA-Compatible " content ="IE=edge,chrome=1 "/>
4
- < title > fileCollection test app </ title >
4
+ < title > file-collection JS Test App </ title >
5
5
< meta name ="description " content =""/>
6
6
< meta name ="viewport " content ="width=device-width "/>
7
7
</ head >
13
13
14
14
< template name ="collTest ">
15
15
< div class ="">
16
- < h3 > file-collection Test App</ h3 >
16
+ < h3 > file-collection JS Test App</ h3 >
17
+ < ul >
18
+ < li > Upload files by clicking 'Upload' or drag your files onto the grid.</ li >
19
+ < li > Once uploaded you can download the files from the collection by clicking the link.</ li >
20
+ < li > Delete the files from the collection by clicking the delete button in the name column.</ li >
21
+ </ ul >
22
+ < br > < br >
17
23
</ div >
24
+ < div >
25
+ < button type ="button " class ="btn btn-success fileBrowse "> Upload</ button >
26
+ </ div >
27
+ < br >
18
28
< div class ="fileDrop ">
19
29
< table class ="table table-striped table-bordered ">
20
30
< thead >
Original file line number Diff line number Diff line change @@ -46,8 +46,9 @@ if(Meteor.isClient) {
46
46
} ) ;
47
47
} ) ;
48
48
49
- Template . collTest . onRendered ( function assignDrop ( ) {
49
+ Template . collTest . onRendered ( function onRendered ( ) {
50
50
myData . resumable . assignDrop ( $ ( '.fileDrop' ) ) ;
51
+ myData . resumable . assignBrowse ( $ ( '.fileBrowse' ) ) ;
51
52
} ) ;
52
53
53
54
Tracker . autorun ( function consistentCookie ( ) {
You can’t perform that action at this time.
0 commit comments