add.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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">{:__('Unionid')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-unionid" class="form-control" name="row[unionid]" type="text">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Openid')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-openid" class="form-control" name="row[openid]" type="text">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Routine_openid')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-routine_openid" class="form-control" name="row[routine_openid]" type="text">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-nickname" class="form-control" name="row[nickname]" type="text">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Headimgurl')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-headimgurl" class="form-control" name="row[headimgurl]" type="text">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <select id="c-sex" class="form-control selectpicker" name="row[sex]">
  36. {foreach name="sexList" item="vo"}
  37. <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
  38. {/foreach}
  39. </select>
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <div class='control-relative'><input id="c-city" class="form-control" data-toggle="city-picker" name="row[city]" type="text"></div>
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="control-label col-xs-12 col-sm-2">{:__('Language')}:</label>
  50. <div class="col-xs-12 col-sm-8">
  51. <input id="c-language" class="form-control" name="row[language]" type="text">
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
  56. <div class="col-xs-12 col-sm-8">
  57. <input id="c-province" class="form-control" name="row[province]" type="text">
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Country')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-country" class="form-control" name="row[country]" type="text">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <input id="c-remark" class="form-control" name="row[remark]" type="text">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="control-label col-xs-12 col-sm-2">{:__('Groupid')}:</label>
  74. <div class="col-xs-12 col-sm-8">
  75. <input id="c-groupid" class="form-control" name="row[groupid]" type="number">
  76. </div>
  77. </div>
  78. <div class="form-group">
  79. <label class="control-label col-xs-12 col-sm-2">{:__('Tagid_list')}:</label>
  80. <div class="col-xs-12 col-sm-8">
  81. <input id="c-tagid_list" class="form-control" name="row[tagid_list]" type="text">
  82. </div>
  83. </div>
  84. <div class="form-group">
  85. <label class="control-label col-xs-12 col-sm-2">{:__('Subscribe')}:</label>
  86. <div class="col-xs-12 col-sm-8">
  87. <select id="c-subscribe" class="form-control selectpicker" name="row[subscribe]">
  88. {foreach name="subscribeList" item="vo"}
  89. <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
  90. {/foreach}
  91. </select>
  92. </div>
  93. </div>
  94. <div class="form-group">
  95. <label class="control-label col-xs-12 col-sm-2">{:__('Subscribe_time')}:</label>
  96. <div class="col-xs-12 col-sm-8">
  97. <input id="c-subscribe_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[subscribe_time]" type="text" value="{:date('Y-m-d H:i:s')}">
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="control-label col-xs-12 col-sm-2">{:__('Stair')}:</label>
  102. <div class="col-xs-12 col-sm-8">
  103. <input id="c-stair" class="form-control" name="row[stair]" type="number">
  104. </div>
  105. </div>
  106. <div class="form-group">
  107. <label class="control-label col-xs-12 col-sm-2">{:__('Second')}:</label>
  108. <div class="col-xs-12 col-sm-8">
  109. <input id="c-second" class="form-control" name="row[second]" type="number">
  110. </div>
  111. </div>
  112. <div class="form-group">
  113. <label class="control-label col-xs-12 col-sm-2">{:__('Order_stair')}:</label>
  114. <div class="col-xs-12 col-sm-8">
  115. <input id="c-order_stair" class="form-control" name="row[order_stair]" type="number">
  116. </div>
  117. </div>
  118. <div class="form-group">
  119. <label class="control-label col-xs-12 col-sm-2">{:__('Order_second')}:</label>
  120. <div class="col-xs-12 col-sm-8">
  121. <input id="c-order_second" class="form-control" name="row[order_second]" type="number">
  122. </div>
  123. </div>
  124. <div class="form-group">
  125. <label class="control-label col-xs-12 col-sm-2">{:__('Brokerage_price')}:</label>
  126. <div class="col-xs-12 col-sm-8">
  127. <input id="c-brokerage_price" class="form-control" step="0.01" name="row[brokerage_price]" type="number">
  128. </div>
  129. </div>
  130. <div class="form-group">
  131. <label class="control-label col-xs-12 col-sm-2">{:__('Session_key')}:</label>
  132. <div class="col-xs-12 col-sm-8">
  133. <input id="c-session_key" class="form-control" name="row[session_key]" type="text">
  134. </div>
  135. </div>
  136. <div class="form-group">
  137. <label class="control-label col-xs-12 col-sm-2">{:__('User_type')}:</label>
  138. <div class="col-xs-12 col-sm-8">
  139. <select id="c-user_type" class="form-control selectpicker" name="row[user_type]">
  140. {foreach name="userTypeList" item="vo"}
  141. <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
  142. {/foreach}
  143. </select>
  144. </div>
  145. </div>
  146. <div class="form-group layer-footer">
  147. <label class="control-label col-xs-12 col-sm-2"></label>
  148. <div class="col-xs-12 col-sm-8">
  149. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  150. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  151. </div>
  152. </div>
  153. </form>