Commit graph

45 commits

Author SHA1 Message Date
d11n
b12c4c5fa0
Improve and unify page headers (#2412)
* Improve and unify page headers

* Altcoin test fixes

* Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* Update BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* Fix missing store name in pairing view

* Fix CanUsePairing test

* Bump header navigation font size

* Use partial tag instead of Html.PartialAsync in views

As suggested by @nicolasdorier. These are equivalent, see details [here](https://docs.microsoft.com/en-us/aspnet/core/mvc/views/partial?view=aspnetcore-3.1#partial-tag-helper).

* Fix docs link

As in #2432.

* Update BTCPayServer/Views/Wallets/SignWithSeed.cshtml

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

* Update BTCPayServer/Views/Wallets/WalletSendVault.cshtml

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

* Update BTCPayServer/Views/Wallets/WalletTransactions.cshtml

Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
2021-04-08 22:32:42 +09:00
Patrick
00aa7deaae
Fix payment request template
Fix payment request template body/page height and footer style.
2021-03-15 13:25:20 +01:00
Patrick
eca317b3c4
Fix view payment request loading spinner alignment 2021-02-15 16:37:38 +01:00
Dennis Reimann
e567f7a80c
Refactor tests
Remove the hacky `ScrollTo`, `ForceClick` and `WaitForElement`.
Add the hacky `WaitForPageLoad`.
2021-01-25 13:04:58 +01:00
Dennis Reimann
3e800e7e53
Update classic theme for payment requests (#2096)
Fixes #2084.
2020-12-02 15:21:03 +01:00
nicolas.dorier
18e68d04f9
Rename invoice states and payment states 2020-11-23 18:28:35 +09:00
Andrew Camilleri
b8c52b1120
fix decimal entry in payment requests (#2016)
fixes #2014
2020-10-24 12:25:50 +02:00
Nicolas Dorier
758f627e12
Partially paid invoices should be reused in payment requests. Cleanup the code. (#2008) 2020-10-23 21:00:23 +09:00
Dennis Reimann
20322c6ab8
Improve payment print styles (#1977)
* Improve payment print styles

Allows for export as invoice PDF to be used in accounting. Closes #1957.

* Change Transaction ID wording

* Minor payment request UI improvements

* Add amount paid, rate and colorize payment status

* Display rate at invoice level

* Inherit text color in print

* Show full date in print view

* Rearrange payment details

* Add received date for payments

* Fix amount calculation

* Fix validInvoice assignment
2020-10-23 17:37:28 +09:00
Dennis Reimann
f2870caed2
Payment redesign (#1967)
* Payment redesign

Guess who's back!

This reverts commit 4174fa648d.

* Refactor PullPayment state string

Compatible with this one: https://github.com/btcpayserver/btcpayserver/pull/1834/files#diff-a9136096252382b110b9a7ac7747b95aR41

* Use unified copy to clipboard function

* Refactor status text class to helper function
2020-10-13 09:58:46 +02:00
Andrew Camilleri
4174fa648d
Revert "Payment redesign" (#1962) 2020-10-08 08:37:18 +02:00
Dennis Reimann
f94fb4f65e
Payment UI: Light background for progress bar 2020-10-01 21:23:48 +02:00
Dennis Reimann
e0aff2cf9d
Payment UI: Right align totals 2020-10-01 21:23:47 +02:00
Dennis Reimann
d2369f45ce
UI: Custom margins for status message 2020-10-01 21:23:46 +02:00
Dennis Reimann
652604a36f
Pull Payment UI: Redesign 2020-10-01 21:23:44 +02:00
Dennis Reimann
489ce0bebc
Payment Request UI: Finetuning 2020-10-01 21:23:41 +02:00
Dennis Reimann
58922c23a6
Payment Request UI: Fix if 2020-10-01 21:23:40 +02:00
Dennis Reimann
be3183fc45
Payment Request UI: Status and Payment Details 2020-10-01 21:23:39 +02:00
Dennis Reimann
38b4812eb3
Payment Request UI: Print adaptions 2020-10-01 21:23:38 +02:00
Dennis Reimann
69fdc2d821
UI: Add bootstrap responsive helper for dev env 2020-10-01 21:23:37 +02:00
Dennis Reimann
9104b0f974
Payment Request UI: Main part
fix

fix

fix
2020-10-01 21:23:36 +02:00
Dennis Reimann
6ec7373a1a
# This is a combination of 2 commits.
# This is the 1st commit message:

UI: Move noscript styles to header include

Reusability

# This is the commit message #2:

fix
2020-10-01 21:23:35 +02:00
Dennis Reimann
4d4459fa4e
Payment Request UI: Layout and header 2020-10-01 21:23:33 +02:00
Riccardo Masutti
3e717ecdbc
Set noindex, nofollow to ViewPaymentRequest.cshtml (#1701) 2020-06-27 11:58:55 +02:00
Kukks
8fa65408ed Archive Payment reqeusts
closes #1588
2020-05-08 12:33:47 +02:00
Dennis Reimann
8658cb5f29
Re-add versioning for btcpay.js (#1489) 2020-04-22 08:24:29 +02:00
Umar Bolatov
e508b22d34
Make both sides of payment request table look same
fix #1488
2020-04-20 20:45:59 -07:00
Kukks
426fe793e6 remove versioning for btcpay.js
fixes #1483
2020-04-19 09:29:20 +02:00
Dennis Reimann
8420c74b31
Improve static asset caching
Cache static assets for one year and set the correct cache control header. Adds the cache busting version based on file content to asset references to invalidate the cache on change. ([further details on the approach](https://andrewlock.net/adding-cache-control-headers-to-static-files-in-asp-net-core/) and [why one year](https://ashton.codes/set-cache-control-max-age-1-year/))

Most of the changes are the additions of the `asp-append-version="true"` attribute, the main configuration change is in `Startup.cs`.
2020-04-18 17:56:05 +02:00
Dennis Reimann
0be6f3ca70
UI: Remove superfluous spaces when description is empty 2019-11-16 23:28:53 +01:00
Dennis Reimann
7af80611b6
UI: Better payment request amounts display
Uses a table instead of list group items, so that the columns properly align (rows use the same grid). Also aligns the values on the right.
2019-11-16 22:59:51 +01:00
Dennis Reimann
55de85d829
Casa theme color fixes 2019-11-14 18:42:52 +01:00
Dennis Reimann
fdc1aa25e4
Use variable based bootstrap and creativestart
fix
2019-11-14 18:42:40 +01:00
Kukks
749146ad3c fix Payment request "Cancel invoice" button always showing
The Cancel current invoice button always showed even when there was active invoice
2019-11-02 08:49:19 +01:00
nicolas.dorier
aad586232c
Refactor StatusMessage and remove ExternalLogin 2019-10-31 14:11:33 +09:00
Umar Bolatov
3d00611ddf Remove stray semicolon from payment request view (#980)
fix #979
2019-08-21 23:04:25 +09:00
nicolas.dorier
63df6ac5eb
Make sure EmbeddedCSS is CSS 2019-08-10 14:53:24 +09:00
Nicolas Dorier
be5597085b
Use Safe.Raw and Safe.Json instead of Html.Raw and the JsonHelper, move sanitization at the View level (#960) 2019-08-10 14:05:11 +09:00
Andrew Camilleri
be844978c1 Allow cancelling a non paid pending invoice in payment requests (#815)
* allow cancel on un paid new invoices in payment requests

* start work on cancel pr payment

* finish up cancel action

* final touch and add tests
2019-05-07 17:26:40 +09:00
rockstardev
0578a692db Updating bundler to new version that will also support .NET Core 2.2 2019-03-23 19:10:16 -05:00
nicolas.dorier
c67aa14a87 Fix payment requests and crowdfund app not working if ROOTPATH is specified (fix #659) 2019-03-12 15:48:24 +09:00
rockstardev
3fdfd0adfd Removed exponentiation on invoice request amount
Fixes #620
2019-03-03 17:44:28 -06:00
Kukks
c134277514 remove creating state from payment requests 2019-02-25 17:56:29 +09:00
Kukks
f5d366cf7f Fix final bugs 2019-02-25 17:56:29 +09:00
Kukks
ad25a2ed08 Add payment requests 2019-02-25 17:56:28 +09:00