pcadmin.html 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="company_id" value="{$row.company_id}">
  3. <input type="hidden" name="id" value="{$row.id}">
  4. <!--<div class="form-group">
  5. <label class="control-label col-xs-12 col-sm-2">{:__('Company_id')}:</label>
  6. <div class="col-xs-12 col-sm-8">
  7. <input id="c-company_id" data-rule="required" data-source="company/index" class="form-control selectpage" name="row[company_id]" type="text" value="{$row.company_id|htmlentities}">
  8. </div>
  9. </div>
  10. <div class="form-group">
  11. <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
  12. <div class="col-xs-12 col-sm-8">
  13. <input id="c-username" class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">
  14. </div>
  15. </div>-->
  16. <div class="form-group">
  17. <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
  18. <div class="col-xs-12 col-sm-8">
  19. <input id="c-nickname" class="form-control" name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label class="control-label col-xs-12 col-sm-2">{:__('Gonghao')}:</label>
  24. <div class="col-xs-12 col-sm-8">
  25. <input id="c-gonghao" class="form-control" name="row[gonghao]" type="text" value="{$row.gonghao|htmlentities}">
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  30. <div class="col-xs-12 col-sm-8">
  31. <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
  36. <div class="col-xs-12 col-sm-8">
  37. <input id="c-password" class="form-control" name="row[password]" placeholder="不修改密码请留空" type="password" value="" >
  38. </div>
  39. </div>
  40. <!--<div class="form-group">
  41. <label class="control-label col-xs-12 col-sm-2">{:__('Salt')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <input id="c-salt" class="form-control" name="row[salt]" type="text" value="{$row.salt|htmlentities}">
  44. </div>
  45. </div>-->
  46. <div class="form-group">
  47. <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
  48. <div class="col-xs-12 col-sm-8">
  49. <div class="input-group">
  50. <input id="c-avatar" class="form-control" size="50" name="row[avatar]" type="text" value="{$row.avatar|htmlentities}">
  51. <div class="input-group-addon no-border no-padding">
  52. <span><button type="button" id="faupload-avatar" class="btn btn-danger faupload" data-input-id="c-avatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-avatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  53. <span><button type="button" id="fachoose-avatar" class="btn btn-primary fachoose" data-input-id="c-avatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  54. </div>
  55. <span class="msg-box n-right" for="c-avatar"></span>
  56. </div>
  57. <ul class="row list-inline faupload-preview" id="p-avatar"></ul>
  58. </div>
  59. </div>
  60. <!--<div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Loginfailure')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-loginfailure" data-rule="required" min="0" class="form-control" name="row[loginfailure]" type="number" value="{$row.loginfailure|htmlentities}">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Logintime')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <input id="c-logintime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[logintime]" type="text" value="{:$row.logintime?datetime($row.logintime):''}">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="control-label col-xs-12 col-sm-2">{:__('Loginip')}:</label>
  74. <div class="col-xs-12 col-sm-8">
  75. <input id="c-loginip" class="form-control" name="row[loginip]" type="text" value="{$row.loginip|htmlentities}">
  76. </div>
  77. </div>
  78. <div class="form-group">
  79. <label class="control-label col-xs-12 col-sm-2">{:__('Token')}:</label>
  80. <div class="col-xs-12 col-sm-8">
  81. <input id="c-token" class="form-control" name="row[token]" type="text" value="{$row.token|htmlentities}">
  82. </div>
  83. </div>-->
  84. <!--<div class="form-group">
  85. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  86. <div class="col-xs-12 col-sm-8">
  87. <div class="radio">
  88. {foreach name="statusList" item="vo"}
  89. <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>
  90. {/foreach}
  91. </div>
  92. </div>
  93. </div>-->
  94. <!--<div class="form-group">
  95. <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
  96. <div class="col-xs-12 col-sm-8">
  97. <input id="c-email" class="form-control" name="row[email]" type="text" value="{$row.email|htmlentities}">
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="control-label col-xs-12 col-sm-2">{:__('Is_kefu')}:</label>
  102. <div class="col-xs-12 col-sm-8">
  103. <select id="c-is_kefu" data-rule="required" class="form-control selectpicker" name="row[is_kefu]">
  104. {foreach name="isKefuList" item="vo"}
  105. <option value="{$key}" {in name="key" value="$row.is_kefu"}selected{/in}>{$vo}</option>
  106. {/foreach}
  107. </select>
  108. </div>
  109. </div>-->
  110. <div class="form-group layer-footer">
  111. <label class="control-label col-xs-12 col-sm-2"></label>
  112. <div class="col-xs-12 col-sm-8">
  113. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  114. </div>
  115. </div>
  116. </form>