]> 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 ce9a9065ca9bf3526d17e9e4b540433d64c2f196..d750f9f528a0515656d0daa1d595be1097452e98 100644 (file)
@@ -1,9 +1,14 @@
+<TMPL_UNLESS nohead>
 <br/>
  <div class='titlediv'>
-  <h1 class='newstitle'> <TMPL_VAR title> : <TMPL_VAR name></h1>
+  <h1 class='newstitle'> <TMPL_VAR title> : <TMPL_VAR name> &nbsp;</h1>
  </div>
  <div class='bodydiv'>
-  <pre id='log' style='font-size: 10px'>
+ <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>
-  </pre>
- </div>
+  <TMPL_UNLESS notail></pre>
+ </div></TMPL_UNLESS>