-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·110 lines (86 loc) · 5.03 KB
/
Copy pathindex.html
File metadata and controls
executable file
·110 lines (86 loc) · 5.03 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
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<link rel="stylesheet" href="tweaqr.css" />
<script src="https://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="https://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<script src="tweaqr.js"></script>
<!-- for the qr reader: -->
<script type="text/javascript" src="grid.js"></script>
<script type="text/javascript" src="version.js"></script>
<script type="text/javascript" src="detector.js"></script>
<script type="text/javascript" src="formatinf.js"></script>
<script type="text/javascript" src="errorlevel.js"></script>
<script type="text/javascript" src="bitmat.js"></script>
<script type="text/javascript" src="datablock.js"></script>
<script type="text/javascript" src="bmparser.js"></script>
<script type="text/javascript" src="datamask.js"></script>
<script type="text/javascript" src="rsdecoder.js"></script>
<script type="text/javascript" src="gf256poly.js"></script>
<script type="text/javascript" src="gf256.js"></script>
<script type="text/javascript" src="decoder.js"></script>
<script type="text/javascript" src="qrcode.js"></script>
<script type="text/javascript" src="findpat.js"></script>
<script type="text/javascript" src="alignpat.js"></script>
<script type="text/javascript" src="databr.js"></script>
</head>
<body onload="init()">
<div data-role="header">
<h1>TweaQR</h1>
</div>
<a href="https://github.com/mattburns/TweaQR"><img style="position: absolute; top: 0; right: 0; border: 0;" src="images/forkme.png" alt="Fork me on GitHub"></a>
<div id="qrdiv">
<div data-role="content">
<form name="qrinp">
<div class="intro-text">
<p>
Tweak your QR code by clicking the pixels. If you're looking for inspiration, take a look at some
<a href="gallery.html" data-ajax="false">examples</a>.
</p>
</div>
<div data-role="fieldcontain" id="form-row">
<label for="qrinput">Text:</label>
<textarea cols="40" rows="8" name="qrinput" id="qrinput">Welcome to TweaQR, the QR Tweaker</textarea>
</div>
<canvas id="qr-canvas" >No Canvas Support?</canvas>
<div data-role="collapsible" data-collapsed="true" data-content-theme="c" >
<h3 title="Advanced control of the generated image">Extra options</h3>
<div data-role="fieldcontain">
<label for="fgcol">Foreground color:</label>
<input type="color" name="fgcol" id="fgcol" value="#27496B" />
</div>
<div data-role="fieldcontain">
<label for="bgcol">Background color:</label>
<input type="color" name="bgcol" id="bgcol" value="#ffffff" />
</div>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<legend>Show toggled colors:</legend>
<input type="checkbox" name="show-toggled" id="show-toggled" />
<label for="show-toggled">On</label>
</fieldset>
</div>
<div data-role="fieldcontain">
<label for="togoncol">Toggled on Color:</label>
<input type="color" name="togoncol" id="togoncol" value="#37597B" disabled="true" />
</div>
<div data-role="fieldcontain">
<label for="togoffcol">Toggled off Color:</label>
<input type="color" name="togoffcol" id="togoffcol" value="#dfdfdf" disabled="true"/>
</div>
</div>
</form>
<div data-role="popup" id="popupBasic" class="ui-content" data-overlay-theme="a">
<p id="error-text"><p>
</div>
<div class="text-align-right">
<a href="#" class="image-link" onclick="generateImage()" data-role="button" data-inline="true" data-theme="b">Save as png</a>
</div>
<p>©2013 <a href="https://mattburns.co.uk">Matt Burns</a>, creator of <a href="https://www.oddprints.com">OddPrints</a> and <a href="https://www.cameraforensics.com">CameraForensics</a>.</p>
<p>Based on <a href="http://code.google.com/p/jsqrencode/">Javascript QR Encoder</a> by tz@execpc.com, released under GPLv3 and <a href="https://github.com/LazarSoft/jsqrcode">jsqrcode</a> by <a href="https://github.com/LazarSoft">LazarSoft</a>, released under Apache v2.0</p>
</div>
</div>
</body></html>