From: Eric B. <ri...@us...> - 2006-08-10 02:34:18
|
Update of /cvsroot/bacula/gui/bweb/tpl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3698/tpl Modified Files: begin.tpl display_job_zoom.tpl display_media.tpl display_media_zoom.tpl update_media.tpl Log Message: ebl add media filter on display_media ebl add media view on job zoom Index: display_media.tpl =================================================================== RCS file: /cvsroot/bacula/gui/bweb/tpl/display_media.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- display_media.tpl 8 Aug 2006 21:43:15 -0000 1.1 +++ display_media.tpl 10 Aug 2006 02:34:15 -0000 1.2 @@ -21,8 +21,8 @@ <form action='?action=test' method='get'> <table id='id_pool_<TMPL_VAR ID>'></table> - <button class='formulaire' type='submit' name='action' value='extern'><img src='/bweb/extern.png'></button> - <button class='formulaire' type='submit' name='action' value='intern'><img src='/bweb/intern.png'></button> + <button class='formulaire' type='submit' name='action' value='extern' title='Move out'><img src='/bweb/extern.png'></button> + <button class='formulaire' type='submit' name='action' value='intern' title='Move in'><img src='/bweb/intern.png'></button> <button class='formulaire' type='submit' name='action' value='update_media' title='Update media'><img src='/bweb/edit.png'></button> <button class='formulaire' type='submit' name='action' value='media_zoom' title='Informations'><img src='/bweb/zoom.png'></button> <!-- Index: begin.tpl =================================================================== RCS file: /cvsroot/bacula/gui/bweb/tpl/begin.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- begin.tpl 8 Aug 2006 21:43:14 -0000 1.1 +++ begin.tpl 10 Aug 2006 02:34:15 -0000 1.2 @@ -15,8 +15,8 @@ <a href="?action=client"> Clients </a>| <a href="?action=run_job"> Jobs </a>| <a href="?action=running"> Running jobs </a>| +<a href="?action=job"> Old Job </a>| <a href="?action=next_job"> Next jobs </a|>| -<a href="?action=job"> Job list </a>| <a href="?action=restore"> Restore </a>| <a href="?action=graph"> Statistics </a>] [ <a href="?action=pool"> Pools </a>| Index: update_media.tpl =================================================================== RCS file: /cvsroot/bacula/gui/bweb/tpl/update_media.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- update_media.tpl 8 Aug 2006 21:43:16 -0000 1.1 +++ update_media.tpl 10 Aug 2006 02:34:15 -0000 1.2 @@ -86,18 +86,26 @@ </td> </tr> </table> -<button class='formulaire' name='action' value='do_update_media'>Apply<br/> - <img src='/bweb/apply.png'> -</button> -<button class='formulaire' name='action' title='Update from pool' - value='update_from_pool'>Update<br/> - <img src='/bweb/update.png' title='Update from pool'> -</button> -<button class='formulaire' name='action' value='media'>View Pool<br/> - <img src='/bweb/zoom.png'> -</button> - - </form> +<table> + <td> + <button class='formulaire' name='action' value='do_update_media'>Apply<br/> + <img src='/bweb/apply.png'> + </button> + <button class='formulaire' name='action' title='Update from pool' + value='update_from_pool'>Update<br/> + <img src='/bweb/update.png' title='Update from pool'> + </button> + </form> + </td> + <td> + <form action='?' method='GET'> + <input type='hidden' name='pool' value='<TMPL_VAR poolname>'> + <button class='formulaire' name='action' value='media'>View Pool<br/> + <img src='/bweb/zoom.png'> + </button> + </form> + </td> +</table> </div> <script language='JavaScript'> Index: display_job_zoom.tpl =================================================================== RCS file: /cvsroot/bacula/gui/bweb/tpl/display_job_zoom.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- display_job_zoom.tpl 8 Aug 2006 21:43:15 -0000 1.1 +++ display_job_zoom.tpl 10 Aug 2006 02:34:15 -0000 1.2 @@ -3,12 +3,34 @@ </div> <div class="bodydiv"> <table id='id0'></table> + <table><td> <form action='?'> <input type='hidden' name='jobid' value='<TMPL_VAR jobid>'> - <button class='formulaire' name='action' value='delete' title='delete this job'> + <button class='formulaire' name='action' value='delete' title='delete this job'> Delete<br/> <img src='/bweb/purge.png'> </button> </form> + </td><td> + <form action='?'> + <TMPL_LOOP volumes> + <input type='hidden' name='media' value='<TMPL_VAR VolumeName>'> + </TMPL_LOOP> + <button class='formulaire' name='action' value='media' title='view media'> + View media<br/> + <img src='/bweb/zoom.png'> + </button> + </form> + </td> + <td> + <form action='?'> + <input type='hidden' name='client' value='<TMPL_VAR Client>'> + <button class='formulaire' name='action' value='job' title='view jobs of <TMPL_VAR Client>'> + View jobs<br/> + <img src='/bweb/zoom.png'> + </button> + </form> + </td> + </table> </div> <script language='JavaScript'> Index: display_media_zoom.tpl =================================================================== RCS file: /cvsroot/bacula/gui/bweb/tpl/display_media_zoom.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- display_media_zoom.tpl 8 Aug 2006 21:43:15 -0000 1.1 +++ display_media_zoom.tpl 10 Aug 2006 02:34:15 -0000 1.2 @@ -11,9 +11,9 @@ <form action='?' method='get'> <input type='hidden' name='media' value='<TMPL_VAR volumename>'> <TMPL_IF online> - <button class='formulaire' type='submit' name='action' value='intern'><img src='/bweb/intern.png'></button> + <button class='formulaire' type='submit' name='action' value='extern' title='move out'><img src='/bweb/extern.png'></button> <TMPL_ELSE> - <button class='formulaire' type='submit' name='action' value='extern'><img src='/bweb/extern.png'></button> + <button class='formulaire' type='submit' name='action' value='intern' title='move in'><img src='/bweb/intern.png'></button> </TMPL_IF> <button class='formulaire' type='submit' name='action' value='update_media' title='Update'><img src='/bweb/edit.png'></button> <button class='formulaire' type='submit' name='action' value='purge' title='Purge'><img src='/bweb/purge.png'></button> |