NxTIC/public_html/js/includes/min/input-html-facebook-data.js

4 lines
29 KiB
JavaScript
Raw Permalink Normal View History

var fContactBuilder=new HTMLBuilder;fContactBuilder.setLayout("<h4 data-icon='o' class='new-contact color2'> \n\t<input type='hidden' data-name='uid' value='@uid'>\n\t<span class='select-container nobold'><select data-name='existing'>\n\t\t<option value='.'>Contact existant</option>\n@contacts\t</select></span>\n\t&nbsp;&nbsp;&nbsp;&nbsp;ou&nbsp;&nbsp;&nbsp;&nbsp;\n\t<input type='text' data-name='username' placeholder='Pseudo' value='@username' > \n\t<input type='submit' class='primary sub-number' value='Enregistrer'>\n</h4>\n\n");
var fMiniFicheBuilder=new HTMLBuilder;fMiniFicheBuilder.setLayout("<article class='mini-fiche-relation'>\n\t<input type='hidden' data-name='uid' value='@uid'>\n\t<span data-space></span>\n\t<h4 data-icon='a' class='color2'>@name</h4>\n\t<h5 class='nobold color0'>\t\t<input type='checkbox' data-name='unknown' id='unknown_min_f_@uid' value='1'><label for='unknown_min_f_@uid'>Contact inconnu</label>\t</h5>\t<h5 class='nobold color0'>\n\t\t<input type='radio' name='sexe_mini_f_@uid' data-name='sexe' id='sexeH_mini_f_@uid' value='0'><label for='sexeH_mini_f_@uid'>Homme</label>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='sexe_mini_f_@uid' data-name='sexe' id='sexeF_mini_f_@uid' value='1'><label for='sexeF_mini_f_@uid'>Femme</label>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='sexe_mini_f_@uid' data-name='sexe' id='sexeI_mini_f_@uid' value='2'><label for='sexeI_mini_f_@uid'>Ind\u00e9termin\u00e9</label>\n\t</h5>\n\t<h5 class='nobold color0'>\n\t\t<span class='select-container'><select data-name='age'>\n\t\t\t<option value='.' disabled selected>Age:</option>\n\t\t\t<option value='0' >5 \u00e0 10 ans</option>\n\t\t\t<option value='1' >10 \u00e0 15 ans</option>\n\t\t\t<option value='2' >15 \u00e0 20 ans</option>\n\t\t\t<option value='3' >20 \u00e0 25 ans</option>\n\t\t\t<option value='4' >25 \u00e0 30 ans</option>\n\t\t\t<option value='5' >30 \u00e0 35 ans</option>\n\t\t\t<option value='6' >35 \u00e0 40 ans</option>\n\t\t\t<option value='7' >40 \u00e0 45 ans</option>\n\t\t\t<option value='8' >45 \u00e0 50 ans</option>\n\t\t\t<option value='9' >50 \u00e0 55 ans</option>\n\t\t\t<option value='10'>55 \u00e0 60 ans</option>\n\t\t\t<option value='11'>60 \u00e0 65 ans</option>\n\t\t\t<option value='12'>65 \u00e0 70 ans</option>\n\t\t\t<option value='13'>70 \u00e0 75 ans</option>\n\t\t\t<option value='14'>75 \u00e0 80 ans</option>\n\t\t\t<option value='15'>80 \u00e0 85 ans</option>\n\t\t\t<option value='16'>85 \u00e0 90 ans</option>\n\t\t\t<option value='17'>90 \u00e0 95 ans</option>\n\t\t\t<option value='18'>95 \u00e0 100 ans</option>\n\t\t</select></span>\n\t</h5>\n\t<h5 class='nobold color0'>\n\t\t<span class='select-container'><select data-name='studies'>\n\t\t\t<option value='.' disabled selected>Niveau d'\u00e9tudes maximal:</option>\n\t\t\t<option value='0'>Inconnu</option>\n\t\t\t<option value='1'>< BAC</option>\n\t\t\t<option value='2'>BAC</option>\n\t\t\t<option value='3'>BAC+2</option>\n\t\t\t<option value='4'>BAC+3</option>\n\t\t\t<option value='5'>BAC+5 et plus</option>\n\t\t\t<option value='6'>Dipl\u00f4me d'ing\u00e9nieur, d'une grande \u00e9cole, etc.</option>\n\t\t</select></span>\n\t</h5>\n\t<h4 data-icon='a'>Type de relation</h4>\n\t<h5 class='nobold color0'>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='reltype_mini_f_@uid' data-name='reltype' id='reltype0_mini_f_@uid' value='0'><label for='reltype0_mini_f_@uid'>P\u00e8re, m\u00e8re ou \u00e9quivalent</label><br>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='reltype_mini_f_@uid' data-name='reltype' id='reltype1_mini_f_@uid' value='1'><label for='reltype1_mini_f_@uid'>Fr\u00e8re ou soeur</label><br>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='reltype_mini_f_@uid' data-name='reltype' id='reltype2_mini_f_@uid' value='2'><label for='reltype2_mini_f_@uid'>Autre membre de la famille</label><br>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='reltype_mini_f_@uid' data-name='reltype' id='reltype3_mini_f_@uid' value='3'><label for='reltype3_mini_f_@uid'>Relation amoureuse</label><br>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='reltype_mini_f_@uid' data-name='reltype' id='reltype4_mini_f_@uid' value='4'><label for='reltype4_mini_f_@uid'>Coll\u00e8gue</label><br>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='reltype_mini_f_@uid' data-name='reltype' id='reltype5_mini_f_@uid' value='5'><label for='reltype5_mini_f_@uid'>Voisin</label><br>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='reltype_mini_f_@uid' data-name='reltype' id='reltype6_mini_f_@uid' value='6'><label for='reltype6_mini_f_@uid'>Ami proche</label><br>\n\t\t&nbsp;&nbsp
var fFicheBuilder=new HTMLBuilder;fFicheBuilder.setLayout("<article class='fiche-relation'>\n\t<input type='hidden' data-name='contact' value='@contact'>\n\t<input type='hidden' data-name='uid' value='@uid'>\n\t<h4 data-icon='a' class='color2'>@name</h4>\n\t<h5 class='nobold color0'>\t\t@importedfiche\t</h5>\t<h5 class='nobold color0'>\n\t\t<input type='radio' name='sexe_f_@uid' data-name='sexe' id='sexeH_f_@uid' value='0'><label for='sexeH_f_@uid'>Homme</label>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='sexe_f_@uid' data-name='sexe' id='sexeF_f_@uid' value='1'><label for='sexeF_f_@uid'>Femme</label>\n\t\t&nbsp;&nbsp;&nbsp;<input type='radio' name='sexe_f_@uid' data-name='sexe' id='sexeI_f_@uid' value='2'><label for='sexeI_f_@uid'>Ind\u00e9termin\u00e9</label>\n\t</h5>\n\t<h5 class='nobold color0'>\n\t\t<span class='select-container'><select data-name='age'>\n\t\t\t<option value='.' disabled selected>Age:</option>\n\t\t\t<option value='0' >5 \u00e0 10 ans</option>\n\t\t\t<option value='1' >10 \u00e0 15 ans</option>\n\t\t\t<option value='2' >15 \u00e0 20 ans</option>\n\t\t\t<option value='3' >20 \u00e0 25 ans</option>\n\t\t\t<option value='4' >25 \u00e0 30 ans</option>\n\t\t\t<option value='5' >30 \u00e0 35 ans</option>\n\t\t\t<option value='6' >35 \u00e0 40 ans</option>\n\t\t\t<option value='7' >40 \u00e0 45 ans</option>\n\t\t\t<option value='8' >45 \u00e0 50 ans</option>\n\t\t\t<option value='9' >50 \u00e0 55 ans</option>\n\t\t\t<option value='10'>55 \u00e0 60 ans</option>\n\t\t\t<option value='11'>60 \u00e0 65 ans</option>\n\t\t\t<option value='12'>65 \u00e0 70 ans</option>\n\t\t\t<option value='13'>70 \u00e0 75 ans</option>\n\t\t\t<option value='14'>75 \u00e0 80 ans</option>\n\t\t\t<option value='15'>80 \u00e0 85 ans</option>\n\t\t\t<option value='16'>85 \u00e0 90 ans</option>\n\t\t\t<option value='17'>90 \u00e0 95 ans</option>\n\t\t\t<option value='18'>95 \u00e0 100 ans</option>\n\t\t</select></span>\n\t</h5>\n\t<h5 class='nobold color0'>\n\t\t<span class='select-container'><select data-name='job'>\n\t\t\t<option value='.' disabled selected>Derni\u00e8re profession exerc\u00e9e:</option>\n\t\t\t<option value='0'>Inconnue</option>\n\t\t\t<option value='.' disabled>Agriculateur exploitants</option>\n\t\t\t\t<option value='10'>Agriculteurs exploitants (Agriculteurs, mara\u00eechers, viticulteurs\u2026)</option>\n\t\t\t<option value='.' disabled>Artisans, commer\u00e7ants et chefs d'entreprises</option>\n\t\t\t\t<option value='21'>Artisans (Ma\u00e7ons, \u00e9lectriciens, couturiers, boulangers, garagistes, coiffeurs\u2026)</option>\n\t\t\t\t<option value='22'>Commer\u00e7ants et assimil\u00e9s (Commer\u00e7ants en d\u00e9tail ou en gros, buralistes, cafetiers, agents immobiliers\u2026)</option>\n\t\t\t\t<option value='23'>Chefs d'entreprise de 10 salari\u00e9s ou plus</option>\n\t\t\t<option value='.' disabled>Cadres et professions intellectuelles sup\u00e9rieures</option>\n\t\t\t\t<option value='31'>Professions lib\u00e9rales et assimil\u00e9s (M\u00e9decins, avocats, notaires, architectes lib\u00e9raux\u2026)</option>\n\t\t\t\t<option value='32'>Cadres de la fonction publique, professions intellectuelles et artistiques (Personnels administratifs</option>\n\t\t\t\t\t<option class='pad' value='32'>de cat\u00e9gorie A, professeurs de l\u2019enseignement secondaire ou sup\u00e9rieur, m\u00e9decins hospitaliers, artistes\u2026)</option>\n\t\t\t\t<option value='36'>Cadres d'entreprise (Cadres administratifs, cadres commerciaux, ing\u00e9nieurs\u2026)</option>\n\t\t\t<option value='.' disabled>Professions Interm\u00e9diaires</option>\n\t\t\t\t<option value='41'>Professions interm\u00e9diaires de l'enseignement, de la sant\u00e9, de la fonction publique et assimil\u00e9s </option>\n\t\t\t\t\t<option class='pad' value='41'>(Personnels administratifs de cat\u00e9gorie B, instituteurs, infirmiers, travailleurs sociaux\u2026)</option>\n\t\t\t\t<option value='46'>Professions interm\u00e9diaires administratives et commerciales des entreprises (Comptables, charg\u00e9s de client\u00e8les\u2026)</option>\n\t\