monster07 commited on
Commit
e12dcfa
·
verified ·
1 Parent(s): cbd22d0

Create template.html

Browse files
Files changed (1) hide show
  1. template.html +92 -0
template.html ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <style>
5
+ body {
6
+ font-family: 'Arial', sans-serif;
7
+ padding: 40px;
8
+ background: #f2f2f2;
9
+ }
10
+ .container {
11
+ background: #fff;
12
+ padding: 30px;
13
+ border-radius: 10px;
14
+ width: 700px;
15
+ margin: auto;
16
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
17
+ }
18
+ .header {
19
+ display: flex;
20
+ align-items: center;
21
+ gap: 20px;
22
+ }
23
+ .profile-img {
24
+ width: 120px;
25
+ height: 120px;
26
+ border-radius: 50%;
27
+ object-fit: cover;
28
+ }
29
+ .name-title {
30
+ font-size: 24px;
31
+ }
32
+ .section {
33
+ margin-top: 30px;
34
+ }
35
+ .section-title {
36
+ font-size: 18px;
37
+ color: #444;
38
+ border-bottom: 1px solid #ddd;
39
+ padding-bottom: 5px;
40
+ }
41
+ ul {
42
+ padding-left: 20px;
43
+ }
44
+ </style>
45
+ </head>
46
+ <body>
47
+ <div class="container">
48
+ <div class="header">
49
+ {% if photo_base64 %}
50
+ <img src="data:image/png;base64,{{ photo_base64 }}" class="profile-img" />
51
+ {% endif %}
52
+ <div class="name-title">
53
+ <strong>{{ name }}</strong><br>
54
+ {{ job_title }}<br>
55
+ {{ email }} | {{ phone }}
56
+ </div>
57
+ </div>
58
+
59
+ <div class="section">
60
+ <div class="section-title">Summary</div>
61
+ <p>{{ summary }}</p>
62
+ </div>
63
+
64
+ <div class="section">
65
+ <div class="section-title">Skills</div>
66
+ <ul>
67
+ {% for skill in skills %}
68
+ <li>{{ skill }}</li>
69
+ {% endfor %}
70
+ </ul>
71
+ </div>
72
+
73
+ <div class="section">
74
+ <div class="section-title">Education</div>
75
+ <ul>
76
+ {% for edu in education %}
77
+ <li>{{ edu }}</li>
78
+ {% endfor %}
79
+ </ul>
80
+ </div>
81
+
82
+ <div class="section">
83
+ <div class="section-title">Experience</div>
84
+ <ul>
85
+ {% for exp in experience %}
86
+ <li>{{ exp }}</li>
87
+ {% endfor %}
88
+ </ul>
89
+ </div>
90
+ </div>
91
+ </body>
92
+ </html>