From e49ffbfdf73479feca6e2645ef680686d89eb955 Mon Sep 17 00:00:00 2001 From: gerlofvanek Date: Tue, 12 Mar 2024 17:06:44 +0100 Subject: [PATCH] ui: Offers page / Clean-up / sortTable / Fixes - Added extra details on the Your Offers page. - Added function sortTable for time/rate/market. - Various fixes. --- basicswap/templates/header.html | 15 +- basicswap/templates/offers.html | 241 +++++++++++++++++++------------- 2 files changed, 148 insertions(+), 108 deletions(-) diff --git a/basicswap/templates/header.html b/basicswap/templates/header.html index a99af43..aea01e0 100644 --- a/basicswap/templates/header.html +++ b/basicswap/templates/header.html @@ -110,7 +110,7 @@
  • - + {{ new_offer_svg | safe }} Place new Offer @@ -344,18 +344,7 @@ {{ summary.num_swapping }}
  • - +
  • diff --git a/basicswap/templates/offers.html b/basicswap/templates/offers.html index 8163a0c..4914491 100644 --- a/basicswap/templates/offers.html +++ b/basicswap/templates/offers.html @@ -652,7 +652,6 @@ const chart = new Chart(ctx, {
    -
    @@ -674,8 +673,6 @@ const chart = new Chart(ctx, {
    {{ input_arrow_down_svg | safe }} - -
    @@ -1048,7 +1069,7 @@ const chart = new Chart(ctx, {

    Page: {{ filters.page_no }}

    - {% if offers_count > 15 %} + {% if offers_count > 10 %}
    - {% include 'footer.html' %}