From 8f42b751aebda2e7dce2c363bed6f1e15b411b1d Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 20 Feb 2002 01:03:10 +0000 Subject: use Net::SSH::ssh_cmd for all job queueing rather than local duplicated ssh subs queue daemon updates: retry & remove links work, bubble up error message to webinterface, link to svcnum & have job listings on view/svc_* pages, closes: Bug#280 s/option/optionname/ schema change, dumb mysql, closes: Bug#334 --- httemplate/view/svc_acct.cgi | 4 +++- httemplate/view/svc_domain.cgi | 6 +++--- httemplate/view/svc_forward.cgi | 9 +++++---- httemplate/view/svc_www.cgi | 9 +++++---- 4 files changed, 16 insertions(+), 12 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 90ca1a240..d1c61576d 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -129,6 +129,8 @@ if ($svc_acct->slipip) { print "(No SLIP/PPP account)"; } -print ""; +print "". + '
'. joblisting({'svcnum'=>$svcnum}, 1). + ""; %> diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi index f086cda1a..61194a26d 100755 --- a/httemplate/view/svc_domain.cgi +++ b/httemplate/view/svc_domain.cgi @@ -55,8 +55,8 @@ foreach my $domain_record ( qsearch('domain_record', { svcnum => $svcnum } ) ) { ''. $domain_record->recaf. ' '. $domain_record->rectype. ''. ''. $domain_record->recdata. ''; } -print ''; - -print ''; +print ''. + '
'. joblisting({'svcnum'=>$svcnum}, 1). + ''; %> diff --git a/httemplate/view/svc_forward.cgi b/httemplate/view/svc_forward.cgi index cafb9e5b8..8d2afc823 100755 --- a/httemplate/view/svc_forward.cgi +++ b/httemplate/view/svc_forward.cgi @@ -52,10 +52,11 @@ if ($dstsvc) { $destination = $dst; } -print qq!Edit this information!, - "
Service #$svcnum", - "
Service: $svc", - qq!
Mail to $source forwards to $destination mailbox.!, +print qq!Edit this information!. + "
Service #$svcnum". + "
Service: $svc". + qq!
Mail to $source forwards to $destination mailbox.!. + '
'. joblisting({'svcnum'=>$svcnum}, 1). '' ; diff --git a/httemplate/view/svc_www.cgi b/httemplate/view/svc_www.cgi index a82921f1b..70a7a1be4 100644 --- a/httemplate/view/svc_www.cgi +++ b/httemplate/view/svc_www.cgi @@ -38,9 +38,10 @@ print header('Website View', menubar( "${p}misc/cancel-unaudited.cgi?$svcnum" ) ), "Main menu" => $p, -)), - "Service #$svcnum", - qq!
Website name: $www!, - '', +)). + "Service #$svcnum". + qq!
Website name: $www!. + '
'. joblisting({'svcnum'=>$svcnum}, 1). + '' ; %> -- cgit v1.2.1