source: indico/indico/MaKaC/webinterface/tpls/Abstracts.tpl @ 4dfc10

burotelhello-world-walkthroughipv6new-webexv0.97-seriesv0.98-seriesv0.98.2v0.98.3v0.98b1v0.98b2v0.99v1.0v1.1
Last change on this file since 4dfc10 was 4dfc10, checked in by Jose Benito <jose.benito.gonzalez@…>, 3 years ago

[FIX] Multiple abstract operations

  • beta version of multiple accepting/rejecting abstracts
  • buttons 'Accept multiple' and 'Reject multiple' added to abstract list webpage
  • logic of adding/rejecting multiple abstracts added/improved
  • fix#351
  • Property mode set to 100644
File size: 8.4 KB
Line 
1
2<table width="95%%" valign="top" align="center" cellspacing="0">
3        <tr>
4                <td>
5                        <table width="100%%" align="center" style="padding-left:1px solid #777777">
6                                <tr>
7                                        <td>
8                                                <table bgcolor="white" width="100%%">
9                                                        <tr>
10                                                                <form action=%(accessAbstract)s method="post">
11                                                                <td class="titleCellFormat"> <%= _("Quick search: Abstract ID")%> <input type="text" name="abstractId" size="4"><input type="submit" class="btn" value="<%= _("seek it")%>"><br>
12                                                                </td>
13                                                                </form>
14                                                        </tr>
15                                                </table>
16                                        </td>
17                                </tr>
18                        </table>
19                </td>
20        </tr>
21        <tr>
22                <td>
23                        <br>
24<script type="text/javascript">
25<!--
26function selecAllTracks()
27{
28document.optionForm.trackShowNoValue.checked=true
29if (!document.optionForm.selTracks.length)
30        {
31            document.optionForm.selTracks.checked=true
32        }else{
33for (i = 0; i < document.optionForm.selTracks.length; i++)
34        {
35        document.optionForm.selTracks[i].checked=true
36        }
37}
38}
39
40function unselecAllTracks()
41{
42document.optionForm.trackShowNoValue.checked=false
43if (!document.optionForm.selTracks.length)
44        {
45            document.optionForm.selTracks.checked=false
46        }else{
47    for (i = 0; i < document.optionForm.selTracks.length; i++)
48        {
49        document.optionForm.selTracks[i].checked=false
50        }
51    }
52}
53
54function selecAllTypes()
55{
56document.optionForm.typeShowNoValue.checked=true
57if (!document.optionForm.selTypes.length)
58        {
59            document.optionForm.selTypes.checked=true
60        }else{
61for (i = 0; i < document.optionForm.selTypes.length; i++)
62        {
63        document.optionForm.selTypes[i].checked=true
64        }
65}
66}
67
68function unselecAllTypes()
69{
70document.optionForm.typeShowNoValue.checked=false
71if (!document.optionForm.selTypes.length)
72        {
73            document.optionForm.selTypes.checked=false
74        }else{
75for (i = 0; i < document.optionForm.selTypes.length; i++)
76        {
77        document.optionForm.selTypes[i].checked=false
78        }
79}
80}
81
82function selecAllStatus()
83{
84for (i = 0; i < document.optionForm.selStatus.length; i++)
85        {
86        document.optionForm.selStatus[i].checked=true
87        }
88}
89
90function unselecAllStatus()
91{
92for (i = 0; i < document.optionForm.selStatus.length; i++)
93        {
94        document.optionForm.selStatus[i].checked=false
95        }
96}
97
98function selecAllAccTracks()
99{
100document.optionForm.accTrackShowNoValue.checked=true
101if (!document.optionForm.selAccTracks.length)
102        {
103            document.optionForm.selAccTracks.checked=true
104        }else{
105for (i = 0; i < document.optionForm.selAccTracks.length; i++)
106        {
107        document.optionForm.selAccTracks[i].checked=true
108        }
109}
110}
111
112function unselecAllAccTracks()
113{
114document.optionForm.accTrackShowNoValue.checked=false
115if (!document.optionForm.selAccTracks.length)
116        {
117            document.optionForm.selAccTracks.checked=false
118        }else{
119for (i = 0; i < document.optionForm.selAccTracks.length; i++)
120        {
121        document.optionForm.selAccTracks[i].checked=false
122        }
123}
124}
125
126function selecAllAccTypes()
127{
128document.optionForm.accTypeShowNoValue.checked=true
129if (!document.optionForm.selAccTypes.length)
130        {
131            document.optionForm.selAccTypes.checked=true
132        }else{
133for (i = 0; i < document.optionForm.selAccTypes.length; i++)
134        {
135        document.optionForm.selAccTypes[i].checked=true
136        }
137}
138}
139
140function unselecAllAccTypes()
141{
142document.optionForm.accTypeShowNoValue.checked=false
143if (!document.optionForm.selAccTypes.length)
144        {
145            document.optionForm.selAccTypes.checked=false
146        }else{
147for (i = 0; i < document.optionForm.selAccTypes.length; i++)
148        {
149        document.optionForm.selAccTypes[i].checked=false
150        }
151}
152}
153
154function selecAllFields()
155{
156
157document.optionForm.showID.checked=true
158document.optionForm.showPrimaryAuthor.checked=true
159document.optionForm.showTracks.checked=true
160document.optionForm.showType.checked=true
161document.optionForm.showStatus.checked=true
162document.optionForm.showAccTrack.checked=true
163document.optionForm.showAccType.checked=true
164document.optionForm.showSubmissionDate.checked=true
165}
166
167function unselecAllFields()
168{
169document.optionForm.showID.checked=false
170document.optionForm.showPrimaryAuthor.checked=false
171document.optionForm.showTracks.checked=false
172document.optionForm.showType.checked=false
173document.optionForm.showStatus.checked=false
174document.optionForm.showAccTrack.checked=false
175document.optionForm.showAccType.checked=false
176document.optionForm.showSubmissionDate.checked=false
177}
178//-->
179</script>
180
181                        <form action=%(filterPostURL)s name="optionForm" method="post">
182                                %(currentSorting)s
183                                %(menu)s
184                        </form>
185                </td>
186        </tr>
187        <tr>
188                <td>
189                        <br>
190                                <a name="abstracts"></a>
191                                <table width="100%%" cellspacing="0" align="center" border="0" style="border-left: 1px solid #777777;padding-left:2px">
192                                        <tr>
193                                                <td colspan="9">
194                                                        %(generateExcel)s
195                                                </td>
196                                        </tr>
197                                        <tr>
198                                                <td colspan="9" class="groupTitle">
199                            <table>
200                                <tr>
201                                    <td nowrap class="groupTitle"> <%= _("Found Abstracts")%> (%(number)s)</td>
202                                    <form action=%(newAbstractURL)s method="POST">
203                                    <td class="titleCellFormat"><input type="submit" class="btn" value="<%= _("new")%>"></td>
204                                    </form>
205                                    <form action=%(abstractsPDFURL)s method="post" target="_blank">
206                                    <td>%(abstractsToPrint)s<input type="submit" class="btn" value="<%= _("PDF of all")%>"></td>
207                                    </form>
208                                    <form action=%(abstractsXMLURL)s method="post" target="_blank">
209                                    <td>%(abstractsToPrint)s<input type="submit" class="btn" value="<%= _("XML of all")%>"></td>
210                                    </form>
211                                    <form action=%(participantListURL)s method="post" target="_blank">
212                                    <td>%(abstractsToPrint)s<input type="submit" class="btn" value="<%= _("author list of all")%>"></td>
213                                    </form>
214                            </tr>
215                            </table>
216                        </td>
217                                        </tr>
218                                        <tr>
219                                                %(abstractTitleBar)s
220                                        </tr>
221                    <form action=%(abstractSelectionAction)s method="post" target="_blank">
222                                        %(abstracts)s
223                                        %(fieldsToPrint)s
224                                        <tr>
225                                                <td colspan="4" style="border-top:1px solid #777777;" valign="bottom" align="left">
226                                                <table align="left" border="0">
227                            <tr>
228                                <td colspan="4">
229                                    <table>
230                                        <tr>
231                                            <td>
232                                                <input type="submit" class="btn" name="merge" value="<%= _("merge selected abstracts")%>" style="width:264px">
233                                            </td>
234                                        </tr>
235                                        <tr>
236                                            <td>
237                                                <input type="submit" class="btn" name="PDF" value="<%= _("get PDF of selected abstracts")%>" style="width:264px">
238                                            </td>
239                                        </tr>
240                                        <tr>
241                                            <td>
242                                                <input type="submit" class="btn" name="AUTH" value="<%= _("get author list of selected abstracts")%>" style="width:264px">
243                                            </td>
244                                            <td>
245                                                <input type="submit" class="btn" name="acceptMultiple" value="Accept multiple">
246                                            </td>
247                                            <td>
248                                                <input type="submit" class="btn" name="rejectMultiple" value="Reject multiple">
249                                            </td>
250                            </form>
251                                        </tr>
252                                    </table>
253                                </td>
254                            </tr>
255                                                </table>
256                                        </td>
257                                        <td colspan="5" bgcolor="white" align="center" style="border-top:1px solid #777777;border-left:1px solid #777777;color:black">
258                                                <b> <%= _("Total")%> : %(number)s  <%= _("abstract(s)")%></b>
259                                        </td>
260                                </tr>
261                        </table>
262                </td>
263        </tr>
264</table>
Note: See TracBrowser for help on using the repository browser.