aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-11-03 14:55:24 +0100
committerGitHub <noreply@github.com>2016-11-03 14:55:24 +0100
commit816c0940d142f8ec69bdd3f302c9751033cce7e2 (patch)
tree27390401e4c6cbd56295ba913c2597f3618ad962 /src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
parent5feef9f7a4e6852415feb388190b7ca141f116d1 (diff)
parent32508ef07aeb43966694ae360eeaeff8325e2a4d (diff)
downloadwallabag-816c0940d142f8ec69bdd3f302c9751033cce7e2.tar.gz
wallabag-816c0940d142f8ec69bdd3f302c9751033cce7e2.tar.zst
wallabag-816c0940d142f8ec69bdd3f302c9751033cce7e2.zip
Merge pull request #2523 from wallabag/qrcode-android-app
Added QRCode and link to configure android application
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
index 455d0295..ec3b23c8 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
@@ -54,6 +54,16 @@
54 <a href="https://getpocket.com/developer/docs/authentication">https://getpocket.com/developer/docs/authentication</a> 54 <a href="https://getpocket.com/developer/docs/authentication">https://getpocket.com/developer/docs/authentication</a>
55 </p> 55 </p>
56 </div> 56 </div>
57
58 <div class="row">
59 <h3>{{ 'config.form_settings.android_configuration'|trans }}</h3>
60 <a href="wallabag://{{ app.user.username }}@{{ wallabag_url }}" >Touch here to prefill your Android application</a>
61 <img id="androidQrcode" />
62 <script>
63 const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}');
64 document.getElementById('androidQrcode').src = imgBase64;
65 </script>
66 </div>
57 </fieldset> 67 </fieldset>
58 68
59 {{ form_rest(form.config) }} 69 {{ form_rest(form.config) }}