created_account_body_html.mak 3.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. ## -*- coding: utf-8 -*-
  2. <html>
  3. <head>
  4. <style>
  5. a { color: #3465af;}
  6. a.call-to-action {
  7. background: #3465af;
  8. padding: 3px 4px 5px 4px;
  9. border: 1px solid #12438d;
  10. font-weight: bold;
  11. color: #FFF;
  12. text-decoration: none;
  13. margin-left: 5px;
  14. }
  15. a.call-to-action img { vertical-align: middle;}
  16. th { vertical-align: top;}
  17. #content-intro-username { font-size: 1.5em; color: #666; font-weight: bold; }
  18. #content-intro { margin: 0; border: 1em solid #DDD; border-width: 0 0 0 0em; padding: 1em 1em 1em 1em; }
  19. #content-body { margin: 0em; border: 2em solid #DDD; border-width: 0 0 0 4em; padding: 0.5em 2em 1em 1em; }
  20. #content-body-intro { font-size: 2em; color: #666; }
  21. #content-body-only-title { font-size: 1.5em; }
  22. #content-body ins { background-color: #AFA; }
  23. #content-body del { background-color: #FAA; }
  24. #call-to-action-button { background-color: #5CB85C; border: 1px solid #4CAE4C; color: #FFF; text-decoration: none; font-weight: bold; border-radius: 3px; font-size: 2em; padding: 4px 0.3em;}
  25. #call-to-action-container { text-align: right; margin-top: 2em; }
  26. #footer hr { border: 0px solid #CCC; border-top-width: 1px; width: 8em; max-width:25%; margin-left: 0;}
  27. #footer { color: #999; margin: 4em auto auto 0.5em; }
  28. #footer a { color: #999; }
  29. </style>
  30. </head>
  31. <body style="font-family: Arial; font-size: 12px; max-width: 600px; margin: 0; padding: 0;">
  32. <table style="width: 100%; cell-padding: 0; border-collapse: collapse; margin: 0">
  33. <tr style="background-color: F5F5F5; border-bottom: 1px solid #CCC;" >
  34. <td style="background-color: #666;">
  35. <!-- FIXME - G.M - 09-06-2018 - restore logo -->
  36. </td>
  37. <td style="padding: 0.5em; background-color: #666; text-align: left;">
  38. <span style="font-size: 1.3em; color: #FFF; font-weight: bold;">
  39. ${config.WEBSITE_TITLE}: ${_('Created account')}
  40. </span>
  41. </td>
  42. </tr>
  43. </table>
  44. <div id="content-body">
  45. <div>
  46. ${_('An administrator just create account for you on {website_title}'.format(
  47. website_title=config.WEBSITE_TITLE
  48. ))}
  49. <ul>
  50. <li>
  51. <b>${_('Login')}</b>: ${user.email}
  52. </li>
  53. <li>
  54. <b>${_('Password')}</b>: ${password}
  55. </li>
  56. </ul>
  57. </div>
  58. <div id="call-to-action-container">
  59. ${_('To go to {website_title}, please click on following link'.format(
  60. website_title=config.WEBSITE_TITLE
  61. ))}
  62. <span style="">
  63. <a href="${login_url}" id='call-to-action-button'>${login_url}</a>
  64. </span>
  65. </div>
  66. </div>
  67. <div id="footer">
  68. <p>
  69. ${_('This email was sent by <i>Tracim</i>, a collaborative software developped by Algoo.')}<br/>
  70. Algoo SAS &mdash; 340 Rue de l'Eygala, 38430 Moirans, France &mdash; <a style="text-decoration: none;" href="http://algoo.fr">www.algoo.fr</a>
  71. </p>
  72. </div>
  73. </body>
  74. </html>