NxTIC/view/input.php

157 lines
6.9 KiB
PHP
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php define('__ROOT__', dirname(dirname(__FILE__)) );
require_once __ROOT__.'/manager/autoloader.php';
use \manager\ModuleRequest;
use \manager\ManagerError;
use \manager\ResourceDispatcher;
use \manager\Repo;
$somevariable = 'test';
?>
<?php /* [1] ADMIN -> Donnees de questionnaire
=========================================================*/
?><section data-sublink='survey'>
Questionnaire
</section>
<?php /* [2] ADMIN -> Donnees de Facebook
=========================================================*/
?><section data-sublink='facebook'>
Facebook
</section>
<?php /* [3] ADMIN -> Donnees du Telephone
=========================================================*/
?><section data-sublink='phone'> <!-- IMPORT ou SAISIE -->
<section data-timeline>
<h3 data-n='1'>Identifier l'enquêté</h3>
<span data-space></span>
<h5 data-text="Renseigner au moins un des nominatifs pour chaque contact. (pseudo, prénom et/ou nom)"></h5>
<h4 data-icon='a' class='self'>
<input type='text' class='no-line' data-name='number' placeholder='Numéro de téléphone'>
<input type='text' class='no-line' data-name='username' placeholder='Pseudo'>
<input type='text' class='no-line' data-name='firstname' placeholder='Prénom'>
<input type='text' class='no-line' data-name='lastname' placeholder='Nom'>
<input type='submit' class='primary no-line sub-number' value='Enregistrer'>
</h4>
<span data-space></span>
<h3 data-n='2'>Importer un journal d'appel</h3>
<span data-space></span>
<h4 data-icon='u'>
<input class='no-line' type='file' id='call_log-import' value='test'>
<span class='no-line file-input'>Importer un journal d'appels</span>
</h4>
<span data-space></span>
<!-- <span data-tag='OU'></span> -->
<h3 data-n='2'>Saisir manuellement les contacts</h3>
<!-- GESTION DE L'AJOUT DES CONTACTS -->
<article class='contact-panel'>
<span data-space></span>
<h5 data-text="Renseigner au moins un des nominatifs pour chaque contact. (pseudo, prénom et/ou nom)"></h5>
<h4 data-icon='p' class='new-contact'>
<input type='text' class='no-line' data-name='number' placeholder='Numéro de téléphone'>
<input type='text' class='no-line' data-name='username' placeholder='Pseudo'>
<input type='text' class='no-line' data-name='firstname' placeholder='Prénom'>
<input type='text' class='no-line' data-name='lastname' placeholder='Nom'>
<input type='submit' class='primary no-line sub-number' value='Enregistrer'>
</h4>
<h4 data-icon='+' class='add-contact' style='cursor: pointer;'>Ajouter un contact</h4>
<!-- <span data-tag='ET'></span> -->
</article>
<span data-space></span>
<h3 data-n='3'>Remplir les fiches relations des contacts</h3>
<!-- GESTION DES FICHES RELATIONS -->
<article class='relation-panel'>
<span data-space></span>
<h4 data-icon='o' class='fiche-relation nobold'>
<input type='radio' class='no-line spacebtm' name='sexe' checked data-name='sexe' id='sexeH_0'><label class='no-line' for='sexeH_0'>Homme</label>
&nbsp&nbsp&nbsp<input type='radio' class='no-line btm' name='sexe' data-name='sexe' id='sexeF_0'><label class='no-line' for='sexeF_0'>Femme</label><br>
<input type='text' class='no-line spaced' data-name='age' placeholder='Age'><br>
<span class='no-line select-container'><select class='no-line spacebtm' data-name='job'>
<option class='no-line' value='.'>Dernière profession exercée:</option>
<option class='no-line' value='.'>___________________________</option>
<option class='no-line' value='0'>Métier 1</option>
<option class='no-line' value='1'>Métier 2</option>
<option class='no-line' value='2'>Métier 3</option>
<option class='no-line' value='3'>Métier 4</option>
</select></span><br>
Situation familiale:<br>
&nbsp&nbsp&nbsp<input type='radio' class='no-line spaced' checked name='famsit' data-name='famsit' id='famsitA_0'><label class='no-line' for='famsitA_0'>Seul</label><br>
&nbsp&nbsp&nbsp<input type='radio' class='no-line spaced' name='famsit' data-name='famsit' id='famsitB_0'><label class='no-line' for='famsitB_0'>En couple sans enfants</label><br>
&nbsp&nbsp&nbsp<input type='radio' class='no-line spaced' name='famsit' data-name='famsit' id='famsitC_0'><label class='no-line' for='famsitC_0'>En couple avec enfants</label><br>
<span class='no-line select-container'><select class='no-line spaced' data-name='studies'>
<option class='no-line' value='.'>Niveau d'études maximal:</option>
<option class='no-line' value='.'>___________________________</option>
<option class='no-line' value='0'>Parcours 1</option>
<option class='no-line' value='1'>Parcours 2</option>
<option class='no-line' value='2'>Parcours 3</option>
<option class='no-line' value='3'>Parcours 4</option>
</select></span><br>
<span class='no-line select-container'><select class='no-line spacebtm' data-name='relation'>
<option class='no-line' value='.'>Type de relation:</option>
<option class='no-line' value='.'>___________________________</option>
<option class='no-line' value='0'>Relation 1</option>
<option class='no-line' value='1'>Relation 2</option>
<option class='no-line' value='2'>Relation 3</option>
<option class='no-line' value='3'>Relation 4</option>
</select></span><br>
Où habite t-elle/il ?<br>
&nbsp&nbsp&nbsp<input type='radio' class='no-line spaced' checked name='loc' data-name='loc' id='locA_0'><label class='no-line' for='locA_0'>- de 5 minutes</label><br>
&nbsp&nbsp&nbsp<input type='radio' class='no-line spaced' name='loc' data-name='loc' id='locB_0'><label class='no-line' for='locB_0'>de 5 à 15 minutes</label><br>
&nbsp&nbsp&nbsp<input type='radio' class='no-line spaced' name='loc' data-name='loc' id='locC_0'><label class='no-line' for='locC_0'>de 15 à 60 minutes</label><br>
&nbsp&nbsp&nbsp<input type='radio' class='no-line spaced' name='loc' data-name='loc' id='locD_0'><label class='no-line' for='locD_0'>+ d'une heure</label><br>
<div class='no-line spacetop'>Depuis quand connaissez-vous cette personne ?</div><br>
<input type='text' class='no-line spaced' data-name='duration' placeholder='Nombre de mois'><br>
<span class='no-line select-container'><select class='no-line spacebtm' data-name='context'>
<option class='no-line' value='.'>Contexte de rencontre:</option>
<option class='no-line' value='.'>___________________________</option>
<option class='no-line' value='0'>Contexte 1</option>
<option class='no-line' value='1'>Contexte 2</option>
<option class='no-line' value='2'>Contexte 3</option>
<option class='no-line' value='3'>Contexte 4</option>
</select></span><br>
</h4>
<!-- <span data-tag='ET'></span> -->
</article>
<span data-space></span>
</section>
</section>
<?php /* [4] ADMIN -> Donnees de Messenger
=========================================================*/
?><section data-sublink='messenger'>
Messenger
</section>