forked from sathishkumar-c-2002/Zoho-Creator-Logics
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTML_Snippets_PDF.html
More file actions
142 lines (128 loc) · 2.85 KB
/
HTML_Snippets_PDF.html
File metadata and controls
142 lines (128 loc) · 2.85 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<%{
max = thisapp.PDF_Details(input.pid);
%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Customer Details</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="header">
<h2>Gokul Company</h2>
<p>1234 Gokul, City, State, 636305</p>
<p>Email: stargokul.com | Phone: 8220786809</p>
</div>
<div class="print-section">
<h4>PRINT PAGE OPENING IN BUTTON TESTING</h4>
</div>
<div class="customer-details">
<h3>CUSTOMER DETAILS</h3>
<table>
<tr>
<td>Name</td>
<td><%=max.get("A1A")%></td>
<td>Phone</td>
<td><%=max.get("A2A")%></td>
</tr>
<tr>
<td>Email</td>
<td><%=max.get("A3A")%></td>
<td>Address</td>
<td><%=max.get("A4A")%></td>
</tr>
<tr>
<td>Date Of Joining</td>
<td><%=max.get("A5A")%></td>
<td>Worked At</td>
<td><%=max.get("A6A")%></td>
</tr>
<tr>
<td>Salary</td>
<td><%=max.get("A7A")%></td>
<td>Working Experience</td>
<td><%=max.get("A8A")%></td>
</tr>
</table>
</div>
<div class="note">
<p>Note: This is a testing pages using print</p>
</div>
</div>
</body>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
background-color: #f5f5f5;
padding: 20px;
}
.container {
width: auto;
max-width: auto;
background: #fff;
border: 1px solid #ddd;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.header {
text-align: center;
margin-bottom: 10px;
}
.header h2 {
font-size: 24px;
font-weight: bold;
}
.header p {
font-size: 14px;
color: #555;
}
.print-section {
text-align: center;
margin: 10px 0;
font-size: 16px;
font-weight: bold;
color: #333;
}
.customer-details {
text-align: center;
margin: 20px 0;
}
.customer-details h3 {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
table, th, td {
border: 1px solid #ddd;
}
td {
padding: 10px;
text-align: left;
font-size: 14px;
}
.note {
text-align: center;
margin-top: 20px;
font-size: 12px;
color: #777;
}
</style>
</html>
<%
}%>