]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/otp_app.html.twig
Removed old, not so maintained and buggy baggy theme
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / baggy / Config / otp_app.html.twig
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/otp_app.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/otp_app.html.twig
deleted file mode 100644 (file)
index 1d3685a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-{% extends "WallabagCoreBundle::layout.html.twig" %}
-
-{% block title %}{{ 'config.page_title'|trans }} > {{ 'config.otp.page_title'|trans }}{% endblock %}
-
-{% block content %}
-    <h5>{{ 'config.otp.page_title'|trans }}</h5>
-
-    <ol>
-        <li>
-            <p>{{ 'config.otp.app.two_factor_code_description_1'|trans }}</p>
-            <p>{{ 'config.otp.app.two_factor_code_description_2'|trans }}</p>
-
-            <p>
-                <img id="2faQrcode" class="hide-on-med-and-down" />
-                <script>
-                    document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ qr_code }}');
-                </script>
-            </p>
-        </li>
-        <li>
-            <p>{{ 'config.otp.app.two_factor_code_description_3'|trans }}</p>
-
-            <p><strong>{{ backupCodes|join("\n")|nl2br }}</strong></p>
-        </li>
-        <li>
-            <p>{{ 'config.otp.app.two_factor_code_description_4'|trans }}</p>
-
-            {% for flashMessage in app.session.flashbag.get("two_factor") %}
-            <div class="card-panel red darken-1 black-text">
-                {{ flashMessage|trans }}
-            </div>
-            {% endfor %}
-
-            <form class="form" action="{{ path("config_otp_app_check") }}" method="post">
-                <div class="card-content">
-                    <div class="row">
-                        <div class="input-field col s12">
-                            <label for="_auth_code">{{ "auth_code"|trans({}, 'SchebTwoFactorBundle') }}</label>
-                            <input id="_auth_code" type="text" autocomplete="off" name="_auth_code" />
-                        </div>
-                    </div>
-                </div>
-                <div class="card-action">
-                    <a href="{{ path('config_otp_app_cancel') }}" class="waves-effect waves-light grey btn">
-                        {{ 'config.otp.app.cancel'|trans }}
-                    </a>
-                    <button class="btn waves-effect waves-light" type="submit" name="send">
-                        {{ 'config.otp.app.enable'|trans }}
-                        <i class="material-icons right">send</i>
-                    </button>
-                </div>
-            </form>
-        </li>
-    </ol>
-{% endblock %}