[phpwebapp-commits] CVS: top10/templates/proj_details proj_details.js,NONE,1.1 proj_details.css,NONE
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2003-09-24 14:00:52
|
Update of /cvsroot/phpwebapp/top10/templates/proj_details In directory sc8-pr-cvs1:/tmp/cvs-serv24571/templates/proj_details Added Files: proj_details.js proj_details.css members.html header.html Log Message: --- NEW FILE: proj_details.js --- // -*-C-*- //tell emacs to use C mode function change_project() { var proj_id = document.change.proj_id.value; SendEvent("proj_details", "set_project", "proj_id="+proj_id); } function set_project(proj_id) { SendEvent("proj_details", "set_project", "proj_id="+proj_id); } function preference_list(username) { SendEvent("module", "preference_list", "username="+username); } --- NEW FILE: proj_details.css --- #project_header { width: 100%; margin: 0; margin-top: 10px; margin-bottom: 5px; } #proj_id { border: 1px solid #bbcccc; background-color: #f0ffff; color: #000088; padding: 1px; } #proj_id:hover { border: 1px inset #aabbbb; } --- NEW FILE: members.html --- <table border="0" cellspacing="0" cellpadding="0"> <Repeat rs="members"> <tr> <td>{{CurrentRecNr}}. </td> <td> <a href="javascript:preference_list('{{username}}')"> {{username}}</a> </td> <td> : </td> <td> <Repeat rs="evaluations"> <a href="javascript:set_project('{{proj_id}}')"> {{proj_id}}</a>, </Repeat> </td> </tr> </Repeat> </table> --- NEW FILE: header.html --- <table id="project_header" border="0"> <tr> <If condition="'{{proj_id}}'=='UNDEFINED'"> <td> No project selected! Please enter a project in the project textbox. </td> </If> <If condition="'{{proj_id}}'<>'UNDEFINED'"> <td> <h2><a href="http://sourceforge.net/projects/{{proj_id}}" target="_blank">{{proj_name}}</a></h2> </td> </If> <td align="right" valign="bottom"> <form name="change" onsubmit="change_project(); return false;"> Project: <input id="proj_id" type="text" size="15" value="{{proj_id}}"> <a class="button" href="javascript:change_project()">Change</a> </form> </td> </tr> </table> |