File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 26
26
<textarea id =" summernote-editor" name =" content" ></textarea >
27
27
</div >
28
28
<div class =" col-md-6" >
29
- <h2 >Standalone Button</h2 >
29
+ <h2 >Standalone Image Button</h2 >
30
30
<div class =" input-group" >
31
31
<span class =" input-group-btn" >
32
32
<a id =" lfm" data-input =" thumbnail" data-preview =" holder" class =" btn btn-primary" >
36
36
<input id =" thumbnail" class =" form-control" type =" text" name =" filepath" >
37
37
</div >
38
38
<img id =" holder" style =" margin-top :15px ;max-height :100px ;" >
39
+ <h2 >Standalone File Button</h2 >
40
+ <div class =" input-group" >
41
+ <span class =" input-group-btn" >
42
+ <a id =" lfm2" data-input =" thumbnail2" data-preview =" holder2" class =" btn btn-primary" >
43
+ <i class =" fa fa-picture-o" ></i > Choose
44
+ </a >
45
+ </span >
46
+ <input id =" thumbnail2" class =" form-control" type =" text" name =" filepath" >
47
+ </div >
48
+ <img id =" holder2" style =" margin-top :15px ;max-height :100px ;" >
39
49
</div >
40
50
</div >
41
51
</div >
100
110
</script >
101
111
<script >
102
112
$ (' #lfm' ).filemanager (' image' , {prefix: route_prefix});
113
+ $ (' #lfm2' ).filemanager (' file' , {prefix: route_prefix});
103
114
</script >
104
115
105
116
<link href =" http://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.4/summernote.css" rel =" stylesheet" >
You can’t perform that action at this time.
0 commit comments