edit.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <form id="edit-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">{:__('User_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-user_id" data-rule="required" disabled data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <div class="radio">
  12. {foreach name="statusList" item="vo"}
  13. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  14. {/foreach}
  15. </div>
  16. </div>
  17. </div>
  18. <div class="form-group">
  19. <label class="control-label col-xs-12 col-sm-2">{:__('Passport_familyname')}:</label>
  20. <div class="col-xs-12 col-sm-8">
  21. <input id="c-passport_familyname" class="form-control" name="row[passport_familyname]" type="text" value="{$row.passport_familyname|htmlentities}">
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label class="control-label col-xs-12 col-sm-2">{:__('Passport_givenname')}:</label>
  26. <div class="col-xs-12 col-sm-8">
  27. <input id="c-passport_givenname" class="form-control" name="row[passport_givenname]" type="text" value="{$row.passport_givenname|htmlentities}">
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label class="control-label col-xs-12 col-sm-2">{:__('Passport_no')}:</label>
  32. <div class="col-xs-12 col-sm-8">
  33. <input id="c-passport_no" class="form-control" name="row[passport_no]" type="text" value="{$row.passport_no|htmlentities}">
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2">{:__('Passport_enddate')}:</label>
  38. <div class="col-xs-12 col-sm-8">
  39. <input id="c-passport_enddate" class="form-control" name="row[passport_enddate]" type="text" value="{$row.passport_enddate|htmlentities}">
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">{:__('Passport_images')}:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <div class="input-group">
  46. <input id="c-passport_images" class="form-control" size="50" name="row[passport_images]" type="text" value="{$row.passport_images|htmlentities}">
  47. <div class="input-group-addon no-border no-padding">
  48. <span><button type="button" id="faupload-passport_images" class="btn btn-danger faupload" data-input-id="c-passport_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-passport_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  49. <span><button type="button" id="fachoose-passport_images" class="btn btn-primary fachoose" data-input-id="c-passport_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  50. </div>
  51. <span class="msg-box n-right" for="c-passport_images"></span>
  52. </div>
  53. <ul class="row list-inline faupload-preview" id="p-passport_images"></ul>
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label class="control-label col-xs-12 col-sm-2">{:__('Ga_familyname')}:</label>
  58. <div class="col-xs-12 col-sm-8">
  59. <input id="c-ga_familyname" class="form-control" name="row[ga_familyname]" type="text" value="{$row.ga_familyname|htmlentities}">
  60. </div>
  61. </div>
  62. <div class="form-group">
  63. <label class="control-label col-xs-12 col-sm-2">{:__('Ga_givenname')}:</label>
  64. <div class="col-xs-12 col-sm-8">
  65. <input id="c-ga_givenname" class="form-control" name="row[ga_givenname]" type="text" value="{$row.ga_givenname|htmlentities}">
  66. </div>
  67. </div>
  68. <div class="form-group">
  69. <label class="control-label col-xs-12 col-sm-2">{:__('Ga_no')}:</label>
  70. <div class="col-xs-12 col-sm-8">
  71. <input id="c-ga_no" class="form-control" name="row[ga_no]" type="text" value="{$row.ga_no|htmlentities}">
  72. </div>
  73. </div>
  74. <div class="form-group">
  75. <label class="control-label col-xs-12 col-sm-2">{:__('Ga_startdate')}:</label>
  76. <div class="col-xs-12 col-sm-8">
  77. <input id="c-ga_startdate" class="form-control" name="row[ga_startdate]" type="text" value="{$row.ga_startdate|htmlentities}">
  78. </div>
  79. </div>
  80. <div class="form-group">
  81. <label class="control-label col-xs-12 col-sm-2">{:__('Ga_enddate')}:</label>
  82. <div class="col-xs-12 col-sm-8">
  83. <input id="c-ga_enddate" class="form-control" name="row[ga_enddate]" type="text" value="{$row.ga_enddate|htmlentities}">
  84. </div>
  85. </div>
  86. <div class="form-group">
  87. <label class="control-label col-xs-12 col-sm-2">{:__('Ga_juzhu_images')}:</label>
  88. <div class="col-xs-12 col-sm-8">
  89. <div class="input-group">
  90. <input id="c-ga_juzhu_images" class="form-control" size="50" name="row[ga_juzhu_images]" type="text" value="{$row.ga_juzhu_images|htmlentities}">
  91. <div class="input-group-addon no-border no-padding">
  92. <span><button type="button" id="faupload-ga_juzhu_images" class="btn btn-danger faupload" data-input-id="c-ga_juzhu_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-ga_juzhu_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  93. <span><button type="button" id="fachoose-ga_juzhu_images" class="btn btn-primary fachoose" data-input-id="c-ga_juzhu_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  94. </div>
  95. <span class="msg-box n-right" for="c-ga_juzhu_images"></span>
  96. </div>
  97. <ul class="row list-inline faupload-preview" id="p-ga_juzhu_images"></ul>
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="control-label col-xs-12 col-sm-2">{:__('Ga_tongx_images')}:</label>
  102. <div class="col-xs-12 col-sm-8">
  103. <div class="input-group">
  104. <input id="c-ga_tongx_images" class="form-control" size="50" name="row[ga_tongx_images]" type="text" value="{$row.ga_tongx_images|htmlentities}">
  105. <div class="input-group-addon no-border no-padding">
  106. <span><button type="button" id="faupload-ga_tongx_images" class="btn btn-danger faupload" data-input-id="c-ga_tongx_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-ga_tongx_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  107. <span><button type="button" id="fachoose-ga_tongx_images" class="btn btn-primary fachoose" data-input-id="c-ga_tongx_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  108. </div>
  109. <span class="msg-box n-right" for="c-ga_tongx_images"></span>
  110. </div>
  111. <ul class="row list-inline faupload-preview" id="p-ga_tongx_images"></ul>
  112. </div>
  113. </div>
  114. <div class="form-group">
  115. <label class="control-label col-xs-12 col-sm-2">{:__('Tw_juzhu_images')}:</label>
  116. <div class="col-xs-12 col-sm-8">
  117. <div class="input-group">
  118. <input id="c-tw_juzhu_images" class="form-control" size="50" name="row[tw_juzhu_images]" type="text" value="{$row.tw_juzhu_images|htmlentities}">
  119. <div class="input-group-addon no-border no-padding">
  120. <span><button type="button" id="faupload-tw_juzhu_images" class="btn btn-danger faupload" data-input-id="c-tw_juzhu_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-tw_juzhu_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  121. <span><button type="button" id="fachoose-tw_juzhu_images" class="btn btn-primary fachoose" data-input-id="c-tw_juzhu_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  122. </div>
  123. <span class="msg-box n-right" for="c-tw_juzhu_images"></span>
  124. </div>
  125. <ul class="row list-inline faupload-preview" id="p-tw_juzhu_images"></ul>
  126. </div>
  127. </div>
  128. <div class="form-group">
  129. <label class="control-label col-xs-12 col-sm-2">{:__('Tw_tongx_images')}:</label>
  130. <div class="col-xs-12 col-sm-8">
  131. <div class="input-group">
  132. <input id="c-tw_tongx_images" class="form-control" size="50" name="row[tw_tongx_images]" type="text" value="{$row.tw_tongx_images|htmlentities}">
  133. <div class="input-group-addon no-border no-padding">
  134. <span><button type="button" id="faupload-tw_tongx_images" class="btn btn-danger faupload" data-input-id="c-tw_tongx_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-tw_tongx_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  135. <span><button type="button" id="fachoose-tw_tongx_images" class="btn btn-primary fachoose" data-input-id="c-tw_tongx_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  136. </div>
  137. <span class="msg-box n-right" for="c-tw_tongx_images"></span>
  138. </div>
  139. <ul class="row list-inline faupload-preview" id="p-tw_tongx_images"></ul>
  140. </div>
  141. </div>
  142. <div class="form-group layer-footer">
  143. <label class="control-label col-xs-12 col-sm-2"></label>
  144. <div class="col-xs-12 col-sm-8">
  145. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  146. </div>
  147. </div>
  148. </form>