/[SysIface]/templates/example/welcome.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/example/welcome.html.epl

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

revision 3 by dpavlin, Tue Jun 16 19:33:55 2009 UTC revision 4 by dpavlin, Tue Jun 16 19:47:21 2009 UTC
# Line 7  This page was generated from the templat Line 7  This page was generated from the templat
7  to reload the page or  to reload the page or
8  <a href="/index.html">here</a>  <a href="/index.html">here</a>
9  to move forward to a static page.  to move forward to a static page.
10    
11    % my $hostname = $self->param('hostname');
12    
13    <form method=get>
14    <label  for=hostname>hostname
15    <input name=hostname type=text value="<%= $hostname %>">
16    </label>
17    <input type=submit value=run>
18    </form>
19    
20    % foreach my $cmd ( @{ $self->stash('commands') } ) {
21    %       my $run = $hostname ? "ssh $hostname $cmd" : $cmd;
22    <b><tt><%= $cmd %></tt></b><br>
23    <pre><%= `$run` %></pre>
24    % }

Legend:
Removed from v.3  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.26