正在显示
2 个修改的文件
包含
30 行增加
和
2 行删除
@@ -15,7 +15,21 @@ | @@ -15,7 +15,21 @@ | ||
15 | <div class="form-group"> | 15 | <div class="form-group"> |
16 | <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label> | 16 | <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label> |
17 | <div class="col-xs-12 col-sm-8"> | 17 | <div class="col-xs-12 col-sm-8"> |
18 | - <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50"></textarea> | 18 | + <textarea id="c-content" class="form-control" rows="5" name="row[content]" cols="50"></textarea> |
19 | + </div> | ||
20 | + </div> | ||
21 | + <div class="form-group"> | ||
22 | + <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label> | ||
23 | + <div class="col-xs-12 col-sm-8"> | ||
24 | + <div class="input-group"> | ||
25 | + <input id="c-images" data-rule="required" class="form-control form-control" size="50" name="row[images]" type="text"> | ||
26 | + <div class="input-group-addon no-border no-padding"> | ||
27 | + <span><button type="button" id="plupload-images" class="btn btn-danger plupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> | ||
28 | + <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span> | ||
29 | + </div> | ||
30 | + <span class="msg-box n-right" for="c-images"></span> | ||
31 | + </div> | ||
32 | + <ul class="row list-inline plupload-preview" id="p-images"></ul> | ||
19 | </div> | 33 | </div> |
20 | </div> | 34 | </div> |
21 | <!--<div class="form-group">--> | 35 | <!--<div class="form-group">--> |
@@ -15,7 +15,21 @@ | @@ -15,7 +15,21 @@ | ||
15 | <div class="form-group"> | 15 | <div class="form-group"> |
16 | <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label> | 16 | <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label> |
17 | <div class="col-xs-12 col-sm-8"> | 17 | <div class="col-xs-12 col-sm-8"> |
18 | - <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea> | 18 | + <textarea id="c-content" class="form-control" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea> |
19 | + </div> | ||
20 | + </div> | ||
21 | + <div class="form-group"> | ||
22 | + <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label> | ||
23 | + <div class="col-xs-12 col-sm-8"> | ||
24 | + <div class="input-group"> | ||
25 | + <input id="c-images" data-rule="required" class="form-control form-control" size="50" name="row[images]" type="text" value="{$row.images}"> | ||
26 | + <div class="input-group-addon no-border no-padding"> | ||
27 | + <span><button type="button" id="plupload-images" class="btn btn-danger plupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> | ||
28 | + <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span> | ||
29 | + </div> | ||
30 | + <span class="msg-box n-right" for="c-images"></span> | ||
31 | + </div> | ||
32 | + <ul class="row list-inline plupload-preview" id="p-images"></ul> | ||
19 | </div> | 33 | </div> |
20 | </div> | 34 | </div> |
21 | <!--<div class="form-group">--> | 35 | <!--<div class="form-group">--> |
-
请 注册 或 登录 后发表评论