audit.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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">{:__('Secretvideo')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <!--<input id="c-secretvideo" class="form-control" disabled name="row[secretvideo]" type="text" value="{$row.secretvideo|htmlentities}">-->
  12. <video style="margin-top:5px;" width="240" height="180" controls><source src="{$row.secretvideo|htmlentities}" type="video/ogg"></video>
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <div class="radio">
  19. {foreach name="statusList" item="vo"}
  20. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="status" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  21. {/foreach}
  22. </div>
  23. </div>
  24. </div>
  25. <div class="form-group">
  26. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  27. <div class="col-xs-12 col-sm-8">
  28. <input id="c-audittime" class="form-control datetimepicker" disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audittime]" type="text" value="{:$row.audittime?datetime($row.audittime):''}">
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  33. <div class="col-xs-12 col-sm-8">
  34. <input id="c-auditremark" class="form-control" name="auditremark" type="text" value="{$row.auditremark|htmlentities}">
  35. </div>
  36. </div>
  37. <div class="form-group layer-footer">
  38. <label class="control-label col-xs-12 col-sm-2"></label>
  39. <div class="col-xs-12 col-sm-8">
  40. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  41. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  42. </div>
  43. </div>
  44. </form>