Line 7: |
Line 7: |
| | | |
| To do: | | To do: |
− | * Add 2015 and 2016 mentions
| |
| * Improve presentation. Maybe separate by year and add a table of content? | | * Improve presentation. Maybe separate by year and add a table of content? |
| * Add press kit / link to press kit (e.g. key facts, photos etc.) | | * Add press kit / link to press kit (e.g. key facts, photos etc.) |
Line 35: |
Line 34: |
| <!-- 2016 --> | | <!-- 2016 --> |
| | | |
| + | <li><a href="http://rue89.nouvelobs.com/2016/01/27/doliprane-enfants-gout-fraise-cancer-soyons-serieux-262980">Rue89</a> - "Le Doliprane des enfants, goût fraise et cancer ? Soyons sérieux" - 27/01/2016</li> |
| <li><a href="http://sante.lefigaro.fr/actualite/2016/01/06/24466-nouvelle-appli-revele-sucre-cache-dans-nos-aliments">Le Figaro Santé</a> - "Une nouvelle appli révèle le sucre caché dans nos aliments" - 06/01/2016</li> | | <li><a href="http://sante.lefigaro.fr/actualite/2016/01/06/24466-nouvelle-appli-revele-sucre-cache-dans-nos-aliments">Le Figaro Santé</a> - "Une nouvelle appli révèle le sucre caché dans nos aliments" - 06/01/2016</li> |
| | | |
Line 209: |
Line 209: |
| | | |
| <initjs> | | <initjs> |
− | press_table = $('#tagstable').dataTable({
| + | |
| + | |
| + | jQuery.extend( jQuery.fn.dataTableExt.oSort, { |
| + | "date-euro-pre": function ( a ) { |
| + | if ($.trim(a) != '') { |
| + | var frDate = a; |
| + | var frDateParts = frDate[0].split('/'); |
| + | var day = frDateParts[0] * 60 * 24; |
| + | var month = frDateParts[1] * 60 * 24 * 31; |
| + | var year = frDateParts[2] * 60 * 24 * 366; |
| + | var hour = 0; |
| + | var minutes = 0; |
| + | var x = day+month+year+hour+minutes; |
| + | } else { |
| + | |
| + | var x = new Date(0,0,0,0,0,0); |
| + | |
| + | } |
| + | |
| + | return x; |
| + | }, |
| + | |
| + | "date-euro-asc": function ( a, b ) { |
| + | return a > b; |
| + | }, |
| + | |
| + | "date-euro-desc": function ( a, b ) { |
| + | return b > a; |
| + | } |
| + | } ); |
| + | |
| + | |
| + | |
| + | press_datatable = $('#press_table').dataTable({ |
| "bJQueryUI": true, | | "bJQueryUI": true, |
| "bPaginate": false, | | "bPaginate": false, |
| "aaSorting": [], | | "aaSorting": [], |
| + | |
| + | "aoColumns": [ |
| + | null, |
| + | null, |
| + | null, |
| + | { "sType": "date-euro"} |
| + | ], |
| "oLanguage": { | | "oLanguage": { |
| "sSearch": "Recherche :", | | "sSearch": "Recherche :", |
Line 221: |
Line 261: |
| </initjs> | | </initjs> |
| | | |
| + | <div style="max-width:914px;"> |
| <table id="press_table"> | | <table id="press_table"> |
| | | |
− | <thead><tr><th>Type</th><th>Titre</th><th>Media</th><th>Date</th><th>Année</th></tr></thead> | + | <thead><tr><th>Type</th><th>Titre</th><th>Media</th><th>Date</th></tr></thead> |
| <tbody> | | <tbody> |
| | | |
Line 234: |
Line 275: |
| <td>Le Figaro Santé</td> | | <td>Le Figaro Santé</td> |
| <td>06/01/2016</td> | | <td>06/01/2016</td> |
− | <td>2016</td>
| |
| </tr> | | </tr> |
| | | |
Line 246: |
Line 286: |
| <td>La Gazette des Communes</td> | | <td>La Gazette des Communes</td> |
| <td>02/12/2015</td> | | <td>02/12/2015</td> |
− | <td>2015</td>
| |
| </tr> | | </tr> |
| | | |
Line 254: |
Line 293: |
| <td>L'Usine Digitale.fr</td> | | <td>L'Usine Digitale.fr</td> |
| <td>24/11/2015</td> | | <td>24/11/2015</td> |
− | <td>2015</td>
| |
| </tr> | | </tr> |
| | | |
| </table> | | </table> |
| + | </div> |
| + | |
| | | |
− | </table>
| |
| </div> | | </div> |
| </pre> | | </pre> |