]> git.ipfire.org Git - thirdparty/cups.git/blame - templates/jobs.tmpl
Load cups into easysw/current.
[thirdparty/cups.git] / templates / jobs.tmpl
CommitLineData
ef416fc2 1{#job_id=0?:
2<TABLE CELLPADDING="0" CELLSPACING="0" CLASS="button" WIDTH="100%">
3<TR CLASS="data">
4<TH>ID&nbsp;</TH>
5<TH>Name&nbsp;</TH>
6<TH>User&nbsp;</TH>
7<TH>Size&nbsp;</TH>
8<TH>Pages&nbsp;</TH>
9<TH>State&nbsp;</TH>
10<TH>Control&nbsp;</TH>
11</TR>
12
13{[job_id]
14<TR CLASS="data" VALIGN="TOP">
15<TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}&nbsp;</TD>
16<TD>{?job_name=?Unknown:{job_name}}&nbsp;</TD>
17<TD>{job_originating_user_name}&nbsp;</TD>
18<TD>{job_k_octets}k&nbsp;</TD>
19<TD>{job_media_sheets_completed=0?Unknown:{?job_media_sheets_completed}}</TD>
20<TD>{job_state=3?pending since<BR>{time_at_creation}:{job_state=4?held since<BR>{time_at_creation}:
21{job_state=5?processing since<BR>{time_at_processing}:{job_state=6?stopped at<BR>{time_at_completed}:
22{job_state=7?cancelled at<BR>{time_at_completed}:{job_state=8?aborted:completed at<BR>{time_at_completed}}}}}}}&nbsp;</TD>
23<TD>
24{job_state>5?
25{job_k_octets>0?
26<A HREF="/jobs/?op=restart-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
27<IMG SRC="/images/restart-job.gif" ALT="Reprint Job" CLASS="button"></A>
28:}:}
29{job_state>6?:
30{job_state=4?
31<A HREF="/jobs/?op=release-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
32<IMG SRC="/images/release-job.gif" ALT="Release Job" CLASS="button"></A>
33:
34<A HREF="/jobs/?op=hold-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
35<IMG SRC="/images/hold-job.gif" ALT="Hold Job" CLASS="button"></A>
36}
37<A HREF="/jobs/?op=cancel-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
38<IMG SRC="/images/cancel-job.gif" ALT="Cancel Job" CLASS="button"></A>
39}
40&nbsp;</TD>
41</TR>
42}
43</TABLE>
44}