Add sidebar in base.tmpl, Add qrcode in sidebar.
Add jquery.qrcode.min.js in my_theme/assets/js.