edit.html 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label for="c-url" class="control-label col-xs-12 col-sm-2">{:__('Url')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input type="text" name="row[url]" value="{$row.url|htmlentities}" id="c-url" class="form-control" required />
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label for="c-imagewidth" class="control-label col-xs-12 col-sm-2">{:__('Imagewidth')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input type="text" name="row[imagewidth]" value="{$row.imagewidth}" id="c-imagewidth" class="form-control" required />
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label for="c-imageheight" class="control-label col-xs-12 col-sm-2">{:__('Imageheight')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input type="text" name="row[imageheight]" value="{$row.imageheight}" id="c-imageheight" class="form-control" required />
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label for="c-imagetype" class="control-label col-xs-12 col-sm-2">{:__('Imagetype')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input type="text" name="row[imagetype]" value="{$row.imagetype|htmlentities}" id="c-imagetype" class="form-control" required />
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label for="c-imageframes" class="control-label col-xs-12 col-sm-2">{:__('Imageframes')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input type="number" name="row[imageframes]" value="{$row.imageframes}" id="c-imageframes" class="form-control" />
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label for="c-filesize" class="control-label col-xs-12 col-sm-2">{:__('Filesize')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input type="number" name="row[filesize]" value="{$row.filesize}" id="c-filesize" class="form-control" />
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label for="c-mimetype" class="control-label col-xs-12 col-sm-2">{:__('Mimetype')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <input type="text" name="row[mimetype]" value="{$row.mimetype|htmlentities}" id="c-mimetype" class="form-control" />
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label for="c-extparam" class="control-label col-xs-12 col-sm-2">{:__('Extparam')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <input type="text" name="row[extparam]" value="{$row.extparam|htmlentities}" id="c-extparam" class="form-control" />
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label for="c-uploadtime" class="control-label col-xs-12 col-sm-2">{:__('Uploadtime')}:</label>
  52. <div class="col-xs-12 col-sm-8">
  53. <input type="datetime" name="row[uploadtime]" value="{$row.uploadtime|datetime}" id="c-uploadtime" class="form-control datetimepicker" />
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label for="c-storage" class="control-label col-xs-12 col-sm-2">{:__('Storage')}:</label>
  58. <div class="col-xs-12 col-sm-8">
  59. <input type="text" name="row[storage]" value="{$row.storage}" id="c-storage" class="form-control" />
  60. </div>
  61. </div>
  62. <div class="form-group hide layer-footer">
  63. <label class="control-label col-xs-12 col-sm-2"></label>
  64. <div class="col-xs-12 col-sm-8">
  65. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  66. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  67. </div>
  68. </div>
  69. </form>