From 07cb6adb69b6c055e971f8ed60c19a12af77f8c6 Mon Sep 17 00:00:00 2001 From: rockstardev Date: Sat, 11 May 2019 14:07:13 -0500 Subject: [PATCH] Extracting datetime flatpickr for use throught website --- .../Views/Apps/UpdateCrowdfund.cshtml | 41 +++++++++---------- .../PaymentRequest/EditPaymentRequest.cshtml | 2 +- BTCPayServer/bundleconfig.json | 12 +++--- BTCPayServer/wwwroot/crowdfund-admin/main.js | 19 --------- BTCPayServer/wwwroot/main/site.js | 26 ++++++++++-- .../wwwroot/payment-request-admin/main.js | 20 --------- 6 files changed, 49 insertions(+), 71 deletions(-) diff --git a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml index a024cd06b..4eaf3efc7 100644 --- a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml +++ b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml @@ -69,8 +69,8 @@
+ value="@(Model.StartDate?.ToString("u", CultureInfo.InvariantCulture))" + class="form-control flatdtpicker" placeholder="No start date has been set for this crowdfund" />