From: Stephen Frost Date: Wed, 28 Aug 2019 17:21:53 +0000 (-0400) Subject: Add QR code to badge X-Git-Url: http://git.postgresql.org/gitweb/static/session/%7B%7Bsession.id%7D%7D-%7B%7Bsession.title%7Cslugify%7D%7D?a=commitdiff_plain;h=b0c407edf4de6dad7cd61d729bf898de0e5d79f1;p=pgopen2019.git Add QR code to badge --- diff --git a/templates/badge.json b/templates/badge.json index 51a4bd9..137d4b5 100644 --- a/templates/badge.json +++ b/templates/badge.json @@ -11,6 +11,8 @@ {"type": "box", "x": 4, "y": 90, "width": 95, "height": 10, "stroke": false, "fill": [{{reg.regtype.regclass.bgcolortuplestr}}]}, {"type": "paragraph", "text": "{{reg.regtype.regclass.regclass}}", "x": 4, "y": 90, "width": 95, "height": 10, "color": [{{reg.regtype.regclass.fgcolortuplestr|default("0,0,0", true)}}], "align": "center"}, + {"type": "qrimage", "x": 70, "y": 50, "width": 30, "height": 30, "qrcontent": "{{reg.fullpublictoken}}"}, + {"type": "image", "src": "images/pgconfeu_badge.png", "x": 4, "y": 103, "width": 22.7, "height": 30, "mask": "auto"},