#13; Prototype interface de selection de 'tous' les sujets ou uniquement ceux selectionnés
This commit is contained in:
parent
74d7063460
commit
5d1fea3ba5
|
@ -183,7 +183,7 @@
|
|||
& input[type='time']{
|
||||
display: inline-block;
|
||||
padding: .2em .5em;
|
||||
margin: .5em;
|
||||
margin: .5em 0;
|
||||
|
||||
border-radius: 3px;
|
||||
border: 1px solid #777;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -218,6 +218,7 @@
|
|||
$bodyfile = fopen($bodyfname, 'w');
|
||||
fwrite($bodyfile, $returned['body']);
|
||||
fclose($bodyfile);
|
||||
chmod($bodyfname, 0775);
|
||||
|
||||
fwrite($tmpfile, "readfile('$bodyfname');".PHP_EOL);
|
||||
|
||||
|
@ -229,6 +230,7 @@
|
|||
|
||||
/* (5) On ferme le fichier */
|
||||
fclose($tmpfile);
|
||||
chmod($tmpfile, 0775);
|
||||
|
||||
$response = new ModuleResponse(ManagerError::Success);
|
||||
$response->append('link', $tmpfname);
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
header("Content-Type: application/zip; charset=utf-8");
|
||||
header("Content-Disposition: attachment; filename=export_21_05_2016_.zip");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: 0");
|
||||
readfile('/var/www/socioview/tmp/content_57406292d5726.php');
|
||||
unlink('/var/www/socioview/tmp/content_57406292d5726.php');
|
||||
unlink(__FILE__);
|
||||
?>
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
header("Content-Type: application/zip; charset=utf-8");
|
||||
header("Content-Disposition: attachment; filename=export_21_05_2016_.zip");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: 0");
|
||||
readfile('/var/www/socioview/tmp/content_57406350c8e54.php');
|
||||
unlink('/var/www/socioview/tmp/content_57406350c8e54.php');
|
||||
unlink(__FILE__);
|
||||
?>
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
header("Content-Type: application/zip; charset=utf-8");
|
||||
header("Content-Disposition: attachment; filename=export_21_05_2016_.zip");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: 0");
|
||||
readfile('/var/www/socioview/tmp/content_574063b253600.php');
|
||||
unlink('/var/www/socioview/tmp/content_574063b253600.php');
|
||||
unlink(__FILE__);
|
||||
?>
|
|
@ -1,9 +0,0 @@
|
|||
<?php
|
||||
header("Content-Type: application/zip; charset=utf-8");
|
||||
header("Content-Disposition: attachment; filename=export_21_05_2016_.zip");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: 0");
|
||||
readfile('/var/www/socioview/tmp/content_574063c5818b3.php');
|
||||
unlink('/var/www/socioview/tmp/content_574063c5818b3.php');
|
||||
unlink(__FILE__);
|
||||
?>
|
|
@ -0,0 +1,3 @@
|
|||
/*#group_0:checked + #subject-list{
|
||||
display: none;
|
||||
}*/
|
|
@ -23,14 +23,18 @@ $pers = $request->answer();
|
|||
<section id='export-form'>
|
||||
<h4>Exporter les données au format .csv</h4>
|
||||
|
||||
<strong>Choix des sujets</strong><br>
|
||||
<strong>Choix des sujets</strong>
|
||||
<br><input type='radio' name='subject-group' data-name='group' id='group_0' value='sel' ><label for='group_0'>Tous les sujets</label>
|
||||
<br><input type='radio' name='subject-group' data-name='group' id='group_1' value='all' checked><label for='group_1'>Les sujets selectionnés uniquement</label>
|
||||
<br><br>
|
||||
|
||||
<article style='display: inline;' id='subject-list'>
|
||||
<input type='number' data-name='subjects' placeholder='Sujet' style='width: 5em; display: block;'>
|
||||
</article>
|
||||
<input type='button' id='add-subject' class='primary' value='Ajouter +' style='padding:.2em .6em; margin: .5em'>
|
||||
<input type='button' id='add-subject' class='primary' value='+' style='padding:.2em .6em; margin: .5em 0'>
|
||||
|
||||
<br><br><br><strong>Types de données</strong><br><br>
|
||||
<input type='checkbox' data-name='phone' value='1' id='phone_0'><label for='phone_0'>Données cellulaires</label>
|
||||
<br><br><br><strong>Types de données</strong>
|
||||
<br><br><input type='checkbox' data-name='phone' value='1' id='phone_0' ><label for='phone_0'>Données cellulaires</label>
|
||||
<br><br><input type='checkbox' data-name='facebook' value='1' id='facebook_0'><label for='facebook_0'>Données Facebook</label>
|
||||
<br><br><input type='checkbox' data-name='restic' value='1' id='restic_0' ><label for='restic_0'>Données <i>Lab Surveys</i></label>
|
||||
|
||||
|
|
Loading…
Reference in New Issue