add.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <form id="add-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">{:__('Boxid')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-boxid" data-rule="required" class="form-control" name="row[boxid]" type="number">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Boxgoods')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-boxgoods" data-rule="required" class="form-control" name="row[boxgoods]" type="text">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Zzuser')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-zzuser" data-rule="required" class="form-control" name="row[zzuser]" type="text">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Szuser')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-szuser" class="form-control" name="row[szuser]" type="text">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Zhuanztime')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-zhuanztime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[zhuanztime]" type="text" value="{:date('Y-m-d H:i:s')}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Zzid')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-zzid" class="form-control" name="row[zzid]" type="number">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Zzimage')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <div class="input-group">
  42. <input id="c-zzimage" class="form-control" size="50" name="row[zzimage]" type="text">
  43. <div class="input-group-addon no-border no-padding">
  44. <span><button type="button" id="faupload-zzimage" class="btn btn-danger faupload" data-input-id="c-zzimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-zzimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  45. <span><button type="button" id="fachoose-zzimage" class="btn btn-primary fachoose" data-input-id="c-zzimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  46. </div>
  47. <span class="msg-box n-right" for="c-zzimage"></span>
  48. </div>
  49. <ul class="row list-inline faupload-preview" id="p-zzimage"></ul>
  50. </div>
  51. </div>
  52. <div class="form-group layer-footer">
  53. <label class="control-label col-xs-12 col-sm-2"></label>
  54. <div class="col-xs-12 col-sm-8">
  55. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  56. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  57. </div>
  58. </div>
  59. </form>