| <DebuggerFlavor>ProjectDebugger</DebuggerFlavor> | <DebuggerFlavor>ProjectDebugger</DebuggerFlavor> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <PropertyGroup> | <PropertyGroup> | ||||
| <ActiveDebugProfile>CaritasPWA</ActiveDebugProfile> | |||||
| <ActiveDebugProfile>IIS Express</ActiveDebugProfile> | |||||
| <NameOfLastUsedPublishProfile>IISProfile</NameOfLastUsedPublishProfile> | <NameOfLastUsedPublishProfile>IISProfile</NameOfLastUsedPublishProfile> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | <ItemGroup> |
| @page "/keydata/{FromRoute}" | @page "/keydata/{FromRoute}" | ||||
| @using BlazorColorPicker | |||||
| @inject NavigationManager NavigationManager | @inject NavigationManager NavigationManager | ||||
| @inject IStringLocalizer<Resources> i18n | @inject IStringLocalizer<Resources> i18n | ||||
| </MatCard> | </MatCard> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-1"> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-1 justify-content-center"> | |||||
| <div> | <div> | ||||
| <MatIconButton Class="mat-icon-large" Icon="location_on" /> | <MatIconButton Class="mat-icon-large" Icon="location_on" /> | ||||
| </div> | </div> | ||||
| </MatCard> | </MatCard> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-8-tablet mat-layout-grid-cell-span-4-desktop"> | <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-8-tablet mat-layout-grid-cell-span-4-desktop"> | ||||
| <div class="mat-layout-grid-inner"> | <div class="mat-layout-grid-inner"> | ||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-12-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <MatSelectValue FullWidth="true" Outlined="true" Label="@i18n["Color"]" @bind-Value="colorValue" Items="@colorItems" ValueSelector="@(i=>i.RGB)"> | |||||
| <ChildContent> | |||||
| <span>@colorValue</span> | |||||
| @*<span>@selectedColor?.RGB</span>*@ | |||||
| </ChildContent> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <MatStringField Class="w-100 form-check-label" Label="@getAddressLbl()" Outlined="true" type="text"></MatStringField> | |||||
| </div> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <MatStringField Class="w-100 form-check-label" Label="@getPlaceLbl()" Outlined="true" type="text"></MatStringField> | |||||
| </div> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <MatStringField Class="w-100 form-check-label" Label="@i18n["Latitude"]" Outlined="true" type="text"></MatStringField> | |||||
| </div> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <MatStringField Class="w-100 form-check-label" Label="@i18n["Longitude"]" Outlined="true" type="text"></MatStringField> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-8-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <div class="mat-layout-grid-inner"> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-4-desktop"> | |||||
| <MatSelectValue FullWidth="true" Outlined="true" Label="@i18n["Color"]" @bind-Value="selectedColor" Items="@colorItems" ValueSelector="@(i=>i)"> | |||||
| <ItemTemplate> | <ItemTemplate> | ||||
| <div> | <div> | ||||
| <span class="btn-sm" style="background-color:rgb(@context.RGB); | <span class="btn-sm" style="background-color:rgb(@context.RGB); | ||||
| </ItemTemplate> | </ItemTemplate> | ||||
| </MatSelectValue> | </MatSelectValue> | ||||
| </div> | </div> | ||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-12-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-4-desktop"> | |||||
| <MatStringField Class="w-100 form-check-label" Label="@i18n["Brand"]" Outlined="true" type="text"></MatStringField> | <MatStringField Class="w-100 form-check-label" Label="@i18n["Brand"]" Outlined="true" type="text"></MatStringField> | ||||
| </div> | </div> | ||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-12-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-12-desktop"> | |||||
| <div class="mat-layout-grid-cell mat-layout-grid-cell-span-4-phone mat-layout-grid-cell-span-4-tablet mat-layout-grid-cell-span-4-desktop"> | |||||
| <MatSelect Class="w-100" Outlined="true" Label="@i18n["Type"]" @bind-Value="value"> | <MatSelect Class="w-100" Outlined="true" Label="@i18n["Type"]" @bind-Value="value"> | ||||
| <MatOptionString></MatOptionString> | <MatOptionString></MatOptionString> | ||||
| <MatOptionString Value="Mountain-Bike">Mountain-Bike</MatOptionString> | <MatOptionString Value="Mountain-Bike">Mountain-Bike</MatOptionString> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| public string FromRoute { get; set; } | public string FromRoute { get; set; } | ||||
| string value; | string value; | ||||
| string colorValue; | |||||
| ColorItem selectedColor; | ColorItem selectedColor; | ||||
| private void Next() { | private void Next() { | ||||
| } | } | ||||
| } | } | ||||
| string getAddressLbl() { | |||||
| return i18n.GetString("Address") + " (" + getPlaceLbl() + ")"; | |||||
| } | |||||
| string getPlaceLbl() { | |||||
| return @FromRoute == "Found" ? i18n.GetString("PlaceOfDiscovery") : i18n.GetString("PlaceOfLoss"); | |||||
| } | |||||
| } | } |
| } | } | ||||
| } | } | ||||
| /// <summary> | |||||
| /// Sucht eine lokalisierte Zeichenfolge, die Latitude ähnelt. | |||||
| /// </summary> | |||||
| public static string Latitude { | |||||
| get { | |||||
| return ResourceManager.GetString("Latitude", resourceCulture); | |||||
| } | |||||
| } | |||||
| /// <summary> | /// <summary> | ||||
| /// Sucht eine lokalisierte Zeichenfolge, die Learn more ähnelt. | /// Sucht eine lokalisierte Zeichenfolge, die Learn more ähnelt. | ||||
| /// </summary> | /// </summary> | ||||
| } | } | ||||
| } | } | ||||
| /// <summary> | |||||
| /// Sucht eine lokalisierte Zeichenfolge, die Longitude ähnelt. | |||||
| /// </summary> | |||||
| public static string Longitude { | |||||
| get { | |||||
| return ResourceManager.GetString("Longitude", resourceCulture); | |||||
| } | |||||
| } | |||||
| /// <summary> | /// <summary> | ||||
| /// Sucht eine lokalisierte Zeichenfolge, die E-Mail ähnelt. | /// Sucht eine lokalisierte Zeichenfolge, die E-Mail ähnelt. | ||||
| /// </summary> | /// </summary> | ||||
| } | } | ||||
| } | } | ||||
| /// <summary> | |||||
| /// Sucht eine lokalisierte Zeichenfolge, die Place Of Discovery ähnelt. | |||||
| /// </summary> | |||||
| public static string PlaceOfDiscovery { | |||||
| get { | |||||
| return ResourceManager.GetString("PlaceOfDiscovery", resourceCulture); | |||||
| } | |||||
| } | |||||
| /// <summary> | |||||
| /// Sucht eine lokalisierte Zeichenfolge, die Place Of Loss ähnelt. | |||||
| /// </summary> | |||||
| public static string PlaceOfLoss { | |||||
| get { | |||||
| return ResourceManager.GetString("PlaceOfLoss", resourceCulture); | |||||
| } | |||||
| } | |||||
| /// <summary> | /// <summary> | ||||
| /// Sucht eine lokalisierte Zeichenfolge, die Save ähnelt. | /// Sucht eine lokalisierte Zeichenfolge, die Save ähnelt. | ||||
| /// </summary> | /// </summary> |
| <data name="Lastname" xml:space="preserve"> | <data name="Lastname" xml:space="preserve"> | ||||
| <value>Nachname</value> | <value>Nachname</value> | ||||
| </data> | </data> | ||||
| <data name="Latitude" xml:space="preserve"> | |||||
| <value>Geogr. Breite</value> | |||||
| </data> | |||||
| <data name="Learnmore" xml:space="preserve"> | <data name="Learnmore" xml:space="preserve"> | ||||
| <value>Mehr erfahren</value> | <value>Mehr erfahren</value> | ||||
| </data> | </data> | ||||
| <data name="Logout" xml:space="preserve"> | <data name="Logout" xml:space="preserve"> | ||||
| <value>Logout</value> | <value>Logout</value> | ||||
| </data> | </data> | ||||
| <data name="Longitude" xml:space="preserve"> | |||||
| <value>Geogr. Länge</value> | |||||
| </data> | |||||
| <data name="Mail" xml:space="preserve"> | <data name="Mail" xml:space="preserve"> | ||||
| <value>E-Mail</value> | <value>E-Mail</value> | ||||
| </data> | </data> | ||||
| <data name="Phone" xml:space="preserve"> | <data name="Phone" xml:space="preserve"> | ||||
| <value>Telefon</value> | <value>Telefon</value> | ||||
| </data> | </data> | ||||
| <data name="PlaceOfDiscovery" xml:space="preserve"> | |||||
| <value>Fundort</value> | |||||
| </data> | |||||
| <data name="PlaceOfLoss" xml:space="preserve"> | |||||
| <value>Verlustort</value> | |||||
| </data> | |||||
| <data name="Save" xml:space="preserve"> | <data name="Save" xml:space="preserve"> | ||||
| <value>Speichern</value> | <value>Speichern</value> | ||||
| </data> | </data> |
| <data name="Lastname" xml:space="preserve"> | <data name="Lastname" xml:space="preserve"> | ||||
| <value>Nom de famille</value> | <value>Nom de famille</value> | ||||
| </data> | </data> | ||||
| <data name="Latitude" xml:space="preserve"> | |||||
| <value>Latitude</value> | |||||
| </data> | |||||
| <data name="Learnmore" xml:space="preserve"> | <data name="Learnmore" xml:space="preserve"> | ||||
| <value>En savoir plus</value> | <value>En savoir plus</value> | ||||
| </data> | </data> | ||||
| <data name="Logout" xml:space="preserve"> | <data name="Logout" xml:space="preserve"> | ||||
| <value>Déconnexion</value> | <value>Déconnexion</value> | ||||
| </data> | </data> | ||||
| <data name="Longitude" xml:space="preserve"> | |||||
| <value>Longitude</value> | |||||
| </data> | |||||
| <data name="Mail" xml:space="preserve"> | <data name="Mail" xml:space="preserve"> | ||||
| <value>Courrier</value> | <value>Courrier</value> | ||||
| </data> | </data> | ||||
| <data name="Phone" xml:space="preserve"> | <data name="Phone" xml:space="preserve"> | ||||
| <value>Téléphone</value> | <value>Téléphone</value> | ||||
| </data> | </data> | ||||
| <data name="PlaceOfDiscovery" xml:space="preserve"> | |||||
| <value>Lieu de découverte</value> | |||||
| </data> | |||||
| <data name="PlaceOfLoss" xml:space="preserve"> | |||||
| <value>Lieu de la perte</value> | |||||
| </data> | |||||
| <data name="Save" xml:space="preserve"> | <data name="Save" xml:space="preserve"> | ||||
| <value>Sauver</value> | <value>Sauver</value> | ||||
| </data> | </data> |
| <data name="Lastname" xml:space="preserve"> | <data name="Lastname" xml:space="preserve"> | ||||
| <value>Cognome</value> | <value>Cognome</value> | ||||
| </data> | </data> | ||||
| <data name="Latitude" xml:space="preserve"> | |||||
| <value>Latitudine</value> | |||||
| </data> | |||||
| <data name="Learnmore" xml:space="preserve"> | <data name="Learnmore" xml:space="preserve"> | ||||
| <value>Per saperne di più</value> | <value>Per saperne di più</value> | ||||
| </data> | </data> | ||||
| <data name="Logout" xml:space="preserve"> | <data name="Logout" xml:space="preserve"> | ||||
| <value>Disconnettiti</value> | <value>Disconnettiti</value> | ||||
| </data> | </data> | ||||
| <data name="Longitude" xml:space="preserve"> | |||||
| <value>Longitudine</value> | |||||
| </data> | |||||
| <data name="Mail" xml:space="preserve"> | <data name="Mail" xml:space="preserve"> | ||||
| <value>E-Mail</value> | <value>E-Mail</value> | ||||
| </data> | </data> | ||||
| <data name="Phone" xml:space="preserve"> | <data name="Phone" xml:space="preserve"> | ||||
| <value>Telefono</value> | <value>Telefono</value> | ||||
| </data> | </data> | ||||
| <data name="PlaceOfDiscovery" xml:space="preserve"> | |||||
| <value>Luogo del ritrovamento</value> | |||||
| </data> | |||||
| <data name="PlaceOfLoss" xml:space="preserve"> | |||||
| <value>Luogo della perdita</value> | |||||
| </data> | |||||
| <data name="Save" xml:space="preserve"> | <data name="Save" xml:space="preserve"> | ||||
| <value>Salva</value> | <value>Salva</value> | ||||
| </data> | </data> |
| <data name="Lastname" xml:space="preserve"> | <data name="Lastname" xml:space="preserve"> | ||||
| <value>Last name</value> | <value>Last name</value> | ||||
| </data> | </data> | ||||
| <data name="Latitude" xml:space="preserve"> | |||||
| <value>Latitude</value> | |||||
| </data> | |||||
| <data name="Learnmore" xml:space="preserve"> | <data name="Learnmore" xml:space="preserve"> | ||||
| <value>Learn more</value> | <value>Learn more</value> | ||||
| </data> | </data> | ||||
| <data name="Logout" xml:space="preserve"> | <data name="Logout" xml:space="preserve"> | ||||
| <value>Logout</value> | <value>Logout</value> | ||||
| </data> | </data> | ||||
| <data name="Longitude" xml:space="preserve"> | |||||
| <value>Longitude</value> | |||||
| </data> | |||||
| <data name="Mail" xml:space="preserve"> | <data name="Mail" xml:space="preserve"> | ||||
| <value>E-Mail</value> | <value>E-Mail</value> | ||||
| </data> | </data> | ||||
| <data name="Phone" xml:space="preserve"> | <data name="Phone" xml:space="preserve"> | ||||
| <value>Phone</value> | <value>Phone</value> | ||||
| </data> | </data> | ||||
| <data name="PlaceOfDiscovery" xml:space="preserve"> | |||||
| <value>Place Of Discovery</value> | |||||
| </data> | |||||
| <data name="PlaceOfLoss" xml:space="preserve"> | |||||
| <value>Place Of Loss</value> | |||||
| </data> | |||||
| <data name="Save" xml:space="preserve"> | <data name="Save" xml:space="preserve"> | ||||
| <value>Save</value> | <value>Save</value> | ||||
| </data> | </data> |