Changeset 6d743c in indico


Ignore:
Timestamp:
02/01/10 13:53:45 (3 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
d7e34b
Parents:
f16746
git-author:
Cesar Munoz Orena <cesar.munoz.orena@…> (01/27/10 15:17:41)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (02/01/10 13:53:45)
Message:

[FIXED] Select participants not working and more

  • Various fixes: meeting -> participants -> search database would not add the selected users. Also, this layout has been changed to look like the add chairperson.
  • meeting -> participants: the layout has been changed a bit.
  • meeting -> participants -> view attendance: the design of this page has been changed a bit as well.
Location:
indico/MaKaC/webinterface
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/pages/conferences.py

    r9558c2 r6d743c  
    40724072 
    40734073        vars["participants"] = self.getParticipantsList() 
    4074         vars["statisticButton"] = _("""<input type="submit" class="btn" value="_("Attendance statistics")" />""") 
    40754074        vars["statisticAction"] = str(urlHandlers.UHConfModifParticipantsStatistics.getURL(self._conf)) 
    40764075        vars["sendButton"] = _("""<input type="submit" class="btn" value="_("Send email to")" name="participantsAction" />""") 
     
    40964095            vars["removeButton"] = vars["sendAddedInfoButton"] = "" 
    40974096 
    4098         vars["addButton"] = _("""<input type="submit" class="btn" value="_("Search participant")" />""") 
     4097        vars["addButton"] = _("""<input type="submit" class="btn" value="_("Search database")" />""") 
    40994098        vars["addAction"] = str(urlHandlers.UHConfModifParticipantsSelectToAdd.getURL(self._conf)) 
    41004099        vars["removeButton"] = _("""<input type="submit" class="btn" value="_("Remove participant")" name="participantsAction" />""") 
     
    42064205            vars["present"] = _(""" 
    42074206            <tr> 
    4208                 <td class="titleCellFormat" style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;border-bottom: 1px solid #5294CC;"> _("Present participants") </td> 
     4207                <td class="titleCellFormat"> _("Present participants") </td> 
    42094208                <td><b>%s</b></td> 
    42104209            </tr> 
     
    42134212            vars["absent"] = _(""" 
    42144213            <tr> 
    4215                 <td class="titleCellFormat" style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;border-bottom: 1px solid #5294CC;"> _("Absent participants") </td> 
     4214                <td class="titleCellFormat"> _("Absent participants") </td> 
    42164215                <td><b>%s</b></td> 
    42174216            </tr> 
     
    42204219            vars["excused"] = _(""" 
    42214220            <tr> 
    4222                 <td class="titleCellFormat" style="border-right:5px solid #FFFFFF;border-left:5px solid #FFFFFF;border-bottom: 1px solid #5294CC;">&nbsp;&nbsp;&nbsp;&nbsp; _("Excused participants") </td> 
     4221                <td class="titleCellFormat"> _("Excused participants") </td> 
    42234222                <td><b>%s</b></td> 
    42244223            </tr> 
  • indico/MaKaC/webinterface/tpls/ComplexSelection.tpl

    rd406a3 r6d743c  
    1  
    2 <table width="90%%" align="center" border="0" style="border-left: 1px solid #777777"> 
    3 <tr> 
    4   <td colspan="3" class="groupTitle">%(WPtitle)s</td> 
    5 </tr> 
    6 <tr> 
    7 <form action="%(postURL)s" method="POST"> 
    8   <td> 
    9     <table> 
     1<table class="groupTable"> 
    102    <tr> 
    11       <td rowspan="4" valign="middle" align="left" style="border-right:1px solid #5294CC"><img src=%(usericon)s/></td> 
    12       <td nowrap class="titleCellTD"><span class="titleCellFormat"> <%= _("Family name")%></span></td> 
    13       <td bgcolor="white" width="100%%"> 
    14         <input type="text" name="surname" size="60" value="%(surName)s"> 
    15       </td> 
     3        <td colspan="2"><div class="groupTitle">%(WPtitle)s</div></td> 
     4    </tr> 
     5    <form action="%(postURL)s" method="POST"> 
     6    <tr> 
     7        <td nowrap class="dataCaptionTD"><span class="dataCaptionFormat"><%= _("Family name")%></span></td> 
     8        <td class="contentCellTD"> 
     9            <input type="text" name="surname" size="60" value="%(surName)s"> 
     10        </td> 
    1611    </tr> 
    1712    <tr> 
    18       <td nowrap class="titleCellTD"><span class="titleCellFormat"> <%= _("First name")%></span></td> 
    19       <td bgcolor="white" width="100%%"> 
    20         <input type="text" name="firstname" size="60" value="%(firstName)s"> 
    21       </td> 
     13        <td nowrap class="dataCaptionTD"><span class="dataCaptionFormat"> <%= _("First name")%></span></td> 
     14        <td class="contentCellTD"> 
     15            <input type="text" name="firstname" size="60" value="%(firstName)s"> 
     16        </td> 
    2217    </tr> 
    2318    <tr> 
    24       <td nowrap class="titleCellTD"><span class="titleCellFormat"> <%= _("Email")%></span></td> 
    25       <td bgcolor="white" width="100%%"> 
    26         <input type="text" name="email" size="60" value="%(email)s"> 
    27       </td> 
     19        <td nowrap class="dataCaptionTD"><span class="dataCaptionFormat"> <%= _("Email")%></span></td> 
     20        <td class="contentCellTD"> 
     21            <input type="text" name="email" size="60" value="%(email)s"> 
     22        </td> 
    2823    </tr> 
    2924    <tr> 
    30       <td nowrap class="titleCellTD"><span class="titleCellFormat"> <%= _("Organisation")%></span></td> 
    31       <td bgcolor="white" width="100%%"> 
    32         <input type="text" name="organisation" size="60" value="%(organisation)s"> 
    33       </td> 
     25        <td nowrap class="dataCaptionTD"><span class="dataCaptionFormat"> <%= _("Organisation")%></span></td> 
     26        <td class="contentCellTD"> 
     27            <input type="text" name="organisation" size="60"  
     28                    value="%(organisation)s"> 
     29        </td> 
    3430    </tr> 
    35     </table> 
    36   </td> 
    37   <td valign="top" rowspan="4" align="right"> 
    38   <input type="submit" class="btn" value="<%= _("search")%>" name="action"> 
    39   %(searchOptions)s 
    40 </form> 
    41   </td> 
     31    <tr> 
     32        <td nowrap class="dataCaptionTD"><span class="dataCaptionFormat"> <%= _("Search options")%></span></td> 
     33        <td class="contentCellTD">%(searchOptions)s</td> 
     34    </tr> 
     35    <tr> 
     36        <td>&nbsp;</td> 
     37        <td class="contentCellTD"> 
     38            <input type="submit" class="btn" value="<%= _("search")%>" name="action"> 
     39        </td> 
     40    </tr> 
     41    </form> 
    4242 
    4343  %(msg)s 
    44   <form action="%(addURL)s" method="POST"> 
    45 <tr> 
    46   <td bgcolor="white" colspan="3"> 
    47     %(params)s 
    48     %(searchResultsTable)s 
    49   </td> 
    50   <td> 
    51     %(selectionBox)s 
    52   </td> 
    53 </tr> 
    54 </form> 
    55 <tr> 
    56   <td colspan="3" align="center"> 
    57     <form action="%(cancelURL)s" method="POST"> 
    58     %(params)s 
    59     <input type="submit" class="btn" value="<%= _("select")%>"> 
    60     <input type="submit" class="btn" value="<%= _("cancel")%>"> 
    61     </form> 
    62   </td> 
    63 </tr> 
     44    <% if searchResultsTable: %> 
     45        <form action="%(addURL)s" method="POST"> 
     46        %(params)s 
     47            <tr> 
     48                <td colspan="2"> 
     49                    %(searchResultsTable)s 
     50                </td> 
     51 
     52            </tr> 
     53            <tr> 
     54                <td colspan="2"> 
     55                    %(selectionBox)s 
     56                </td> 
     57            </tr> 
     58            <tr> 
     59                <td colspan="3" align="center"> 
     60                    <input type="submit" class="btn" value="<%= _("select")%>"> 
     61                    <input type="submit" class="btn" value="<%= _("cancel")%>"> 
     62                </td> 
     63            </tr> 
     64        </form> 
     65    <% end %> 
    6466</table> 
    6567 
  • indico/MaKaC/webinterface/tpls/ConferenceParticipants.tpl

    r9033fd r6d743c  
    158158                <table style="margin-top: 20px;"> 
    159159                                <tr> 
    160                                         <td> 
     160                                        <td>Add participant: </td> 
     161                    <td> 
    161162                                                <form action="<%= newParticipantURL %>" method="post"> 
    162                                                                 <div><input type="submit" value="<%= _("Add new participant")%>" class="btn"  /></div> 
     163                                                                <div><input type="submit" value="<%= _("Define new")%>" class="btn"  /></div> 
    163164                                                </form> 
    164165                                        </td> 
     
    179180                                        </td> 
    180181 
    181                                         <td> 
    182                                                 <form action="%(statisticAction)s" method="post">\ 
    183                                                         <div>%(statisticButton)s</div> 
    184                                                 </form>          
    185                                         </td> 
    186182                                </tr> 
    187183                                                                 
     
    190186 
    191187                <div style="position: relative; overflow: auto; margin-top: 10px;">                      
    192                  
     188                <form action="%(statisticAction)s" method="post" id="statisticsForm"></form>  
    193189                        <form action="%(participantsAction)s" method="post" name="participantsForm"> 
    194190                 
    195                                 <div style="float: left; padding-right: 30px; min-width: 400px; min-height: 200px;">                                                             
     191                                <div style="float: left; padding-right: 30px; min-width: 400px; min-height: 270px;">                                                             
    196192                                                        <table> 
    197193                                                                <tr> 
     
    211207 
    212208                                <div style="padding-top: 30px;" class="uniformButtonVBar"> 
    213                          
     209                                         
     210                            <div><input type="button" class="btn" style="margin-bottom: 20px" value="<%= _("View attendance") %>" onclick="javascript:$E('statisticsForm').dom.submit();" /></div> 
     211                         
    214212                                                        <% if presenceButton: %> 
    215213                                                                <div>%(presenceButton)s</div> 
     
    229227                                                         
    230228                                                        <% if sendButton: %> 
    231                                                                 <div>%(sendButton)s</div> 
     229                                                                <div style="margin-bottom: 20px">%(sendButton)s</div> 
    232230                                                        <% end %> 
    233231                                                         
  • indico/MaKaC/webinterface/tpls/ConferenceParticipantsStatistics.tpl

    r9033fd r6d743c  
    2828                        </tr> 
    2929                        <tr><td>&nbsp;</td><td>&nbsp</td></tr> 
    30                         <tr><td>&nbsp;</td><td>&nbsp</td></tr>                   
     30                 
    3131                        %(present)s 
    3232                        %(absent)s 
Note: See TracChangeset for help on using the changeset viewer.