summaryrefslogtreecommitdiff
path: root/UI/payments/check_job.html
blob: 455a9934e2297cb01b0f69e2ab95b3ba7ddc256d (plain)
  1. <?lsmb INCLUDE 'ui-header.html'
  2. include_stylesheet = [
  3. 'css/global.css'
  4. 'UI/payments/payments.css'
  5. stylesheet
  6. ]
  7. titlebar = text('Checking Job') # '
  8. refresh = {
  9. url = "payment.pl?job_id=${job_id}&account_class=${account_class}&action=check_job"
  10. delay = 20
  11. }
  12. ?>
  13. <body>
  14. <div class="listtop"><?lsmb text('Checking Job [_1]', job_id) ?></div>
  15. <div class="info">
  16. <?lsmb IF job.completed;
  17. text('Status: Still Running');
  18. ELSE;
  19. text('Status: Complete');
  20. END ?></div>
  21. <?lsmb IF ! job.completed ?>
  22. <div class="info">
  23. <?lsmb IF job.success;
  24. text('Completed Successfully');
  25. ELSE;
  26. text('Job Failed');
  27. END ?></div>
  28. <?lsmb IF ! job.success ?>
  29. <div class="info">
  30. <?lsmb text('Error:') ?><br />
  31. <?lsmb job.error_condition ?>
  32. </div>
  33. <?lsmb END # if ! job.success ?>
  34. <?lsmb END # if job.completed ?>
  35. </body>
  36. </html>