]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/command.tpl
bacula-web: Replaced Get_human_file_size() function by Utils::Get_Human_Size
[bacula/bacula] / gui / bweb / tpl / command.tpl
index 66488b4613bb36c9060b16388cfb90db7ed967f2..d750f9f528a0515656d0daa1d595be1097452e98 100644 (file)
@@ -4,8 +4,11 @@
   <h1 class='newstitle'> <TMPL_VAR title> : <TMPL_VAR name> &nbsp;</h1>
  </div>
  <div class='bodydiv'>
- <label onclick="toggle_display('log', 'arrow')"><img src="/bweb/right.gif" id='arrow' title="See output" > Command output</label><br>
-  <pre id='log' style='font-size: 10px;display:none'></TMPL_UNLESS>
+ <label onclick="toggle_display('log_<TMPL_VAR ID>', 'arrow_<TMPL_VAR ID>')">
+ <img src="/bweb/<TMPL_IF hide_output>right<TMPL_ELSE>down</TMPL_IF>.gif" 
+      id='arrow_<TMPL_VAR ID>' title="See output" > Command output</label><br>
+  <pre id='log_<TMPL_VAR ID>' 
+       style='font-size: 10px;display:<TMPL_IF hide_output>none<TMPL_ELSE>block</TMPL_IF>'></TMPL_UNLESS>
 <TMPL_VAR content>
   <TMPL_UNLESS notail></pre>
  </div></TMPL_UNLESS>