From f8189c64a493f33e6ff7ece6ed10746faa7dd01a Mon Sep 17 00:00:00 2001 From: lepipele Date: Tue, 16 Jan 2018 10:37:06 -0600 Subject: [PATCH] Non blocking modal that shows sync progress Ref: https://forkbitpay.slack.com/archives/C7M093Z55/p1515557792000053 --- BTCPayServer/Views/Shared/SyncModal.cshtml | 94 + BTCPayServer/Views/Shared/_Layout.cshtml | 102 +- .../wwwroot/vendor/animatecss/animate.css | 1579 +++++++++++++++++ 3 files changed, 1679 insertions(+), 96 deletions(-) create mode 100644 BTCPayServer/Views/Shared/SyncModal.cshtml create mode 100644 BTCPayServer/wwwroot/vendor/animatecss/animate.css diff --git a/BTCPayServer/Views/Shared/SyncModal.cshtml b/BTCPayServer/Views/Shared/SyncModal.cshtml new file mode 100644 index 000000000..41919d1f1 --- /dev/null +++ b/BTCPayServer/Views/Shared/SyncModal.cshtml @@ -0,0 +1,94 @@ +@inject BTCPayServer.HostedServices.NBXplorerDashboard dashboard + + + + + + + diff --git a/BTCPayServer/Views/Shared/_Layout.cshtml b/BTCPayServer/Views/Shared/_Layout.cshtml index 491ded1bb..7350986bf 100644 --- a/BTCPayServer/Views/Shared/_Layout.cshtml +++ b/BTCPayServer/Views/Shared/_Layout.cshtml @@ -38,7 +38,7 @@ @{ - if(ViewBag.AlwaysShrinkNavBar == null) + if (ViewBag.AlwaysShrinkNavBar == null) { ViewBag.AlwaysShrinkNavBar = true; } @@ -54,9 +54,9 @@