summaryrefslogtreecommitdiff
path: root/UI/payments/check_job.html
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-13 00:13:37 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-13 00:13:37 +0000
commit1208d15943738e80e267609aa88f16ec722aaba9 (patch)
treee38c43c70a173dd6f2549f2468bf8198214a780c /UI/payments/check_job.html
parent8f62103e122793ebe3db93819417e688ce5b1e18 (diff)
More payment fixes
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1976 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/payments/check_job.html')
-rw-r--r--UI/payments/check_job.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/UI/payments/check_job.html b/UI/payments/check_job.html
new file mode 100644
index 00000000..18f786cc
--- /dev/null
+++ b/UI/payments/check_job.html
@@ -0,0 +1,36 @@
+<?lsmb INCLUDE 'ui-header.html'
+ include_stylesheet = [
+ 'css/global.css'
+ 'UI/payments/payments.css'
+ stylesheet
+ ]
+ titlebar = text('Checking Job') # '
+ refresh = {
+ url = "payment.pl?job_id=${job_id}&account_class=${account_class}"
+ delay = 20
+ }
+?>
+<body>
+ <div class="listtop"><?lsmb text('Checking Job [_1]', job_id) ?></div>
+ <div class="info">
+ <?lsmb IF job.completed;
+ text('Status: Still Running');
+ ELSE;
+ text('Status: Complete');
+ END ?></div>
+ <?lsmb IF job.completed ?>
+ <div class="info">
+ <?lsmb IF job.success;
+ text('Completed Successfully');
+ ELSE;
+ text('Job Failed');
+ END ?></div>
+ <?lsmb IF ! job.success ?>
+ <div class="info">
+ <?lsmb text('Error:') ?><br />
+ <?lsmb job.error_condition ?>
+ </div>
+ <?lsmb END # if ! job.success ?>
+ <?lsmb END # if job.completed ?>
+</body>
+</html>