diff --git a/public/main/template/default/layout/login_form.html.twig b/public/main/template/default/layout/login_form.html.twig deleted file mode 100644 index 448ddb5ce7..0000000000 --- a/public/main/template/default/layout/login_form.html.twig +++ /dev/null @@ -1,37 +0,0 @@ -{% autoescape false %} -{% if _u.logged == 0 %} - {% if login_form %} -
-
- {{ login_language_form }} - {% if plugin_login_top is not null %} -
- {{ plugin_login_top }} -
- {% endif %} - - {{ login_failed }} - {{ login_form }} - - {% if "allow_lostpassword" | api_get_setting == 'true' or "allow_registration" | api_get_setting == 'true' %} - - {% endif %} - - {% if plugin_login_bottom is not null %} -
- {{ plugin_login_bottom }} -
- {% endif %} -
-
- {% endif %} -{% endif %} -{% endautoescape %} \ No newline at end of file diff --git a/src/CoreBundle/Resources/views/Layout/login-layout.html.twig b/src/CoreBundle/Resources/views/Layout/login-layout.html.twig deleted file mode 100644 index 3d20e6a112..0000000000 --- a/src/CoreBundle/Resources/views/Layout/login-layout.html.twig +++ /dev/null @@ -1,41 +0,0 @@ -{% import '@ChamiloCore/Macros/box.html.twig' as macro %} - - - - - - - - - - - - - - {% block title %} - {{ chamilo_settings_get('platform.institution') }} - {{ chamilo_settings_get('platform.site_name') }} - {% endblock %} - {% set theme = 'chamilo' %} - - {% block stylesheets %} - {# for stylesheet in sonata_admin.adminPool.getOption('stylesheets', []) - - endfor #} - {% endblock %} - {# Files app.css is generated from "assets/css/app.scss" file using the file webpack.config.js #} - - - -
- - {# To see login layout check #} - {# src/Chamilo/UserBundle/Resources/views/Security/base_login.html.twig #} - {# src/Chamilo/UserBundle/Resources/views/Security/login.html.twig #} - {% block page_content %} - - {% endblock %} -
- - diff --git a/src/CoreBundle/Resources/views/Sidebar/login.html.twig b/src/CoreBundle/Resources/views/Sidebar/login.html.twig deleted file mode 100644 index 397cbd3e57..0000000000 --- a/src/CoreBundle/Resources/views/Sidebar/login.html.twig +++ /dev/null @@ -1,4 +0,0 @@ -{#{% include '@ChamiloCore/Admin/switcher_links.html.twig' %}#} - -{#{{ render(controller('ChamiloCoreBundle:Security:loginSideBar')) }}#} -{#{{ mopa_bootstrap_menu('ChamiloCoreBundle:LeftMenuBuilder:loginMenu', {'automenu': 'pills', 'stacked':true}) }}#} diff --git a/src/CoreBundle/Resources/views/layout.html.twig b/src/CoreBundle/Resources/views/layout.html.twig deleted file mode 100644 index 410598b082..0000000000 --- a/src/CoreBundle/Resources/views/layout.html.twig +++ /dev/null @@ -1,6 +0,0 @@ -{% extends '@ChamiloCore/Layout/login-layout.html.twig' %} - -{% block page_content %} - {% block fos_user_content %} - {% endblock %} -{% endblock %} diff --git a/src/CoreBundle/Resources/views/login.html.twig b/src/CoreBundle/Resources/views/login.html.twig deleted file mode 100644 index 16594ef12f..0000000000 --- a/src/CoreBundle/Resources/views/login.html.twig +++ /dev/null @@ -1,53 +0,0 @@ -{% extends "@ChamiloCore/layout.html.twig" %} - -{% block fos_user_content %} - {% block sonata_user_login %} - {% block sonata_user_login_error %} - {% if error %} -
- {{ error.messageKey|trans(error.messageData, 'security') }} -
- {% endif %} - {% endblock %} - -
- {% block sonata_user_login_form %} -
-
- - -
- -
- - -
- - -
-
- -
-
- - - -
- -
-
- {% endblock %} -
- {% endblock %} - -{% endblock fos_user_content %} diff --git a/src/CoreBundle/Resources/views/login_sidebar.html.twig b/src/CoreBundle/Resources/views/login_sidebar.html.twig deleted file mode 100644 index bc15b659e2..0000000000 --- a/src/CoreBundle/Resources/views/login_sidebar.html.twig +++ /dev/null @@ -1,46 +0,0 @@ -
- {{ form_widget(form) }} - - - {#
#} - {##} - - {##} - {#
#} - - {#
#} - {##} - - {##} - {#
#} - -
-
- -
-
- -
- {##} - - {{ 'forgotten_password'|trans({}, 'SonataUserBundle') }} - -
-
-
- -
-
-
diff --git a/var/templates/themes/default/FOSUserBundle/Security/login.html.twig b/var/templates/themes/default/FOSUserBundle/Security/login.html.twig deleted file mode 100644 index 49738a0f22..0000000000 --- a/var/templates/themes/default/FOSUserBundle/Security/login.html.twig +++ /dev/null @@ -1,69 +0,0 @@ -{% extends "@ChamiloCore/layout.html.twig" %} - -{% block fos_user_content %} - {% block sonata_user_login %} - {% block sonata_user_login_error %} - {% if error %} -
- {{ error.messageKey|trans(error.messageData, 'FOSUserBundle') }} -
- {% endif %} - {% endblock %} -
- {% block sonata_user_login_form %} -
- - -
- - - -
- -
- - - -
- -
-
- -
-
- - - - - -
-
- -
-
-
- {% endblock %} -
- {% endblock %} - -{% endblock fos_user_content %}