Commit graph

63 commits

Author SHA1 Message Date
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
rockstardev
36269cbed6 Consistent styling for Back to List 2020-10-18 03:11:17 -05: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
Dennis Reimann
e7ea8ac40f
Improve invoices list view (#1815)
* Improve invoices list view

* Pager: Only show options that make sense

* ListInvoices formatting

* Add separator for dropdown toggle split

* Minor ListInvoices improvement

* Improve payment requests list view

* Distinguish empty and filtered lists

* Properly align invoice details

* Add payment symbols to invoices list

* Improve payment symbols in invoices list

* Always display search on list pages

* Inline variable

* Move display logic to pager

e5040ede55 (commitcomment-41698272)
2020-08-24 13:57:07 +09:00
nicolas.dorier
5c9d0fd40a
Use razor component to encapsulate UI logic 2020-08-12 16:48:14 +09:00
rockstardev
f47ffd7ed0 Using proper class for 0 left padding
Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
2020-07-28 10:28:32 -05:00
rockstardev
0b115c3228 Using pull-right class instead of direct float style 2020-07-28 10:28:32 -05:00
rockstardev
a22c12adc9 Applying paging footer to Payment Requests 2020-07-28 10:28:32 -05:00
rockstardev
e3a8e1a187 Applying conventions from ListInvoice on PaymentRequests 2020-07-28 10:28:32 -05:00
rockstardev
9d9d0461ad Generalizing saving of search, applying it to PaymentRequests grid 2020-07-28 10:28:32 -05:00
Riccardo Masutti
3e717ecdbc
Set noindex, nofollow to ViewPaymentRequest.cshtml (#1701) 2020-06-27 11:58:55 +02:00
Dennis Reimann
36868644dc
Check and fix broken anchor links.
In addition to #1682.
2020-06-23 17:51:25 +02:00
Dennis Reimann
b066cfd904
Update and fix documentation links 2020-06-11 16:09:33 +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
nicolas.dorier
a926a5eedf
Fix warning 2020-03-26 22:56:30 +09:00
nicolas.dorier
0df5e7d7a3
Fix clone button in edit payment request (Fix #1414) 2020-03-26 22:54:47 +09:00
nicolas.dorier
bf57701cf0
Passing ambient route parameters explicitely 2020-01-10 15:37:44 +09: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
a127b13db1
Add missing payment request page titles 2019-11-15 14:43:36 +01:00
Dennis Reimann
55de85d829
Casa theme color fixes 2019-11-14 18:42:52 +01:00
Dennis Reimann
205fd3c9ce
Use grid consistently 2019-11-14 18:42:49 +01:00
Dennis Reimann
50bf55cbdf
Unify section headings 2019-11-14 18:42:48 +01:00
Dennis Reimann
fdc1aa25e4
Use variable based bootstrap and creativestart
fix
2019-11-14 18:42:40 +01:00
Umar Bolatov
9cd64bf81a
Inline "allow custom payment amount" checkbox with label 2019-11-08 19:12:52 -08: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
nicolas.dorier
cd009466b6
Make sure we don't have empty row if no StatusMessage 2019-06-06 18:47:31 +09:00