Open PoldervaartS opened 8 years ago
<img src='https://chart.googleapis.com/chart?cht=qr&chl=[INSERT URL HERE]&chs=180x180&choe=UTF-8&chld=L|2' alt='qr code'><a href='http://www.qrcode-generator.de' border='0' style='cursor:default' rel='nofollow'></a>
We can use this to produce an image of the QR code. We should allow teachers to fill in information to then generate a QR code with a URL with all the variables needed. Like "thspass.com/QRCode?ID=1234567890123456&teacher=Nutt&date=4716". The QRCode page should take the data from the URL so that the student can have proof that they have a pass on their phone using the function parseURLParams() I added to tScript.js. However, we would need a way to make sure that the pass is legit and the student didn't just put in the same URL again and again.
We, as the web team have been designated to generate the QR codes, there are api's available online but it is too late into the class period for us to start now