audit.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="id" value="{$row.id}">
  3. <div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('Driver_images')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <ul class="row list-inline faupload-preview" data-listidx="0">
  7. <?php
  8. $driver_images = explode(',',$row['driver_images']);
  9. foreach($driver_images as $key => $val){
  10. ?>
  11. <li class="col-xs-3">
  12. <a href="{$val}" data-url="{$val}" target="_blank" class="thumbnail">
  13. <img src="{$val}" onerror="this.src='/admin.php/ajax/icon?suffix=jpg';this.onerror=null;" class="img-responsive"></a>
  14. </li>
  15. <?php } ?>
  16. </ul>
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  21. <div class="col-xs-12 col-sm-8">
  22. <div class="radio">
  23. {foreach name="statusList" item="vo"}
  24. <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>
  25. {/foreach}
  26. </div>
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  31. <div class="col-xs-12 col-sm-8">
  32. <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):''}">
  33. </div>
  34. </div>
  35. <div class="form-group">
  36. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  37. <div class="col-xs-12 col-sm-8">
  38. <input id="c-auditremark" class="form-control" name="auditremark" type="text" value="{$row.auditremark|htmlentities}">
  39. </div>
  40. </div>
  41. <div class="form-group layer-footer">
  42. <label class="control-label col-xs-12 col-sm-2"></label>
  43. <div class="col-xs-12 col-sm-8">
  44. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  45. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  46. </div>
  47. </div>
  48. </form>