PWA Fundvelo der Caritas.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. @page "/info"
  2. @using CaritasPWA.Shared.Services;
  3. @inject NavigationManager NavigationManager;
  4. @inject IStringLocalizer<Resources> i18n
  5. @inject PageHistoryManager PageHistoryManager
  6. <div class="row px-3 h-100">
  7. <div class="text-center w-100">
  8. <img class="w-100" src="./images/caritas_logo.png" style="padding:1em;max-width:320px" />
  9. </div>
  10. <div class="row no-gutters align-items-center w-100">
  11. <table class="w-100">
  12. <tr>
  13. <td class="text-center">
  14. <p class="text-left" style="max-width: 500px;display:inline-block">@i18n["Abouttext"]</p>
  15. </td>
  16. </tr>
  17. <tr>
  18. <td class="text-center">
  19. <MatButton Raised="true" Class="w-100" @onclick="ShowCaritasWebpage" style="max-width:500px">@i18n["Learnmore"]</MatButton>
  20. </td>
  21. </tr>
  22. <tr>
  23. <td class="text-center">
  24. <MatCaption Style="font-family:Ubuntu">Version: 0.0.1</MatCaption>
  25. </td>
  26. </tr>
  27. </table>
  28. </div>
  29. <div class="row no-gutters align-items-end w-100">
  30. <table class="w-100">
  31. <tr>
  32. <td class="text-right">
  33. <MatCaption Style="font-family:Ubuntu">@i18n["DevelopedBy"]</MatCaption>
  34. </td>
  35. </tr>
  36. <tr>
  37. <td class="text-right">
  38. <img src="./images/integrate_logo.png" style="max-width:200px" />
  39. </td>
  40. </tr>
  41. <tr>
  42. <td class="text-right">
  43. <MatCaption Style="font-family:Ubuntu">Platz 10, Business Village Luzern</MatCaption>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td class="text-right">
  48. <MatCaption Style="font-family:Ubuntu">CH-6039 Root D4</MatCaption>
  49. </td>
  50. </tr>
  51. </table>
  52. </div>
  53. </div>
  54. @code {
  55. protected override void OnInitialized() {
  56. PageHistoryManager.AddPageToHistory(NavigationManager.Uri);
  57. base.OnInitialized();
  58. }
  59. private void ShowCaritasWebpage() {
  60. NavigationManager.NavigateTo("http://www.caritas.ch");
  61. }
  62. }