]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bweb/tpl/help_extern_compute.tpl
Renamed cleanup goto target into bail_out which is the prefered name from the develop...
[bacula/bacula] / gui / bweb / tpl / help_extern_compute.tpl
index 02847883af53d90cd21f48c6ca58f6fa43312d03..dc9be23886d68f5d0b56cd902f9a7ad7c8705d34 100644 (file)
@@ -1,47 +1,43 @@
 <br/>
  <div class='titlediv'>
-  <h1 class='newstitle'> Help to eject media (part 2/2)</h1>
+  <h1 class='newstitle'>__Help to eject media (part 2/2)__</h1>
  </div>
  <div class='bodydiv'>
-  Now, you can verify the selection and eject media.
+  __Now, you can verify the selection and eject the media.__
    <form action='?' method='get'>
     <table id='compute'></table>
     <table><tr>
     <td style='align: left;'>
-    <button onclick='javascript:window.history.go(-2);' class='formulaire' title='Back'>
-      <img src='/bweb/prev.png'> &nbsp;
-    </button>
+    <button type="submit" class="bp" onclick='javascript:window.history.go(-2);' title='__Back__'> <img src='/bweb/prev.png' alt=''>__Back__</button>
     </td><td style='align: right;'>
-    <button name='action' value='extern' class='formulaire'>
-      <img src='/bweb/extern.png'>
-    </button>
+    <button type="submit" class="bp" name='action' value='extern' title='__Eject selection__'> <img src='/bweb/extern.png' alt=''>__Eject__</button>
    </td></tr>
    </form>
  </div>
 
-<script language="JavaScript">
+<script type="text/javascript" language="JavaScript">
 
-var header = new Array("Volume Name","Vol Status",
-                      "Media Type","Pool Name","Last Written", 
-                       "When expire ?", "Select");
+var header = new Array("__Volume Name__","__Vol Status__",
+                       "__Media Type__","__Pool Name__","__Last Written__", 
+                       "__When expire ?__", "__Select__");
 
 var data = new Array();
 var chkbox;
 
-<TMPL_LOOP NAME=Medias>
+<TMPL_LOOP media>
 chkbox = document.createElement('INPUT');
 chkbox.type  = 'checkbox';
-chkbox.value = '<TMPL_VAR NAME=volumename>';
+chkbox.value = '<TMPL_VAR volumename>';
 chkbox.name  = 'media';
 chkbox.checked = 'on';
 
 data.push( new Array(
-"<TMPL_VAR NAME=volumename>",
-"<TMPL_VAR NAME=volstatus>",
-"<TMPL_VAR NAME=mediatype>",
-"<TMPL_VAR NAME=name>",
-"<TMPL_VAR NAME=lastwritten>",
-"<TMPL_VAR NAME=expire>",
+"<TMPL_VAR volumename>",
+"<TMPL_VAR volstatus>",
+"<TMPL_VAR mediatype>",
+"<TMPL_VAR name>",
+"<TMPL_VAR lastwritten>",
+"<TMPL_VAR expire>",
 chkbox
  )
 );
@@ -64,8 +60,8 @@ nrsTable.setup(
  header_color: header_color,
  page_nav: true,
  padding: 3,
- rows_per_page: rows_per_page,
 // disable_sorting: new Array(5,6)
+ rows_per_page: rows_per_page
 }
 );
 </script>