[phpwebapp-commits] CVS: top10/templates/proj_details proj_details.html,1.4,1.5 proj_details.db,1.2,
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2004-07-22 09:39:07
|
Update of /cvsroot/phpwebapp/top10/templates/proj_details In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10079/templates/proj_details Modified Files: proj_details.html proj_details.db members.html header.html Log Message: Index: proj_details.html =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/proj_details.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** proj_details.html 26 Sep 2003 15:32:20 -0000 1.4 --- proj_details.html 22 Jul 2004 09:38:23 -0000 1.5 *************** *** 1,9 **** ! <WebBox ID="proj_details"> ! <Include SRC="{{./}}header.html" /> ! <If condition="'{{proj_id}}'<>'UNDEFINED'"> <table width="100%" cellspacing="1" cellpadding="2" bgcolor="#dddddd"> <tr> ! <td bgcolor="eeeeee" nowrap>General Info:</td> <td bgcolor="#ffffff"> <table width="100%" cellspacing="0" cellpadding="0"> --- 1,9 ---- ! <webbox id="proj_details"> ! <include src="{{./}}header.html" /> ! <if condition="'{{proj_id}}'!='UNDEFINED'"> <table width="100%" cellspacing="1" cellpadding="2" bgcolor="#dddddd"> <tr> ! <td bgcolor="eeeeee" nowrap="nowrap">General Info:</td> <td bgcolor="#ffffff"> <table width="100%" cellspacing="0" cellpadding="0"> *************** *** 28,32 **** <td bgcolor="eeeeee">Members:</td> <td bgcolor="#ffffff"> ! <Include SRC="{{./}}members.html" /> </td> </tr> --- 28,32 ---- <td bgcolor="eeeeee">Members:</td> <td bgcolor="#ffffff"> ! <include src="{{./}}members.html" /> </td> </tr> *************** *** 34,46 **** <td bgcolor="eeeeee">Evaluators:</td> <td bgcolor="#ffffff"> ! <Repeat rs="evaluators"> ! <a href="javascript:preference_list('{{username}}')">{{username}}</a> ! ({{points}}), ! </Repeat> </td> </tr> </table> ! <Include SRC="{{./}}comments/comments.html" /> ! </If> ! </WebBox> --- 34,46 ---- <td bgcolor="eeeeee">Evaluators:</td> <td bgcolor="#ffffff"> ! <repeat rs="evaluators"> ! <a href="javascript:preference_list('{{username}}')"> ! {{username}}</a> ({{points}}), ! </repeat> </td> </tr> </table> ! <include src="{{./}}comments/comments.html" /> ! </if> ! </webbox> Index: proj_details.db =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/proj_details.db,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** proj_details.db 24 Sep 2003 14:01:36 -0000 1.2 --- proj_details.db 22 Jul 2004 09:38:23 -0000 1.3 *************** *** 22,26 **** FROM preference_list WHERE username = '{{username}}' ! AND position < 10 ORDER BY position </Query> --- 22,26 ---- FROM preference_list WHERE username = '{{username}}' ! AND position < 10 ORDER BY position </Query> *************** *** 30,33 **** --- 30,34 ---- <Recordset ID="evaluators"> <Query> + <![CDATA[ SELECT username, (10 - position) AS points FROM preference_list *************** *** 35,38 **** --- 36,40 ---- AND position < 10 ORDER BY position + ]]> </Query> </Recordset> Index: members.html =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/members.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** members.html 24 Sep 2003 14:00:49 -0000 1.1 --- members.html 22 Jul 2004 09:38:23 -0000 1.2 *************** *** 1,4 **** <table border="0" cellspacing="0" cellpadding="0"> ! <Repeat rs="members"> <tr> <td>{{CurrentRecNr}}. </td> --- 1,4 ---- <table border="0" cellspacing="0" cellpadding="0"> ! <repeat rs="members"> <tr> <td>{{CurrentRecNr}}. </td> *************** *** 9,18 **** <td> : </td> <td> ! <Repeat rs="evaluations"> <a href="javascript:set_project('{{proj_id}}')"> {{proj_id}}</a>, ! </Repeat> </td> </tr> ! </Repeat> </table> --- 9,18 ---- <td> : </td> <td> ! <repeat rs="evaluations"> <a href="javascript:set_project('{{proj_id}}')"> {{proj_id}}</a>, ! </repeat> </td> </tr> ! </repeat> </table> Index: header.html =================================================================== RCS file: /cvsroot/phpwebapp/top10/templates/proj_details/header.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** header.html 30 Sep 2003 06:59:29 -0000 1.2 --- header.html 22 Jul 2004 09:38:23 -0000 1.3 *************** *** 1,21 **** <table id="project_header" border="0"> <tr> ! <If condition="'{{proj_id}}'=='UNDEFINED'"> <td> <h3>No project selected! Please enter a project in the project textbox.</h3> </td> ! </If> ! <If condition="'{{proj_id}}'<>'UNDEFINED'"> <td> <h2>Project: <a href="http://sourceforge.net/projects/{{proj_id}}" target="_blank">{{proj_name}}</a></h2> </td> ! </If> ! <td align="right" valign="bottom" nowrap> <form name="change" onsubmit="change_project(); return false;"> Project unix name: ! <input id="proj_id" type="text" size="15" value="{{proj_id}}"> <a class="button" href="javascript:change_project()">Change</a> </form> --- 1,21 ---- <table id="project_header" border="0"> <tr> ! <if condition="'{{proj_id}}'=='UNDEFINED'"> <td> <h3>No project selected! Please enter a project in the project textbox.</h3> </td> ! </if> ! <if condition="'{{proj_id}}'!='UNDEFINED'"> <td> <h2>Project: <a href="http://sourceforge.net/projects/{{proj_id}}" target="_blank">{{proj_name}}</a></h2> </td> ! </if> ! <td align="right" valign="bottom" nowrap="nowrap"> <form name="change" onsubmit="change_project(); return false;"> Project unix name: ! <input id="proj_id" type="text" size="15" value="{{proj_id}}" /> <a class="button" href="javascript:change_project()">Change</a> </form> |