This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Components.Forms; | |
namespace FluentGuru.AspNetCore.Components.Forms | |
{ | |
public static class EditFormExtensions | |
{ | |
public static async Task SubmitAsync(this EditForm form) | |
{ | |
if (form.OnSubmit.HasDelegate) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/dotnet/core-nightly/sdk:3.0.100-rc1-alpine3.9 AS build | |
# REMOVE THIS ONCE A DECENT VERSION COMES OUT | |
WORKDIR /dotnet22 | |
RUN wget "https://download.visualstudio.microsoft.com/download/pr/bcf3b2eb-a5ed-4829-b2c9-6fc5d41f79e2/30dfae04f6bb726fd763d52f0a42501a/dotnet-sdk-2.2.300-linux-musl-x64.tar.gz" | |
RUN tar zxvf dotnet-sdk-2.2.300-linux-musl-x64.tar.gz | |
RUN rm dotnet-sdk-2.2.300-linux-musl-x64.tar.gz | |
RUN cp -Rapf ./shared/Microsoft.NETCore.App/2.2.5 /usr/share/dotnet/shared/Microsoft.NETCore.App | |
RUN cp -Rapf ./sdk/2.2.300 /usr/share/dotnet/sdk/ | |
ENV LD_LIBRARY_PATH="/usr/share/dotnet/shared/Microsoft.NETCore.App/2.2.5:${LD_LIBRARY_PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div id="app"> | |
<Navigation v-if="useLayout" v-bind:userAuthenticated="userAuthenticated" /> | |
<div id="root"> | |
<div style="display: flex; flex-direction: column"> | |
<router-view></router-view> | |
</div> | |
<Footer v-if="useLayout" /> | |
</div> | |
<div id="alert-container" class="fixed-top w-100"></div> |