image.html 1.5 KB

12345678910111213141516171819202122232425
  1. <form id="import-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">选项图片:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <div class="input-group">
  6. <input id="c-imgs" class="form-control" size="50" name="row[imgs]" type="text">
  7. <div class="input-group-addon no-border no-padding">
  8. <span><button type="button" id="plupload-imgs" class="btn btn-danger plupload" data-input-id="c-imgs" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-imgs"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  9. <span><button type="button" id="fachoose-imgs" class="btn btn-primary fachoose" data-input-id="c-imgs" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  10. </div>
  11. <span class="msg-box n-right" for="c-imgs"></span>
  12. </div>
  13. <ul class="row list-inline plupload-preview" id="p-imgs"></ul>
  14. </div>
  15. </div>
  16. <div class="form-group layer-footer">
  17. <label class="control-label col-xs-12 col-sm-2"></label>
  18. <div class="col-xs-12 col-sm-8">
  19. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  20. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  21. </div>
  22. </div>
  23. </form>