From c6e93f261343a49962d0b0ec3863e28d00745ca8 Mon Sep 17 00:00:00 2001 From: Preston Cody Date: Mon, 11 Dec 2006 00:48:50 +0000 Subject: corresponding template changing the jobs page to use the methodology of the clients and users page with definable settings. svn path=/; revision=171 --- scire/.smarty/templates/jobs.tpl | 120 ++++++++++++++------------------------- 1 file changed, 43 insertions(+), 77 deletions(-) (limited to 'scire') diff --git a/scire/.smarty/templates/jobs.tpl b/scire/.smarty/templates/jobs.tpl index 2e51848..0a85517 100755 --- a/scire/.smarty/templates/jobs.tpl +++ b/scire/.smarty/templates/jobs.tpl @@ -1,78 +1,44 @@ -{include file="header.tpl" title="Jobs"} -
-

Search filter: - -

-

lets just yoink bugzilla's listing interface

- - - - -{if (!$show_fields)} - -{/if} - /\\/ - - - - - -{section name=j_data loop=$jobs} - - - - - - - - - -{/section} - - - - - - - - - - - - - - - - - - -
 Hostname -{else} - Groups - /\ \/ - /\ \/ - /\ \/ Job description
{$jobs[j_data].hostname}{$jobs[j_data].groups}{$jobs[j_data].priority}{$jobs[j_data].jobtype}{$jobs[j_data].status}{$jobs[j_data].description}
mta406Mailers3updatescheduleddaily update
printer1PrinterServers9installpackagesinprogressadding cups
-
+{include file="header.tpl" title="Jobs"} +
+

+ Search filter: + + +

+{if $jobs} + + +
Jobs
+ + + + {foreach from=$fields item=i key=k} + + {/foreach} + + + + {section name=jobs loop=$jobs} + + {foreach from=$fields item=item key=key} + {if $item eq "hostname"} + + {else} + + {/if} + {/foreach} + + + {/section} + + + +
+ {$f_attr[$i].name} {if $f_attr[$i].sortable}{/if} + Actions
{$jobs[jobs].hostname}{$jobs[jobs].$item} + View Details + +
+{/if} + {include file="footer.tpl"} -- cgit v1.2.3-65-gdbad