login_custom.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <!-- 1. Configuración de Tailwind (Inyectar en el Head) - Solo para tema M22 -->
  5. <template id="m22_tailwind_config" inherit_id="web.layout" name="M22 Tailwind Config">
  6. <xpath expr="//head" position="inside">
  7. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  8. <!-- Google Fonts (Inter) -->
  9. <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap" rel="stylesheet"/>
  10. <!-- Tailwind CSS CDN -->
  11. <script src="https://cdn.tailwindcss.com"></script>
  12. <!-- Tailwind Config Script -->
  13. <script>
  14. tailwind.config = {
  15. darkMode: "class",
  16. theme: {
  17. extend: {
  18. colors: {
  19. primary: {
  20. DEFAULT: '#FF6B00',
  21. '400': '#FFA756'
  22. },
  23. secondary: '#E1467C',
  24. "background-dark": "#0A051D",
  25. },
  26. fontFamily: {
  27. sans: ["Inter", "sans-serif"],
  28. },
  29. borderRadius: {
  30. DEFAULT: "1rem",
  31. lg: "1.25rem",
  32. },
  33. },
  34. },
  35. };
  36. </script>
  37. <!-- Custom Styles -->
  38. <style>
  39. .focus-gradient-border:focus {
  40. outline: none;
  41. box-shadow: 0 0 0 2px #0A051D, 0 0 0 4px #FF6B00;
  42. }
  43. .focus-gradient-border-alt:focus {
  44. outline: none;
  45. border-color: transparent;
  46. background-image: linear-gradient(#0A051D, #0A051D), linear-gradient(to right, #FFA756, #E1467C);
  47. background-origin: border-box;
  48. background-clip: padding-box, border-box;
  49. }
  50. body.m22-login-page {
  51. background-color: #0A051D !important;
  52. background-image:
  53. radial-gradient(ellipse 80% 50% at 10% 10%, rgba(255, 107, 0, 0.15), transparent),
  54. radial-gradient(ellipse 80% 50% at 90% 90%, rgba(225, 70, 124, 0.15), transparent);
  55. min-height: 100vh;
  56. }
  57. </style>
  58. </t>
  59. </xpath>
  60. </template>
  61. <!-- 2. Personalizar el Layout del Login (Estructura General) - Solo para tema M22 -->
  62. <template id="m22_login_layout_override" inherit_id="website.login_layout" name="M22 Login Layout Override" priority="50">
  63. <!-- Configurar clase del body pasando la variable al layout - Solo para M22 -->
  64. <xpath expr="//div[hasclass('oe_website_login_container')]" position="before">
  65. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  66. <t t-set="body_classname" t-value="'m22-login-page font-sans text-gray-300 antialiased'"/>
  67. </t>
  68. </xpath>
  69. <!-- Reemplazar el contenedor de Website - Solo para M22 -->
  70. <xpath expr="//div[hasclass('oe_website_login_container')]" position="replace">
  71. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  72. <div class="min-h-screen w-full flex items-center justify-center p-6">
  73. <main class="w-full max-w-md">
  74. <!-- Aquí se inyectará el contenido del formulario (template 'web.login') -->
  75. <t t-out="0"/>
  76. </main>
  77. </div>
  78. </t>
  79. <t t-else="">
  80. <!-- Contenedor original para otros temas -->
  81. <div class="container oe_website_login_container">
  82. <t t-out="0"/>
  83. </div>
  84. </t>
  85. </xpath>
  86. </template>
  87. <!-- 3. Personalizar el Formulario de Login (Card y Inputs) - Solo para tema M22 -->
  88. <template id="m22_login_form_override" inherit_id="web.login" name="M22 Login Form Override" priority="100">
  89. <xpath expr="//t[@t-call='web.login_layout']" position="replace">
  90. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  91. <t t-call="web.login_layout">
  92. <!-- Glassmorphism Card -->
  93. <div class="bg-gray-900/40 backdrop-blur-lg p-8 md:p-12 rounded-xl shadow-2xl border border-white/10">
  94. <!-- Header &amp; Logo -->
  95. <div class="text-center mb-10">
  96. <!-- Logo del Sitio Web -->
  97. <div class="flex items-center justify-center mb-6">
  98. <img t-att-src="request.website.image_url(request.website, 'logo')"
  99. alt="Logo"
  100. style="max-height: 80px; max-width: 100%; width: auto;"
  101. class="object-contain"/>
  102. </div>
  103. <h1 class="text-3xl font-bold text-white">Iniciar Sesión</h1>
  104. <p class="text-gray-400 mt-2">Accede a tu cuenta de cliente</p>
  105. </div>
  106. <!-- Login Form -->
  107. <form class="space-y-6" role="form" t-attf-action="/web/login" method="post" onsubmit="this.action = '/web/login' + location.hash">
  108. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  109. <input type="hidden" name="redirect" t-att-value="redirect"/>
  110. <!-- Email Input -->
  111. <div>
  112. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  113. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  114. id="login" name="login" t-att-value="login"
  115. placeholder="tu@email.com" required="required" type="text" autofocus="autofocus" autocapitalize="off" tabindex="1"/>
  116. </div>
  117. <!-- Password Input -->
  118. <div>
  119. <div class="flex items-center justify-between mb-2">
  120. <label class="block text-sm font-medium text-gray-300" for="password">Contraseña</label>
  121. <a t-if="reset_password_enabled" class="text-sm font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/reset_password?{{ keep_query() }}" tabindex="4">¿Olvidaste tu contraseña?</a>
  122. </div>
  123. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  124. id="password" name="password"
  125. placeholder="••••••••" required="required" type="password" autocomplete="current-password" t-att-autofocus="'autofocus' if login else None" tabindex="2"/>
  126. </div>
  127. <!-- Error Messages -->
  128. <p class="text-sm text-red-500 mt-2 text-center" t-if="error" role="alert">
  129. <t t-esc="error"/>
  130. </p>
  131. <p class="text-sm text-green-500 mt-2 text-center" t-if="message" role="status">
  132. <t t-esc="message"/>
  133. </p>
  134. <!-- Submit Button -->
  135. <div>
  136. <button style="background: linear-gradient(90deg, #FF6B00, #E1467C) !important; border: 0 !important; outline: 0 !important; box-shadow: none !important;" class="w-full text-white font-bold py-3 px-4 rounded-md hover:opacity-90 transition-all transform hover:scale-105 focus:outline-none border-0" type="submit" tabindex="3">
  137. Iniciar Sesión
  138. </button>
  139. </div>
  140. </form>
  141. <!-- Footer (Signup) - Condicional como Odoo nativo -->
  142. <div class="text-center mt-8" t-if="signup_enabled">
  143. <p class="text-sm text-gray-400">
  144. ¿No tienes una cuenta? <a class="font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/signup?{{ keep_query() }}">Crear una cuenta</a>
  145. </p>
  146. </div>
  147. </div>
  148. </t>
  149. </t>
  150. <t t-else="">
  151. <!-- Formulario original para otros temas -->
  152. <t t-call="web.login_layout">
  153. <form class="oe_login_form" role="form" t-attf-action="/web/login" method="post" onsubmit="this.action = '/web/login' + location.hash">
  154. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  155. <div class="mb-3 field-login">
  156. <label for="login">Email</label>
  157. <input type="text" placeholder="Email" name="login" t-att-value="login" id="login" required="required" autofocus="autofocus" autocapitalize="off" class="form-control"/>
  158. </div>
  159. <div class="mb-3 field-password">
  160. <label for="password">Password</label>
  161. <input type="password" placeholder="Password" name="password" id="password" required="required" autocomplete="current-password" t-att-autofocus="'autofocus' if login else None" class="form-control"/>
  162. </div>
  163. <p class="alert alert-danger" t-if="error" role="alert">
  164. <t t-esc="error"/>
  165. </p>
  166. <p class="alert alert-success" t-if="message" role="status">
  167. <t t-esc="message"/>
  168. </p>
  169. <input type="hidden" name="redirect" t-att-value="redirect"/>
  170. <div class="clearfix oe_login_buttons text-center mb-1 pt-3 d-grid">
  171. <button type="submit" class="btn btn-primary">Log in</button>
  172. <div class="o_login_auth"/>
  173. </div>
  174. </form>
  175. </t>
  176. </t>
  177. </xpath>
  178. </template>
  179. <!-- 4. Personalizar el Formulario de Registro - Solo para tema M22 -->
  180. <template id="m22_signup_form_override" inherit_id="auth_signup.signup" name="M22 Signup Form Override" priority="100">
  181. <xpath expr="//t[@t-call='web.login_layout']" position="replace">
  182. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  183. <t t-call="web.login_layout">
  184. <!-- Glassmorphism Card -->
  185. <div class="bg-gray-900/40 backdrop-blur-lg p-8 md:p-12 rounded-xl shadow-2xl border border-white/10">
  186. <!-- Header &amp; Logo -->
  187. <div class="text-center mb-10">
  188. <div class="flex items-center justify-center mb-6">
  189. <img t-att-src="request.website.image_url(request.website, 'logo')"
  190. alt="Logo"
  191. style="max-height: 80px; max-width: 100%; width: auto;"
  192. class="object-contain"/>
  193. </div>
  194. <h1 class="text-3xl font-bold text-white">Crear Cuenta</h1>
  195. <p class="text-gray-400 mt-2">Regístrate para acceder</p>
  196. </div>
  197. <!-- Signup Form -->
  198. <form class="oe_signup_form space-y-5" role="form" method="post" t-if="not message">
  199. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  200. <input type="hidden" name="redirect" t-att-value="redirect"/>
  201. <input type="hidden" name="token" t-att-value="token"/>
  202. <!-- Name Input (solo si no hay token) -->
  203. <div t-if="not (token and not invalid_token)">
  204. <label class="block text-sm font-medium text-gray-300 mb-2" for="name">Tu Nombre</label>
  205. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  206. id="name" name="name" t-att-value="name"
  207. placeholder="Ej. Juan Pérez" required="required" type="text"
  208. t-att-readonly="'readonly' if (token and not invalid_token) else None"
  209. t-att-autofocus="'autofocus' if login and not (token and not invalid_token) else None"/>
  210. </div>
  211. <!-- Email Input (solo si no hay token) -->
  212. <div t-if="not (token and not invalid_token)">
  213. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  214. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  215. id="login" name="login" t-att-value="login"
  216. placeholder="tu@email.com" required="required" type="text"
  217. autofocus="autofocus" autocapitalize="off"
  218. t-att-readonly="'readonly' if (token and not invalid_token) else None"/>
  219. </div>
  220. <div t-else="">
  221. <input type="hidden" name="login" t-att-value="login"/>
  222. </div>
  223. <!-- Password Input -->
  224. <div>
  225. <label class="block text-sm font-medium text-gray-300 mb-2" for="password">Contraseña</label>
  226. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  227. id="password" name="password"
  228. placeholder="••••••••" required="required" type="password"
  229. t-att-autofocus="'autofocus' if (token and not invalid_token) else None"/>
  230. </div>
  231. <!-- Confirm Password Input -->
  232. <div>
  233. <label class="block text-sm font-medium text-gray-300 mb-2" for="confirm_password">Confirmar Contraseña</label>
  234. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  235. id="confirm_password" name="confirm_password"
  236. placeholder="••••••••" required="required" type="password"/>
  237. </div>
  238. <!-- Error Messages -->
  239. <p class="text-sm text-red-500 mt-2 text-center" t-if="error" role="alert">
  240. <t t-esc="error"/>
  241. </p>
  242. <!-- Submit Button -->
  243. <div class="pt-2">
  244. <button style="background: linear-gradient(90deg, #FF6B00, #E1467C) !important; border: 0 !important; outline: 0 !important; box-shadow: none !important;" class="w-full text-white font-bold py-3 px-4 rounded-md hover:opacity-90 transition-all transform hover:scale-105 focus:outline-none border-0" type="submit">
  245. Registrarse
  246. </button>
  247. </div>
  248. </form>
  249. <!-- Footer -->
  250. <div class="text-center mt-8">
  251. <p class="text-sm text-gray-400">
  252. ¿Ya tienes una cuenta? <a class="font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/login?{{ keep_query() }}">Iniciar Sesión</a>
  253. </p>
  254. </div>
  255. </div>
  256. </t>
  257. </t>
  258. <t t-else="">
  259. <!-- Formulario original para otros temas -->
  260. <t t-call="web.login_layout">
  261. <form class="oe_signup_form" role="form" method="post" t-if="not message">
  262. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  263. <t t-call="auth_signup.fields">
  264. <t t-set="only_passwords" t-value="bool(token and not invalid_token)"/>
  265. </t>
  266. <p class="alert alert-danger" t-if="error" role="alert">
  267. <t t-esc="error"/>
  268. </p>
  269. <input type="hidden" name="redirect" t-att-value="redirect"/>
  270. <input type="hidden" name="token" t-att-value="token"/>
  271. <div class="text-center oe_login_buttons d-grid pt-3">
  272. <button type="submit" class="btn btn-primary"> Sign up</button>
  273. <a t-attf-href="/web/login?{{ keep_query() }}" class="btn btn-link btn-sm" role="button">Already have an account?</a>
  274. <div class="o_login_auth"/>
  275. </div>
  276. </form>
  277. </t>
  278. </t>
  279. </xpath>
  280. </template>
  281. <!-- 5. Personalizar el Formulario de Reset Password - Solo para tema M22 -->
  282. <template id="m22_reset_password_override" inherit_id="auth_signup.reset_password" name="M22 Reset Password Override" priority="100">
  283. <xpath expr="//t[@t-call='web.login_layout']" position="replace">
  284. <t t-if="request.website and request.website.sudo().theme_id and request.website.sudo().theme_id.name == 'theme_m22tc'">
  285. <t t-call="web.login_layout">
  286. <!-- Glassmorphism Card -->
  287. <div class="bg-gray-900/40 backdrop-blur-lg p-8 md:p-12 rounded-xl shadow-2xl border border-white/10">
  288. <!-- Header &amp; Logo -->
  289. <div class="text-center mb-10">
  290. <div class="flex items-center justify-center mb-6">
  291. <img t-att-src="request.website.image_url(request.website, 'logo')"
  292. alt="Logo"
  293. style="max-height: 80px; max-width: 100%; width: auto;"
  294. class="object-contain"/>
  295. </div>
  296. <h1 class="text-3xl font-bold text-white">Restablecer Contraseña</h1>
  297. <p class="text-gray-400 mt-2" t-if="not token">Ingresa tu email para recibir instrucciones</p>
  298. <p class="text-gray-400 mt-2" t-if="token and not invalid_token">Ingresa tu nueva contraseña</p>
  299. </div>
  300. <!-- Success Message -->
  301. <div t-if="message" class="text-center">
  302. <p class="text-sm text-green-500 bg-green-500/10 border border-green-500/20 rounded-md p-4 mb-6" role="status">
  303. <t t-esc="message"/>
  304. </p>
  305. <a href="/web/login" class="font-medium text-orange-500 hover:text-orange-400 transition-colors">Volver al Login</a>
  306. </div>
  307. <!-- Reset Password Form -->
  308. <form class="oe_reset_password_form space-y-5" role="form" method="post" t-if="not message">
  309. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  310. <input type="hidden" name="redirect" t-att-value="redirect"/>
  311. <input type="hidden" name="token" t-att-value="token"/>
  312. <!-- Mode: Request Reset (no token) -->
  313. <t t-if="not token">
  314. <div>
  315. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  316. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  317. id="login" name="login" t-att-value="login"
  318. placeholder="tu@email.com" required="required" type="text"
  319. autofocus="autofocus" autocapitalize="off"/>
  320. </div>
  321. </t>
  322. <!-- Mode: Set New Password (with token) -->
  323. <t t-if="token and not invalid_token">
  324. <!-- Email (readonly) -->
  325. <div>
  326. <label class="block text-sm font-medium text-gray-300 mb-2" for="login">Correo Electrónico</label>
  327. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300 opacity-60"
  328. id="login" name="login" t-att-value="login"
  329. type="text" readonly="readonly" autocapitalize="off"/>
  330. </div>
  331. <!-- Name (readonly) -->
  332. <div>
  333. <label class="block text-sm font-medium text-gray-300 mb-2" for="name">Tu Nombre</label>
  334. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300 opacity-60"
  335. id="name" name="name" t-att-value="name"
  336. type="text" readonly="readonly"/>
  337. </div>
  338. <!-- New Password -->
  339. <div>
  340. <label class="block text-sm font-medium text-gray-300 mb-2" for="password">Nueva Contraseña</label>
  341. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  342. id="password" name="password"
  343. placeholder="••••••••" required="required" type="password" autofocus="autofocus"/>
  344. </div>
  345. <!-- Confirm Password -->
  346. <div>
  347. <label class="block text-sm font-medium text-gray-300 mb-2" for="confirm_password">Confirmar Contraseña</label>
  348. <input class="w-full bg-gray-800/50 border border-gray-700 text-white placeholder-gray-500 px-4 py-3 rounded-md focus:outline-none focus:border-orange-500 transition-all duration-300"
  349. id="confirm_password" name="confirm_password"
  350. placeholder="••••••••" required="required" type="password"/>
  351. </div>
  352. </t>
  353. <!-- Invalid Token Message -->
  354. <div t-if="invalid_token" class="text-center">
  355. <p class="text-sm text-red-500 bg-red-500/10 border border-red-500/20 rounded-md p-4">
  356. El enlace ha expirado o es inválido. Por favor solicita uno nuevo.
  357. </p>
  358. </div>
  359. <!-- Error Messages -->
  360. <p class="text-sm text-red-500 mt-2 text-center" t-if="error" role="alert">
  361. <t t-esc="error"/>
  362. </p>
  363. <!-- Submit Button -->
  364. <div class="pt-2" t-if="not invalid_token">
  365. <button style="background: linear-gradient(90deg, #FF6B00, #E1467C) !important; border: 0 !important; outline: 0 !important; box-shadow: none !important;" class="w-full text-white font-bold py-3 px-4 rounded-md hover:opacity-90 transition-all transform hover:scale-105 focus:outline-none border-0" type="submit">
  366. <t t-if="not token">Enviar Instrucciones</t>
  367. <t t-if="token and not invalid_token">Cambiar Contraseña</t>
  368. </button>
  369. </div>
  370. </form>
  371. <!-- Footer -->
  372. <div class="text-center mt-8">
  373. <p class="text-sm text-gray-400">
  374. <a class="font-medium text-orange-500 hover:text-orange-400 transition-colors" t-attf-href="/web/login?{{ keep_query() }}">Volver al Login</a>
  375. </p>
  376. </div>
  377. </div>
  378. </t>
  379. </t>
  380. <t t-else="">
  381. <!-- Formulario original para otros temas -->
  382. <t t-call="web.login_layout">
  383. <div t-if="message" class="oe_login_form clearfix">
  384. <p class="alert alert-success" t-if="message" role="status">
  385. <t t-esc="message"/>
  386. </p>
  387. <a href="/web/login" class="btn btn-link btn-sm float-start" role="button">Back to Login</a>
  388. </div>
  389. <form class="oe_reset_password_form" role="form" method="post" t-if="not message">
  390. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  391. <t t-if="token and not invalid_token">
  392. <t t-call="auth_signup.fields">
  393. <t t-set="only_passwords" t-value="1"/>
  394. </t>
  395. </t>
  396. <t t-if="not token">
  397. <div class="mb-3 field-login">
  398. <label for="login" class="col-form-label">Your Email</label>
  399. <input type="text" name="login" t-att-value="login" id="login" class="form-control"
  400. autofocus="autofocus" required="required" autocapitalize="off"/>
  401. </div>
  402. </t>
  403. <p class="alert alert-danger" t-if="error" role="alert">
  404. <t t-esc="error"/>
  405. </p>
  406. <input type="hidden" name="redirect" t-att-value="redirect"/>
  407. <input type="hidden" name="token" t-att-value="token"/>
  408. <div class="clearfix oe_login_buttons d-grid mt-3">
  409. <button type="submit" class="btn btn-primary">Reset Password</button>
  410. <div class="d-flex justify-content-between align-items-center small mt-2">
  411. <a t-if="not token" t-attf-href="/web/login?{{ keep_query() }}">Back to Login</a>
  412. <a t-if="invalid_token" href="/web/login">Back to Login</a>
  413. </div>
  414. <div class="o_login_auth"/>
  415. </div>
  416. </form>
  417. </t>
  418. </t>
  419. </xpath>
  420. </template>
  421. </data>
  422. </odoo>