Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

HTMLHelper.cs 1.3KB

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Diligent.WebAPI.Business.Helper
  7. {
  8. public static class HTMLHelper
  9. {
  10. public static string RenderForgotPasswordPage(string url)
  11. {
  12. return "<div style=\"font-family: sans-serif\">" +
  13. "<div style=\"font-family: sans-serif;text-align: center;\">" +
  14. "<h2 style=\"color: #017397;\">HR Center Password Reset</h2>" +
  15. "<p style=\"font-size: 20px\">" +
  16. "To reset your HR Center password, please click on the button below." +
  17. "</p>" +
  18. "<a style = \"color: white;text-decoration:none;background-color: #017397;cursor: pointer;font-size: 20px;width: 220px;text-align: center;border-radius: 5px;padding: 5px 15px;height: 25px;\" " +
  19. $"href=\"{url}\">" +
  20. " RESET PASSWORD" +
  21. "</a>" +
  22. "<p style = \"font-size: 12px; margin-top: 25px;\" >" +
  23. "Please do not reply to this email.This message was sent from a notification-only address that is not monitored." +
  24. "</p>" +
  25. "</div>" +
  26. "</div>";
  27. }
  28. }
  29. }