-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate2.js
114 lines (80 loc) · 3.22 KB
/
template2.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
function personalInfo()
{
var ipname = document.getElementById('ipname').value;
var ipcontact = document.getElementById('ipcontact').value;
var ipemail = document.getElementById('ipemail').value;
var ipLinkedIn = document.getElementById('ipLinkedIn').value;
var ipaddress = document.getElementById('ipaddress').value;
var ipcareerObj = document.getElementById('ipcareerObj').value;
let ipimg = document.getElementById('ipimg').files[0];
document.getElementById('tempname').innerHTML= ipname;
document.getElementById('tempcontact').innerHTML= ipcontact;
document.getElementById('tempemail').innerHTML= ipemail;
document.getElementById('templinkedin').innerHTML= ipLinkedIn;
document.getElementById('tempadd').innerHTML= ipaddress;
document.getElementById('tempobj').innerHTML= ipcareerObj;
let reader=new FileReader();
reader.readAsDataURL(ipimg);
reader.onloadend= function(){
document.getElementById('tempimg').src=reader.result;
};
}
function TechSkills()
{
var techSkills = document.getElementById('techSkills').value;
var ts= document.getElementById('ts').innerHTML;
s= ts+`<li> ${techSkills} </li>`;
document.getElementById('ts').innerHTML= s;
}
function NonTechSkills()
{
var nonTechSkills = document.getElementById('nonTechSkills').value;
var nts= document.getElementById('nts').innerHTML;
s= nts+`<li> ${nonTechSkills} </li>`;
document.getElementById('nts').innerHTML= s;
}
function EducatinalDetails()
{
var ipClg_Schname = document.getElementById('ipClg_Schname').value;
var ipCity = document.getElementById('ipCity').value;
var ipUniv = document.getElementById('ipUniv').value;
var ipField = document.getElementById('ipField').value;
var ipFrom = document.getElementById('ipFrom').value;
var ipTo = document.getElementById('ipTo').value;
var ipAchieve = document.getElementById('ipAchieve').value;
ipClg_Schnameb=ipClg_Schname.bold();
ipFieldb=ipField.bold();
u=" in "
v=u.bold();
var e = document.getElementById('e').innerHTML;
z=ipFieldb+v+ipClg_Schnameb
s=`<li> ${z} </li>`+" "+ipUniv+"<br>"+" "+ipFrom+"-"+ipTo+" "+ipCity+"<br>"+" "+ipAchieve+"<br>";
g=e+s+"<br>";
document.getElementById('e').innerHTML= g;
}
function CertificationDetails()
{
var nameCF = document.getElementById('nameCF').value;
var instituteCF = document.getElementById('instituteCF').value;
var fromCFmon = document.getElementById('fromCFmon').value;
var fromCFyer = document.getElementById('fromCFyer').value;
var toCFmon = document.getElementById('toCFmon').value;
var toCFyer = document.getElementById('toCFyer').value;
nameCFb=nameCF.bold();
var c= document.getElementById('c').innerHTML;
s=`<li> ${nameCFb} </li>`+instituteCF+"<br>"+fromCFmon+fromCFyer+" - "+toCFmon+toCFyer+"<br>";
g=c+s+"<br>";
document.getElementById('c').innerHTML= g;
}
function GenerateResume()
{
document.getElementById('cv-form').style.display='none';
document.getElementById('GenerateResume').style.display='none';
document.getElementById('NavBar').style.display='none';
document.getElementById('PrintResume').style.display='block';
}
function PrintResume()
{
document.getElementById('PrintResume').style.display='none';
window.print();
}