PWA Fundvelo der Caritas.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

InfoPage.razor 2.2KB

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