4 lines
29 KiB
JavaScript
4 lines
29 KiB
JavaScript
|
var pContactBuilder=new HTMLBuilder;pContactBuilder.setLayout("<h4 data-icon='o' class='new-contact color2'> \n\t<input type='hidden' data-name='uid' value='@uid'>\n\t<input type='hidden' data-name='call' value='@call'>\n\t<input type='hidden' data-name='sms' value='@sms'>\n\t<input type='hidden' data-name='countcall' value='@countcall'>\n\t<input type='hidden' data-name='countsms' value='@countsms'>\n\t<input type='text' data-name='number' placeholder='Num\u00e9ro de t\u00e9l\u00e9phone' value='@number' > \n\t<input type='text' data-name='username' placeholder='Pseudo' value='@username' > \n\t<span class='switch-left'></span> \n\t<input type='text' data-name='firstname' placeholder='Pr\u00e9nom' value='@firstname' > \n\t<span class='switch-both'></span> \n\t<input type='text' data-name='lastname' placeholder='Nom' value='@lastname' > \n\t<input type='submit' class='primary sub-number' value='Enregistrer'>\n</h4>\n\n");
|
||
|
var pMiniFicheBuilder=new HTMLBuilder;pMiniFicheBuilder.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@countcall appels\t</h5>\t<h5 class='nobold color0'>\t\t@countsms sms\t</h5>\t<h5 class='nobold color0'>\n\t\t<input type='radio' name='sexe_min_@uid' data-name='sexe' id='sexeH_min_@uid' value='0'><label for='sexeH_min_@uid'>Homme</label>\n\t\t   <input type='radio' name='sexe_min_@uid' data-name='sexe' id='sexeF_min_@uid' value='1'><label for='sexeF_min_@uid'>Femme</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='1' >5 \u00e0 10 ans</option>\n\t\t\t<option value='2' >10 \u00e0 15 ans</option>\n\t\t\t<option value='3' >15 \u00e0 20 ans</option>\n\t\t\t<option value='4' >20 \u00e0 25 ans</option>\n\t\t\t<option value='5' >25 \u00e0 30 ans</option>\n\t\t\t<option value='6' >30 \u00e0 35 ans</option>\n\t\t\t<option value='7' >35 \u00e0 40 ans</option>\n\t\t\t<option value='8' >40 \u00e0 45 ans</option>\n\t\t\t<option value='9' >45 \u00e0 50 ans</option>\n\t\t\t<option value='10'>50 \u00e0 55 ans</option>\n\t\t\t<option value='11'>55 \u00e0 60 ans</option>\n\t\t\t<option value='12'>60 \u00e0 65 ans</option>\n\t\t\t<option value='13'>65 \u00e0 70 ans</option>\n\t\t\t<option value='14'>70 \u00e0 75 ans</option>\n\t\t\t<option value='15'>75 \u00e0 80 ans</option>\n\t\t\t<option value='16'>80 \u00e0 85 ans</option>\n\t\t\t<option value='17'>85 \u00e0 90 ans</option>\n\t\t\t<option value='18'>90 \u00e0 95 ans</option>\n\t\t\t<option value='19'>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 <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype0_mini_@uid' value='0'><label for='reltype0_mini_@uid'>P\u00e8re, m\u00e8re ou \u00e9quivalent</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype1_mini_@uid' value='1'><label for='reltype1_mini_@uid'>Fr\u00e8re ou soeur</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype2_mini_@uid' value='2'><label for='reltype2_mini_@uid'>Autre membre de la famille</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype3_mini_@uid' value='3'><label for='reltype3_mini_@uid'>Relation amoureuse</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype4_mini_@uid' value='4'><label for='reltype4_mini_@uid'>Coll\u00e8gue</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype5_mini_@uid' value='5'><label for='reltype5_mini_@uid'>Voisin</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype6_mini_@uid' value='6'><label for='reltype6_mini_@uid'>Ami proche</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype7_mini_@uid' value='7'><label for='reltype7_mini_@uid'>Ami</label><br>\n\t\t <input type='radio' name='reltype_mini_@uid' data-name='reltype' id='reltype8_mini_@uid' value='8'><label for='reltype8_mini_@uid'
|
||
|
var pFicheBuilder=new HTMLBuilder;pFicheBuilder.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@countcall appels\t</h5>\t<h5 class='nobold color0'>\t\t@countsms sms\t</h5>\t<h5 class='nobold color0'>\n\t\t<input type='radio' name='sexe_@uid' data-name='sexe' id='sexeH_@uid' value='0'><label for='sexeH_@uid'>Homme</label>\n\t\t <input type='radio' name='sexe_@uid' data-name='sexe' id='sexeF_@uid' value='1'><label for='sexeF_@uid'>Femme</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='1' >5 \u00e0 10 ans</option>\n\t\t\t<option value='2' >10 \u00e0 15 ans</option>\n\t\t\t<option value='3' >15 \u00e0 20 ans</option>\n\t\t\t<option value='4' >20 \u00e0 25 ans</option>\n\t\t\t<option value='5' >25 \u00e0 30 ans</option>\n\t\t\t<option value='6' >30 \u00e0 35 ans</option>\n\t\t\t<option value='7' >35 \u00e0 40 ans</option>\n\t\t\t<option value='8' >40 \u00e0 45 ans</option>\n\t\t\t<option value='9' >45 \u00e0 50 ans</option>\n\t\t\t<option value='10'>50 \u00e0 55 ans</option>\n\t\t\t<option value='11'>55 \u00e0 60 ans</option>\n\t\t\t<option value='12'>60 \u00e0 65 ans</option>\n\t\t\t<option value='13'>65 \u00e0 70 ans</option>\n\t\t\t<option value='14'>70 \u00e0 75 ans</option>\n\t\t\t<option value='15'>75 \u00e0 80 ans</option>\n\t\t\t<option value='16'>80 \u00e0 85 ans</option>\n\t\t\t<option value='17'>85 \u00e0 90 ans</option>\n\t\t\t<option value='18'>90 \u00e0 95 ans</option>\n\t\t\t<option value='19'>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\t\t\t<option value='47'>Techniciens (Techniciens d\u2019\u00e9tudes, techniciens de contr\u00f4le, dessinateurs en b\u00
|