Revision be29aa96
Correction des templates (suppression de "javascript:" dans certains évènements JS: ce mécanisme n'est probablement pas supporté par IE).
Correction du setup.py pour que l'egg de vigiboard puisse être généré (il bloquait sur vigiboard/public/javascript/vigiboard_plugins, car il s'attend à trouver des fichiers et non des dossiers).
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@778 b22e2e97-25c9-44ff-b637-2e5ceca36478
setup.py | ||
---|---|---|
44 | 44 |
}, |
45 | 45 |
package_data={'vigiboard': ['i18n/*/LC_MESSAGES/*.mo', |
46 | 46 |
'templates/*/*', |
47 |
'public/*/*']}, |
|
47 |
'public/css/*', |
|
48 |
'public/images/*', |
|
49 |
'public/javascript/vigiboard_plugin/*']}, |
|
48 | 50 |
message_extractors={'vigiboard': [ |
49 | 51 |
('**.py', 'python', None), |
50 | 52 |
('templates/**.mako', 'mako', None), |
vigiboard/templates/vigiboard.html | ||
---|---|---|
48 | 48 |
<option value="300000">5 Minutes</option> |
49 | 49 |
<option value="600000">10 Minutes</option> |
50 | 50 |
</select> |
51 |
<input type="button" id="refresh_button" class="refresh_button" onclick="javascript:change_refresh($('#refresh_time').val())" value="[${_('Start')}]" />
|
|
51 |
<input type="button" id="refresh_button" class="refresh_button" onclick="change_refresh($('#refresh_time').val())" value="[${_('Start')}]" /> |
|
52 | 52 |
</td> |
53 | 53 |
|
54 | 54 |
<td style="margin-top: 8px; float: right"> |
vigiboard/templates/vigiboard_event_table.html | ||
---|---|---|
40 | 40 |
<th style="padding: 5px;" py:attrs="pstyle">${HTML(pname)}</th> |
41 | 41 |
</py:for> |
42 | 42 |
<th style="width:26px;padding: 0px;"><a class="Edit_EventsLien" href="javascript:vigiboard_edit_eventdialog('all')"><img src="${tg.url('/images/icon_page_edit.png')}" alt="Edit selected" title="Edit all selected events"/></a></th> |
43 |
<th style="padding:0px;"><input title="Select/Unselect all" id="vigiboard_checkall_checkbox" type="checkbox" onclick="javascript:vigiboard_checkall()" /></th>
|
|
43 |
<th style="padding:0px;"><input title="Select/Unselect all" id="vigiboard_checkall_checkbox" type="checkbox" onclick="vigiboard_checkall()" /></th> |
|
44 | 44 |
</tr> |
45 | 45 |
</thead> |
46 | 46 |
|
Also available in: Unified diff