From: <bel...@us...> - 2003-03-16 01:18:04
|
Update of /cvsroot/btplusplus/BT++/src/WebTemplates In directory sc8-pr-cvs1:/tmp/cvs-serv13101/src/WebTemplates Modified Files: config.tmpl menu.tmpl root.tmpl torrent.tmpl Log Message: Implemented seed number control Updated to wxPython 2.4.0.6 (false/true deprecated) Fixed: If last torrent completed it wasn't removed from list Fixed: Chckboxes in WT++ config not working Added shell command to BT++.py Added WT++ readme Updated BT++ readme (linux setup) Improved some html templates Index: config.tmpl =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/WebTemplates/config.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** config.tmpl 11 Mar 2003 01:07:21 -0000 1.2 --- config.tmpl 16 Mar 2003 01:17:58 -0000 1.3 *************** *** 35,52 **** <tr> <td>Automatically start new downloads</td> ! <td width=5% align=center><input type=checkbox name=Download_AutoStart <TMPL_IF download_autostart>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> <td>Automatically pause downloads (if current>max)</td> ! <td width=5% align=center><input type=checkbox name=Download_AutoPause <TMPL_IF download_autopause>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> <td>Automatically seed completed downloads</td> ! <td width=5% align=center><input type=checkbox name=Download_KeepUpload <TMPL_IF download_keepupload>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> ! <td>Maximal simultanous downloads (1-10)</td> <td width=5%><input type=text style="width:100%" name=Download_MaxSimDown value="<TMPL_VAR download_maxsimdown>"></td> </tr> </table></td> </tr> --- 35,59 ---- <tr> <td>Automatically start new downloads</td> ! <td width=5% align=center><input type=hidden name=Download_AutoStart value="0"> ! <input type=checkbox name=Download_AutoStart <TMPL_IF download_autostart>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> <td>Automatically pause downloads (if current>max)</td> ! <td width=5% align=center><input type=hidden name=Download_AutoPause value="0"> ! <input type=checkbox name=Download_AutoPause <TMPL_IF download_autopause>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> <td>Automatically seed completed downloads</td> ! <td width=5% align=center><input type=hidden name=Download_KeepUpload value="0"> ! <input type=checkbox name=Download_KeepUpload <TMPL_IF download_keepupload>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> ! <td>Maximal simultanous downloads</td> <td width=5%><input type=text style="width:100%" name=Download_MaxSimDown value="<TMPL_VAR download_maxsimdown>"></td> </tr> + <tr> + <td>Keep uploading the last x finished files (0 for unlimited)</td> + <td width=5%><input type=text style="width:100%" name=Seed_MaxSimSeed value="<TMPL_VAR seed_maxsimseed>"></td> + </tr> </table></td> </tr> *************** *** 67,71 **** <tr> <td>Use background hashing</td> ! <td width=5% align=center><input type=checkbox name=Hash_Background <TMPL_IF hash_background>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> --- 74,79 ---- <tr> <td>Use background hashing</td> ! <td width=5% align=center><input type=hidden name=Hash_Background value="0"> ! <input type=checkbox name=Hash_Background <TMPL_IF hash_background>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> *************** *** 109,113 **** <tr> <td>Allow access from localhost</td> ! <td width=5% align=center><input type=checkbox name=Access_AllowLocal <TMPL_IF access_allowlocal>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> --- 117,122 ---- <tr> <td>Allow access from localhost</td> ! <td width=5% align=center><input type=hidden name=Access_AllowLocal value="0"> ! <input type=checkbox name=Access_AllowLocal <TMPL_IF access_allowlocal>CHECKED</TMPL_IF> value="1"></td> </tr> <tr> Index: menu.tmpl =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/WebTemplates/menu.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** menu.tmpl 2 Mar 2003 02:55:41 -0000 1.1 --- menu.tmpl 16 Mar 2003 01:17:58 -0000 1.2 *************** *** 19,23 **** <tr> <td width=100%><input type=text style="width:100%" name=torr title="Paste Torrent URLs here"></td> ! <td><input type=hidden name=command value=Add><button type=submit>Add</button></td> </tr> </table> --- 19,23 ---- <tr> <td width=100%><input type=text style="width:100%" name=torr title="Paste Torrent URLs here"></td> ! <td nowrap><input type=hidden name=command value=Add><button type=submit>Add</button><button type=reset>Clear</button></td> </tr> </table> Index: root.tmpl =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/WebTemplates/root.tmpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** root.tmpl 2 Mar 2003 02:55:41 -0000 1.1 --- root.tmpl 16 Mar 2003 01:17:58 -0000 1.2 *************** *** 4,8 **** </head> <frameset rows="50,*"> ! <frame name="top" src="menu"> <frame name="body" src="torrents"> </frameset> --- 4,8 ---- </head> <frameset rows="50,*"> ! <frame name="top" scrolling=no noresize src="menu"> <frame name="body" src="torrents"> </frameset> Index: torrent.tmpl =================================================================== RCS file: /cvsroot/btplusplus/BT++/src/WebTemplates/torrent.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** torrent.tmpl 11 Mar 2003 01:07:21 -0000 1.2 --- torrent.tmpl 16 Mar 2003 01:17:58 -0000 1.3 *************** *** 11,15 **** <tr bgcolor=#DDDDDD> <th colspan=2>Incomplete</th> ! <th align=left>File</th> <th>Status</th> <th>Downloaded</th> --- 11,15 ---- <tr bgcolor=#DDDDDD> <th colspan=2>Incomplete</th> ! <th align=left width=100%>File</th> <th>Status</th> <th>Downloaded</th> |