From: Allen D. <all...@us...> - 2004-10-06 20:04:10
|
Update of /cvsroot/gmod/Generic-Genome-Browser/conf/templates/gbrowse In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28424/conf/templates/gbrowse Modified Files: Tag: gbrowse-template-branch main.tt2 navigationtable.tt2 Added Files: Tag: gbrowse-template-branch pluginstable.tt2 Log Message: further division of template functionality Index: navigationtable.tt2 =================================================================== RCS file: /cvsroot/gmod/Generic-Genome-Browser/conf/templates/gbrowse/Attic/navigationtable.tt2,v retrieving revision 1.3.2.3 retrieving revision 1.3.2.4 diff -C2 -d -r1.3.2.3 -r1.3.2.4 *** navigationtable.tt2 6 Oct 2004 17:07:49 -0000 1.3.2.3 --- navigationtable.tt2 6 Oct 2004 20:03:58 -0000 1.3.2.4 *************** *** 1,7 **** - <form name="mainform" action="[% action %]" method="POST"> - <table border="0" width="100%" cellspacing="0" class="searchtitle"> ! ! [% IF !hide_ins %] <tr><td align="left" colspan="2"> <b>[% browser.translate('instructions') %]</b><br/> --- 1,4 ---- <table border="0" width="100%" cellspacing="0" class="searchtitle"> ! [% IF !hide_ins %] <tr><td align="left" colspan="2"> <b>[% browser.translate('instructions') %]</b><br/> *************** *** 18,76 **** <br/> </td></tr> ! [% END %] ! <tr> ! <th align="left" colspan="2"> ! <a href="?rand=[% rand %];head=[% browser.options.head || 0 %]">[[% tr_toggle_head %]]</a> ! <a href="?rand=[% rand %];ins=[% hide_ins ? 0 : 1 %]">[[% tr_toggle_instructions %]]</a> ! [% IF name OR ref %] <a href="[% link_bookmark %]">[[% browser.translate('bookmark') %]]</a> <a href="[% link_image %]" target="_blank">[[% browser.translate('image_link') %]]</a> <a href="[% link_svg %]" target="_blank">[[% browser.translate('svg_link') %]]</a> <a href="[% link_help %]" target="help">[[% browser.translate('help') %]]</a> ! [% END %] ! </th> ! </tr> ! ! <tr class="searchbody"> ! <td align="left" colspan="2">[% htmlfrag1 %]</td> ! </tr> ! ! <tr class="searchbody"> ! <td align="left">[% PROCESS "searchbox.tt2" %]</td> ! <td align="left">[% IF segment %]<b>[% browser.translate('scroll') %]</b><br/>[% PROCESS "slider.tt2" %][% END %]</td> ! </tr> ! ! </table> ! ! [% htmlfrag2 %] ! ! [% IF segments && segments.size() > 1 %] ! [% multiple_segments %] ! [% ELSE %] ! [% overview_panel %] ! [% detail_panel %] ! [% END %] ! [% htmlfrag3 %] ! <!-- plugins_table --> ! <table border="0" width="100%" cellspacing="0"> ! <tr class="settingsbody" align="left"> ! <td align="left">[% PROCESS "sourcemenu.tt2" %]</td> ! <td align="left">[% PROCESS "pluginmenu.tt2" %]</td> </tr> </table> - - [% htmlfrag4 %] - - <!-- tracks_table --> - [% PROCESS "trackstable.tt2" %] - - [% htmlfrag5 %] - - <!-- settings_table --> - [% PROCESS "optionstable.tt2" %] - - [% htmlfrag6 %] - </form> --- 15,40 ---- <br/> </td></tr> ! [% END %] ! <tr> ! <th align="left" colspan="2"> ! <a href="?rand=[% rand %];head=[% browser.options.head || 0 %]">[[% tr_toggle_head %]]</a> ! <a href="?rand=[% rand %];ins=[% hide_ins ? 0 : 1 %]">[[% tr_toggle_instructions %]]</a> ! [% IF name OR ref %] <a href="[% link_bookmark %]">[[% browser.translate('bookmark') %]]</a> <a href="[% link_image %]" target="_blank">[[% browser.translate('image_link') %]]</a> <a href="[% link_svg %]" target="_blank">[[% browser.translate('svg_link') %]]</a> <a href="[% link_help %]" target="help">[[% browser.translate('help') %]]</a> ! [% END %] ! </th> ! </tr> ! <tr class="searchbody"> ! <td align="left" colspan="2">[% htmlfrag1 %]</td> ! </tr> ! <tr class="searchbody"> ! <td align="left">[% PROCESS "searchbox.tt2" %]</td> ! <td align="left">[% IF segment %]<b>[% browser.translate('scroll') %]</b><br/>[% PROCESS "slider.tt2" %][% END %]</td> </tr> </table> Index: main.tt2 =================================================================== RCS file: /cvsroot/gmod/Generic-Genome-Browser/conf/templates/gbrowse/Attic/main.tt2,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** main.tt2 6 Oct 2004 17:07:49 -0000 1.1.2.2 --- main.tt2 6 Oct 2004 20:03:58 -0000 1.1.2.3 *************** *** 1,6 **** --- 1,50 ---- [% PROCESS "helperfunctions.tt2" %] + + <form name="mainform" action="[% action %]" method="POST"> + + <!-- navigation table --> [% PROCESS "navigationtable.tt2" %] + + [% htmlfrag2 %] + + <!-- genome browser images --> + [% IF segments && segments.size() > 1 %] + [% multiple_segments %] + [% ELSE %] + [% overview_panel %] + [% detail_panel %] + [% END %] + + [% htmlfrag3 %] + + <!-- plugins_table --> + [% PROCESS "pluginstable.tt2" %] + <table border="0" width="100%" cellspacing="0"> + <tr class="settingsbody" align="left"> + <td align="left">[% PROCESS "sourcemenu.tt2" %]</td> + <td align="left">[% PROCESS "pluginmenu.tt2" %]</td> + </tr> + </table> + + [% htmlfrag4 %] + + <!-- tracks_table --> + [% PROCESS "trackstable.tt2" %] + + [% htmlfrag5 %] + + <!-- settings_table --> + [% PROCESS "optionstable.tt2" %] + + [% htmlfrag6 %] + </form> + + <form name="externalform" encoding="multipart/form-data"><p/> + + <!-- upload table --> [% PROCESS "uploadtable.tt2" %]<p/> + + <!-- external table --> [% #PROCESS "externaltable.tt2" %] </form> --- NEW FILE: pluginstable.tt2 --- <table border="0" width="100%" cellspacing="0"> <tr class="settingsbody" align="left"> <td align="left">[% PROCESS "sourcemenu.tt2" %]</td> <td align="left">[% PROCESS "pluginmenu.tt2" %]</td> </tr> </table> |