-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
se agregan notificaciones toastr al proyecto
- Loading branch information
Showing
105 changed files
with
378 additions
and
54 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+213 KB
.vs/SiaesAPISolution/FileContentIndex/07d22272-b004-4332-b5db-4801dcc2073a.vsidx
Binary file not shown.
Binary file removed
BIN
-238 KB
.vs/SiaesAPISolution/FileContentIndex/07d8d93f-042a-4565-af68-95181db2932a.vsidx
Binary file not shown.
Binary file removed
BIN
-9.06 KB
.vs/SiaesAPISolution/FileContentIndex/59538655-c7a3-4917-aec7-72157001b290.vsidx
Binary file not shown.
Binary file added
BIN
+2.91 KB
.vs/SiaesAPISolution/FileContentIndex/76cd982a-8610-4d3b-92f0-2771bca284be.vsidx
Binary file not shown.
Binary file added
BIN
+81.7 KB
.vs/SiaesAPISolution/FileContentIndex/7bcb0b81-5e01-4358-9201-1ca24f720432.vsidx
Binary file not shown.
Binary file removed
BIN
-6.94 KB
.vs/SiaesAPISolution/FileContentIndex/806369b8-feb6-45f2-8479-559288af10e4.vsidx
Binary file not shown.
Binary file removed
BIN
-5.91 KB
.vs/SiaesAPISolution/FileContentIndex/81969da8-3b3b-4bdd-b866-42059383e215.vsidx
Binary file not shown.
Binary file added
BIN
+254 KB
.vs/SiaesAPISolution/FileContentIndex/8c00d52c-5be7-43a2-ae3d-12218e6ba6a0.vsidx
Binary file not shown.
Binary file removed
BIN
-9.49 KB
.vs/SiaesAPISolution/FileContentIndex/b4cd1fbb-f35b-4b3c-a8ef-b668601ef823.vsidx
Binary file not shown.
Binary file removed
BIN
-15.6 KB
.vs/SiaesAPISolution/FileContentIndex/cd58fbe6-8195-4aff-b09e-a2bb219bdccd.vsidx
Binary file not shown.
Binary file added
BIN
+2.61 KB
.vs/SiaesAPISolution/FileContentIndex/fa626c61-8434-42a8-9a5e-3c6a2875e6d3.vsidx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Microsoft.JSInterop; | ||
|
||
namespace SiaesCliente.Helpers | ||
{ | ||
public static class IJsHelper | ||
{ | ||
public static async ValueTask ToastrSuccess(this IJSRuntime JSRuntime, string message) | ||
{ | ||
await JSRuntime.InvokeVoidAsync("ShowToastr", "success", message); | ||
} | ||
|
||
public static async ValueTask ToastrError(this IJSRuntime JSRuntime, string message) | ||
{ | ||
await JSRuntime.InvokeVoidAsync("ShowToastr", "error", message); | ||
} | ||
} | ||
|
||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,25 @@ | ||
@page "/" | ||
@inject IJSRuntime JSRuntime | ||
|
||
<PageTitle>Home</PageTitle> | ||
|
||
<h1>Hello, world!</h1> | ||
<PageTitle>Inicio</PageTitle> | ||
|
||
Welcome to your new app. | ||
<h1 class="Ultimos posts">Hello, world!</h1> | ||
|
||
<div class="col-4"> | ||
<button class="btn btn-success" @onclick="DemoSucces">Demo Toastr Success</button> | ||
<button class="btn btn-danger" @onclick="DemoError">Demo Toastr Error</button> | ||
</div> | ||
|
||
|
||
@code { | ||
private async Task DemoSucces() | ||
{ | ||
await JSRuntime.ToastrSuccess("Tarea Completa!"); | ||
} | ||
|
||
private async Task DemoError() | ||
{ | ||
await JSRuntime.ToastrError("Error, Tarea InCompleta!"); | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/launchsettings.json", | ||
"iisSettings": { | ||
"windowsAuthentication": false, | ||
"anonymousAuthentication": true, | ||
"iisExpress": { | ||
"applicationUrl": "http://localhost:42949", | ||
"sslPort": 44373 | ||
} | ||
}, | ||
"profiles": { | ||
"http": { | ||
"commandName": "Project", | ||
"dotnetRunMessages": true, | ||
"launchBrowser": true, | ||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
"applicationUrl": "http://localhost:5107", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
} | ||
}, | ||
"dotnetRunMessages": true, | ||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
"applicationUrl": "http://localhost:5107" | ||
}, | ||
"https": { | ||
"commandName": "Project", | ||
"dotnetRunMessages": true, | ||
"launchBrowser": true, | ||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
"applicationUrl": "https://localhost:7156;http://localhost:5107", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
} | ||
}, | ||
"dotnetRunMessages": true, | ||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
"applicationUrl": "https://localhost:7156;http://localhost:5107" | ||
}, | ||
"IIS Express": { | ||
"commandName": "IISExpress", | ||
"launchBrowser": true, | ||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
"environmentVariables": { | ||
"ASPNETCORE_ENVIRONMENT": "Development" | ||
} | ||
}, | ||
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}" | ||
} | ||
}, | ||
"$schema": "http://json.schemastore.org/launchsettings.json", | ||
"iisSettings": { | ||
"windowsAuthentication": false, | ||
"anonymousAuthentication": true, | ||
"iisExpress": { | ||
"applicationUrl": "http://localhost:30744/", | ||
"sslPort": 44353 | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
@using Microsoft.JSInterop | ||
@using SiaesCliente | ||
@using SiaesCliente.Layout | ||
@using SiaesCliente.Helpers |
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
SiaesCliente/bin/Debug/net8.0/SiaesCliente.staticwebassets.runtime.json
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.26 KB
(110%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesCliente.pdb
Binary file not shown.
Binary file modified
BIN
+867 Bytes
(110%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesCliente.pdb.gz
Binary file not shown.
Binary file modified
BIN
+3.5 KB
(130%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesCliente.wasm
Binary file not shown.
Binary file modified
BIN
+1.53 KB
(130%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesCliente.wasm.gz
Binary file not shown.
Binary file modified
BIN
+228 Bytes
(100%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesLibraryShared.pdb
Binary file not shown.
Binary file modified
BIN
+163 Bytes
(100%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesLibraryShared.pdb.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesLibraryShared.wasm
Binary file not shown.
Binary file modified
BIN
+91 Bytes
(100%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/SiaesLibraryShared.wasm.gz
Binary file not shown.
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
Binary file modified
BIN
+0 Bytes
(100%)
SiaesCliente/bin/Debug/net8.0/wwwroot/_framework/blazor.boot.json.gz
Binary file not shown.
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
2 changes: 1 addition & 1 deletion
2
SiaesCliente/obj/Debug/net8.0/SiaesCliente.AssemblyInfoInputs.cache
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ac94fdc75daf51ccbf65e35c99ba20d486a6b5bc95fe586b476db56de47804f1 | ||
6a55439ddba650fba1f8d38c9afc3b7cb427608652a9df941dceef16ea312134 |
Binary file modified
BIN
+0 Bytes
(100%)
SiaesCliente/obj/Debug/net8.0/SiaesCliente.csproj.AssemblyReference.cache
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
SiaesCliente/obj/Debug/net8.0/SiaesCliente.csproj.CoreCompileInputs.cache
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
c38bdf414cc897a0f677fed70f7b178e963a493dce85bec645c661d3ea64c30c | ||
4e12c0b18b2d39bc2a5fca3c1bdd1114ab56f77adb8c95d80c516f21834dd9f2 |
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
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"documents":{"C:\\Users\\huber\\Documents\\Source\\Proyectos\\BlazorNet8\\siaesweb\\SiaesAPISolution\\*":"https://raw.githubusercontent.com/psychohub/SiaesWeb/d9b20bf3821b008555524981a4b5f06602d9ba9f/*"}} |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.