/[SysIface]/templates/commands.html.epl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /templates/commands.html.epl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by dpavlin, Tue Jun 16 22:15:34 2009 UTC revision 7 by dpavlin, Wed Jun 17 11:28:12 2009 UTC
# Line 18  Line 18 
18  %               my $run = $hostname ? "ssh $hostname $cmd" : $cmd;  %               my $run = $hostname ? "ssh $hostname $cmd" : $cmd;
19  <b><tt><%= $cmd %></tt></b><br>  <b><tt><%= $cmd %></tt></b><br>
20  <pre><%= `$run` %></pre>  <pre><%= `$run` %></pre>
21    <table>
22    <tr><th colspan=2><%= $cmd %></td><tr>
23    %               foreach my $run ( $self->run( $cmd ) ) {
24    <tr>
25    <th><%= $run->{hostname} %></th>
26    <td>
27    <pre><%= $run->{out} %></pre>
28    </td>
29    </tr>
30    %               }
31    </table>
32  %       }  %       }
33  % }  % }

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26