diff options
author | ivan <ivan> | 2002-02-20 01:03:10 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-02-20 01:03:10 +0000 |
commit | 8f42b751aebda2e7dce2c363bed6f1e15b411b1d (patch) | |
tree | 942c30415b1e1683dec03dd62dcc24d575f7de46 /httemplate/view | |
parent | 47bc56487b4aebf3e415767a053dc049fe4a28d4 (diff) |
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
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/svc_acct.cgi | 4 | ||||
-rwxr-xr-x | httemplate/view/svc_domain.cgi | 6 | ||||
-rwxr-xr-x | httemplate/view/svc_forward.cgi | 9 | ||||
-rw-r--r-- | httemplate/view/svc_www.cgi | 9 |
4 files changed, 16 insertions, 12 deletions
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 "<TR><TH COLSPAN=2>(No SLIP/PPP account)</TH></TR>"; } -print "</TABLE></TD></TR></TABLE></BODY></HTML>"; +print "</TABLE></TD></TR></TABLE>". + '<BR>'. joblisting({'svcnum'=>$svcnum}, 1). + "</BODY></HTML>"; %> 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 } ) ) { '<td>'. $domain_record->recaf. ' '. $domain_record->rectype. '</td>'. '<td>'. $domain_record->recdata. '</td></tr>'; } -print '</table>'; - -print '</BODY></HTML>'; +print '</table>'. + '<BR>'. joblisting({'svcnum'=>$svcnum}, 1). + '</BODY></HTML>'; %> 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!<A HREF="${p}edit/svc_forward.cgi?$svcnum">Edit this information</A>!, - "<BR>Service #$svcnum", - "<BR>Service: <B>$svc</B>", - qq!<BR>Mail to <B>$source</B> forwards to <B>$destination</B> mailbox.!, +print qq!<A HREF="${p}edit/svc_forward.cgi?$svcnum">Edit this information</A>!. + "<BR>Service #$svcnum". + "<BR>Service: <B>$svc</B>". + qq!<BR>Mail to <B>$source</B> forwards to <B>$destination</B> mailbox.!. + '<BR>'. joblisting({'svcnum'=>$svcnum}, 1). '</BODY></HTML>' ; 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!<BR>Website name: <B><A HREF="http://$www">$www</A></B>!, - '</BODY></HTML>', +)). + "Service #$svcnum". + qq!<BR>Website name: <B><A HREF="http://$www">$www</A></B>!. + '<BR>'. joblisting({'svcnum'=>$svcnum}, 1). + '</BODY></HTML>' ; %> |