forked from shrirambhat/CashlessConsumer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqrcode.html
230 lines (216 loc) · 11.6 KB
/
qrcode.html
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset="utf-8">
<title>UPI QR Code Generator | #CashlessConsumer</title>
<meta name="description" content="Get QR Code for your Virtual Payment Address (VPA) for instant UPI transfer.">
<meta name="author" content="Srikanth L">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/touch/apple-touch-icon-144x144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/touch/apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/touch/apple-touch-icon-72x72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="img/touch/apple-touch-icon-57x57-precomposed.png">
<link rel="shortcut icon" sizes="196x196" href="img/touch/touch-icon-196x196.png">
<link rel="shortcut icon" href="img/touch/apple-touch-icon.png">
<meta name="msapplication-TileImage" content="img/touch/apple-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#222222">
<!-- FONT –––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"/>
<link rel="stylesheet" href="https://opensource.keycdn.com/fontawesome/4.6.3/font-awesome.min.css" integrity="sha384-Wrgq82RsEean5tP3NK3zWAemiNEXofJsTwTyHmNb/iL3dP/sZJ4+7sOld1uqYJtE" crossorigin="anonymous">
<!-- CSS –––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/style.css"/>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/jquery.jssocials/1.3.1/jssocials.css" />
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/jquery.jssocials/1.3.1/jssocials-theme-flat.css" />
<!-- L10N ------------------------------------------------- -->
<link rel="localization" hreflang="en" href="i18n/upiqrcode-en.json" type="application/l10n+json"/>
<link rel="localization" hreflang="kn" href="i18n/upiqrcode-kn.json" type="application/l10n+json"/>
<link rel="localization" hreflang="ta" href="i18n/upiqrcode-ta.json" type="application/l10n+json"/>
<link rel="localization" hreflang="te" href="i18n/upiqrcode-te.json" type="application/l10n+json"/>
<!-- Favicon –––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="images/favicon.png">
</head>
<body>
<header>
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#cc-navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.html" class="navbar-brand">#CashlessConsumer</a>
</div>
<div class="collapse navbar-collapse" id="cc-navbar-collapse">
<ul class="nav navbar-nav navbar-left">
<li><a href="./index.html">Home</a></li>
<li><a href="./upi-setup.html">How to Install</a></li>
<li><a href="./applist.html">UPI Apps</a></li>
<li class="active"><a href="./qrcode.html">Get QR Code</a></li>
<li><a href="./about.html">About</a></li>
<li><a href="./askus.html">Ask Us</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><select id="lang" onchange="updateText()">
<option value="en">English</option>
<option value="ta">தமிழ்</option>
<option value="kn">ಕನ್ನಡ</option>
<option value="te">తెలుగు</option>
</select></a></li>
</ul>
</div>
</div>
</nav>
</header>
<article>
<div class="title-banner">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1 id="upiqrc-title" data-i18n="upiqrc-title">Create Your UPI QRCode</h1>
</div>
</div>
</div>
</div>
<div class="container content">
<div class="row">
<div class="col-md-12">
<div class="intro">
<h2 data-i18n="upiqrc-sub-title">Help your friends pay you with ease.</h2>
<p data-i18n="upiqrc-p-1">To create your <abbr title="Unified Payment Interface">UPI</abbr> QRCode (Quick Response Code), enter your Name and your VPA.</p>
<p data-i18n="upiqrc-p-2">When your friends want to pay you, just show your newly created QRCode and let them scan it with UPI app on their mobile phone. Your payment information will be auto loaded in their phone. All they have to do is, enter amount and you'll get your money in a click.</p>
<div class="alert alert-info">
<strong data-i18n="upiqrc-p-privacyheader">Your privacy is important</strong> <span data-i18n="upiqrc-p-privacydesc">This QRCode Generator creates your QRCode within your browser. We do not collect, transmit or store any information you enter below.</span>
</div>
</div>
<div class="inputs">
<div class="row">
<div class="col-md-6">
<form>
<div class="form-group">
<label for="pn" data-i18n="upiqrc-lbl-name">Enter your name</label>
<div class="input-group">
<input class="form-control" id="pn" placeholder="Your name" value="Srikanth"/>
</div>
</div>
<div class="form-group">
<label for="pa" data-i18n="upiqrc-lbl-vpa">Enter your VPA</label>
<div class="input-group">
<input class="form-control" id="pa" aria-label="Your VPA identifier" placeholder="Your VPA identifier" value="cashlessconsumer"/>
<span class="input-group-addon">@</span>
<input class="form-control" id="psp" list="psplist" aria-label="Your VPA handle" placeholder="Your VPA handle" value="cnrb"/>
</div>
</div>
<datalist id="psplist">
<option value="allbank">
</option><option value="andb">
</option><option value="axisbank">
</option><option value="barodampay">
</option><option value="centralbank">
</option><option value="cnrb">
</option><option value="csbpay">
</option><option value="dcb">
</option><option value="denabank">
</option><option value="federal">
</option><option value="hdfcbank">
</option><option value="hsbc">
</option><option value="icici">
</option><option value="idfcbank">
</option><option value="idbi">
</option><option value="indianbank">
</option><option value="indus">
</option><option value="kaypay">
</option><option value="kbl">
</option><option value="kvb">
</option><option value="mahab">
</option><option value="obc">
</option><option value="pnb">
</option><option value="pockets">
</option><option value="rbl">
</option><option value="sbi">
</option><option value="sib">
</option><option value="syndicate">
</option><option value="tjsb">
</option><option value="ubi">
</option><option value="uboi">
</option><option value="uco">
</option><option value="utbi">
</option><option value="united">
</option><option value="unionbank">
</option><option value="upi">
</option><option value="vijb">
</option><option value="ybl">
</option><option value="yesbank">
</option>
</datalist>
<div>
<a class="btn btn-primary" onclick="generatePhoneQRCode()"><i class="fa fa-qrcode"></i> <span data-i18n="upiqrc-btn-create">Create QRCode</span></a></div>
<p> </p>
</form>
</div>
<div class="col-md-3">
<div id="printableArea" class="printableArea">
<div id="payQRCode"></div>
<div id="printVPA"></div>
</div>
<img src="img/UPILogo.jpg" id="upilogo" hidden="true"/>
</div>
<div class="col-md-3">
<p><a class="btn btn-primary" style="display:none" id="DownloadQRCode" onclick="downloadQRCode()"><i class="fa fa-download"></i> <span data-i18n="upiqrc-btn-download">Download QRCode</span></a></p>
<p><a class="btn btn-primary" style="display:none" id="PrintQRCode" onclick="printQRCode()"><i class="fa fa-print"></i> <span data-i18n="upiqrc-btn-print">Print QRCode</span></a></p>
<p><a class="btn btn-primary" style="display:none" id="paylink" href=""><i class="fa fa-money"></i> <span data-i18n="upiqrc-btn-pay"></span></a></p>
<p><img src="img/UPILogo.jpg" id="upifulllogo" width="50%" height="30%" hidden="true"/></p>
</div>
</div>
<hr/>
</div>
</div>
</div>
<center><div id="sharesocial"/></center>
</div> <!-- end .container -->
</article>
<footer>
<div class="container">
<p class="copyright"><span data-i18n="upiqrc-footer">#CashlessConsumer Initiative. Licensed under </span><a href="https://creativecommons.org/licenses/by-sa/4.0/"><span data-i18n="upiqrc-license">CC-BY-SA 4.0</span></a> - <a href="http://github.com/CashlessConsumer/CashlessConsumer"><span data-i18n="upiqrc-codelink">Code</span></a></p>
</div>
</footer>
<!-- End Document –––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery.jssocials/1.3.1/jssocials.min.js"></script>
<script>
$("#sharesocial").jsSocials({
url: "https://CashlessConsumer.github.io/CashlessConsumer/qrcode.html",
text: "Create your #UPI QRCode now",
showCount: "inside",
showLabel: false,
shareIn: "popup",
shares: ["email", "twitter", "facebook", "whatsapp", "googleplus"]
});
</script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lrsjng.jquery-qrcode/0.14.0/jquery-qrcode.min.js"></script>
<script src="./src/jquery.i18n.js"></script>
<script src="./src/jquery.i18n.messagestore.js"></script>
<script src="./src/jquery.i18n.fallbacks.js"></script>
<script src="./src/jquery.i18n.parser.js"></script>
<script src="./src/jquery.i18n.emitter.js"></script>
<script src="./src/jquery.i18n.language.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2014-11-29/FileSaver.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.2/jspdf.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/js-url/2.3.1/url.min.js"></script>
<script src="js/helper.js"></script>
<script src="js/main.js"></script>
<script src="js/l10n.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-83520638-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>