]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig
Added translations and baggy part
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / Config / index.html.twig
index 455d02950e0f4f4717af39df66740d5e7afa478f..dde9411f53d0cbd47b7ee18361cb12f21ef10368 100644 (file)
                     <a href="https://getpocket.com/developer/docs/authentication">https://getpocket.com/developer/docs/authentication</a>
                 </p>
             </div>
+
+            <div class="row">
+                    <h3>{{ 'config.form_settings.android_configuration'|trans }}</h3>
+                    <a href="wallabag://{{ app.user.username }}@{{ wallabag_url }}" >Touch here to prefill your Android application</a>
+                    <img id="androidQrcode" />
+                    <script>
+                        const imgBase64 = jrQrcode.getQrBase64('wallabag://{{ app.user.username }}@{{ wallabag_url }}');
+                        document.getElementById('androidQrcode').src=imgBase64;
+                    </script>
+            </div>
         </fieldset>
 
         {{ form_rest(form.config) }}