mirror of
https://github.com/Luzifer/qrdisplay.git
synced 2024-12-22 04:11:19 +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 = ->
|
||||
text = $('textarea').val()
|
||||
$('#qrarea').empty()
|
||||
$('#qrarea').qrcode(text)
|
||||
$('#qrarea').qrcode
|
||||
text: text
|
||||
width: 512
|
||||
height: 512
|
||||
|
||||
|
|
|
@ -24,7 +24,11 @@
|
|||
var text;
|
||||
text = $('textarea').val();
|
||||
$('#qrarea').empty();
|
||||
return $('#qrarea').qrcode(text);
|
||||
return $('#qrarea').qrcode({
|
||||
text: text,
|
||||
width: 512,
|
||||
height: 512
|
||||
});
|
||||
};
|
||||
|
||||
}).call(this);
|
||||
|
|
|
@ -52,10 +52,10 @@ input {
|
|||
|
||||
#qrarea {
|
||||
border: 10px solid #fff;
|
||||
margin-left: 322px;
|
||||
height: 256px;
|
||||
margin-left: 194px;
|
||||
height: 512px;
|
||||
overflow: hidden;
|
||||
width: 256px;
|
||||
width: 512px;
|
||||
}
|
||||
|
||||
#download {
|
||||
|
|
Loading…
Reference in a new issue