mirror of
https://github.com/Luzifer/qrdisplay.git
synced 2024-12-22 12:21:18 +00:00
Rendering bigger QR codes for more data transmission
This commit is contained in:
parent
fcafcb1b66
commit
e5b86103d7
3 changed files with 13 additions and 5 deletions
|
@ -15,4 +15,8 @@ $ ->
|
||||||
generateQRCode = ->
|
generateQRCode = ->
|
||||||
text = $('textarea').val()
|
text = $('textarea').val()
|
||||||
$('#qrarea').empty()
|
$('#qrarea').empty()
|
||||||
$('#qrarea').qrcode(text)
|
$('#qrarea').qrcode
|
||||||
|
text: text
|
||||||
|
width: 512
|
||||||
|
height: 512
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,11 @@
|
||||||
var text;
|
var text;
|
||||||
text = $('textarea').val();
|
text = $('textarea').val();
|
||||||
$('#qrarea').empty();
|
$('#qrarea').empty();
|
||||||
return $('#qrarea').qrcode(text);
|
return $('#qrarea').qrcode({
|
||||||
|
text: text,
|
||||||
|
width: 512,
|
||||||
|
height: 512
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
}).call(this);
|
}).call(this);
|
||||||
|
|
|
@ -52,10 +52,10 @@ input {
|
||||||
|
|
||||||
#qrarea {
|
#qrarea {
|
||||||
border: 10px solid #fff;
|
border: 10px solid #fff;
|
||||||
margin-left: 322px;
|
margin-left: 194px;
|
||||||
height: 256px;
|
height: 512px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 256px;
|
width: 512px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download {
|
#download {
|
||||||
|
|
Loading…
Reference in a new issue