<% curpage = 'main' %> <%@ include file="template/main.psp"%> <%@ include file="template/head.psp"%> <% import socket, xmlrpclib try: args = {} args['status'] = ['waiting', 'building'] args['maxrows'] = 30 args['orderby'] = ['status', 'uid'] (e, msg, jobs) = server.list_jobs(args) args['status'] = ['checkout_wait', 'checkout_wait_done', 'checkout', 'make_srpm', 'prep', 'depsolve', 'depsolve_wait'] args['maxrows'] = 15 args['orderby'] = ['status', 'uid'] (e, msg, jobs_other) = server.list_jobs(args) jobs.extend(jobs_other) except socket.error, e: msg = str(e) e = -1 except xmlrpclib.Fault, fault: msg = "XMLRPC Fault" e = -1 except Exception, e: msg = str(e) e = -1 if e == -1: if len(config_opts['down_message']) > 0: %>

<%=config_opts['down_message']%>

<% else: %>

The server could not process the request.


Error was:  <%=msg%>

<% else: i = 1 %>
<% i = 1 for job in jobs: top = '' if i == 1: top = '-top' col_mod = '' if int(i / 2.0) == (i / 2.0): col_mod = '-alt' source = job['source'] if '/' in source: import os source = os.path.basename(source) # endif target_distro = job['target_distro'] target_target = job['target_target'] target_repo = job['target_repo'] target_str = "%s-%s-%s" % (target_distro, target_target, target_repo) %> <% i = i + 1 # endfor # No jobs... if i == 1: %> <% # endif %>
JOB ID PACKAGE SOURCE STATUS STARTED TARGET SUBMITTER
<%=job['uid']%> <%=job['package']%> <%=source%> <%=job['status']%> <%=relative_date_short(job['starttime'])%> <%=target_str%> <%=despam_user(job['username'])%>
No jobs found.


<% # endtry %> <%@ include file="template/foot.psp"%>