detail.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <style type="text/css">
  2. #schedulepicker {
  3. padding-top:7px;
  4. }
  5. </style>
  6. <form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
  7. <div class="form-group">
  8. <label for="content" class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
  9. <div class="col-xs-12 col-sm-10">
  10. <textarea name="row[content]" id="conent" cols="30" style="width:100%;" rows="20" class="form-control" data-rule="required" readonly>{$row.content|htmlentities}</textarea>
  11. </div>
  12. </div>
  13. <div class="form-group">
  14. <label for="executetime" class="control-label col-xs-12 col-sm-2">{:__('End time')}:</label>
  15. <div class="col-xs-12 col-sm-4">
  16. <input type="text" class="form-control datetimepicker" id="executetime" name="row[executetime]" value="{$row.executetime|datetime}" data-rule="{:__('End time')}:required;match(gte, row[begintime], datetime)" size="6" disabled />
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label for="completetime" class="control-label col-xs-12 col-sm-2">{:__('End time')}:</label>
  21. <div class="col-xs-12 col-sm-4">
  22. <input type="text" class="form-control datetimepicker" id="completetime" name="row[completetime]" value="{$row.completetime|datetime}" data-rule="{:__('End time')}:required;match(gte, row[begintime], datetime)" size="6" disabled />
  23. </div>
  24. </div>
  25. <div class="form-group">
  26. <label for="processid" class="control-label col-xs-12 col-sm-2">{:__('Processid')}:</label>
  27. <div class="col-xs-12 col-sm-4">
  28. <input type="text" class="form-control" id="processid" name="row[processid]" value="{$row.processid}" disabled />
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  33. <div class="col-xs-12 col-sm-8">
  34. <div style="padding-top:8px;">
  35. {if $row['status']=='success'}<span class="label label-success">{:__('Success')}</span>{else/}<span class="label label-danger">{:__('Failure')}</span>{/if}
  36. </div>
  37. </div>
  38. </div>
  39. <div class="form-group hide layer-footer">
  40. <label class="control-label col-xs-12 col-sm-2"></label>
  41. <div class="col-xs-12 col-sm-8">
  42. <button type="button" class="btn btn-success btn-embossed" onclick="parent.Layer.close(parent.Layer.getFrameIndex(window.name))">{:__('Close')}</button>
  43. </div>
  44. </div>
  45. </form>