@ -113,7 +113,7 @@
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "py-0 border-b items-center justify-between -mx-4 mb-6 pb-3 border-gray-400 border-opacity-20" >
< div class = "w-full md:w-10/12" >
< div class = "flex flex-wrap -m-3 w-full sm:w-auto px-4 mb-6 sm:mb-0" >
@ -129,7 +129,7 @@
< select class = "cursor-not-allowed disabled-select pl-10 hover:border-blue-500 pl-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 focus:ring-0" name = "swap_type" id = "swap_type" disabled >
{% for a in swap_types %}
< option { % if data . swap_type = =a[0] % } selected { % endif % } value = "{{ a[0] }}" > {{ a[1] }}< / option >
{% endfor %}
{% endfor %}
< / select >
< / div >
< / div >
@ -145,11 +145,11 @@
< div class = "w-full md:flex-1 p-3" >
< div class = "flex flex-wrap -m-3" >
< div class = "w-full md:w-1/2 p-3" >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Coin You Send:< / p >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Coin You Send:< / p >
< div class = "custom-select" >
< div class = "relative" >
{{ input_down_arrow_offer_svg | safe }}
< select class = "select cursor-not-allowed disabled-select hover:border-blue-500 pl-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" id = "coin_from" name = "coin_from" onchange = "set_rate('coin_from');" disabled >
< select class = "select cursor-not-allowed disabled-select hover:border-blue-500 pl-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" id = "coin_from" name = "coin_from" disabled >
< option value = "-1" > Select coin you send< / option >
{% for c in coins_from %}
< option { % if data . coin_from = =c[0] % } selected { % endif % } value = "{{ c[0] }}" data-image = "/static/images/coins/{{ c[1]|replace(" " , " - " ) } } -20 . png " > {{ c[1] }}
@ -162,9 +162,9 @@
< / div >
< / div >
< div class = "w-full md:w-1/2 p-3" >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Amount You Send< / p >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Amount You Send< / p >
< div class = "relative" >
< div class = "flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none" > < / div > < input class = "cursor-not-allowed disabled-input hover:border-blue-500 pr-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" type = "text" id = "amt_from" name = "amt_from" value = "{{ data.amt_from }}" onchange = "set_rate('amt_from');" readonly >
< div class = "flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none" > < / div > < input class = "cursor-not-allowed disabled-input hover:border-blue-500 pr-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" type = "text" id = "amt_from" name = "amt_from" value = "{{ data.amt_from }}" readonly >
< / div >
< / div >
{% if data.swap_style == 'xmr' %}
@ -216,11 +216,11 @@
< div class = "w-full md:flex-1 p-3" >
< div class = "flex flex-wrap -m-3" >
< div class = "w-full md:w-1/2 p-3" >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Coin You Get< / p >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Coin You Get< / p >
< div class = "custom-select" >
< div class = "relative" >
{{ input_down_arrow_offer_svg | safe }}
< select class = "cursor-not-allowed disabled-select select hover:border-blue-500 pl-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" id = "coin_to" name = "coin_to" onchange = "set_rate('coin_to');" disabled >
< select class = "cursor-not-allowed disabled-select select hover:border-blue-500 pl-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" id = "coin_to" name = "coin_to" disabled >
< option value = "-1" > < / option >
{% for c in coins %}
< option { % if data . coin_to = =c[0] % } selected { % endif % } value = "{{ c[0] }}" data-image = "/static/images/coins/{{ c[1]|replace(" " , " - " ) } } -20 . png " > {{ c[1] }}< / option >
@ -233,9 +233,9 @@
< / div >
< / div >
< div class = "w-full md:w-1/2 p-3" >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Amount You Get< / p >
< p class = "mb-1.5 font-medium text-base text-coolGray-800 dark:text-white" > Amount You Get< / p >
< div class = "relative" >
< div class = "flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none" > < / div > < input class = "cursor-not-allowed disabled-input hover:border-blue-500 pr-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" type = "text" id = "amt_to" name = "amt_to" value = "{{ data.amt_to }}" onchange = "set_rate('amt_to');" readonly >
< div class = "flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none" > < / div > < input class = "cursor-not-allowed disabled-input hover:border-blue-500 pr-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-5 focus:ring-0" type = "text" id = "amt_to" name = "amt_to" value = "{{ data.amt_to }}" readonly >
< / div >
< / div >
{% if data.swap_style == 'xmr' and coin_to != '6' %}
@ -301,7 +301,7 @@
< div class = "flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none" >
{{ select_rate_svg | safe }}
< / div >
< input class = "cursor-not-allowed disabled-input pl-10 hover:border-blue-500 pl-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 focus:ring-0" type = "text" id = "rate" name = "rate" value = "{{ data.rate }}" onchange = "set_rate('rate');" readonly >
< input class = "cursor-not-allowed disabled-input pl-10 hover:border-blue-500 pl-10 bg-gray-50 text-gray-900 appearance-none pr-10 dark:bg-gray-500 dark:text-white border border-gray-300 dark:border-gray-400 dark:text-gray-50 dark:placeholder-white text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 focus:ring-0" type = "text" id = "rate" name = "rate" value = "{{ data.rate }}" readonly >
< / div >
< / div >
< / div >
@ -426,7 +426,7 @@
< div class = "w-full md:w-auto p-1.5" >
< button name = "step2" type = "submit" value = "Back" class = "flex flex-wrap justify-center w-full px-4 py-2.5 font-medium text-sm text-coolGray-500 hover:text-coolGray-600 border border-coolGray-200 hover:border-coolGray-300 bg-white rounded-md focus:ring-0 focus:outline-none dark:text-white dark:hover:text-white dark:bg-gray-600 dark:hover:bg-gray-700 dark:border-gray-600 dark:hover:border-gray-600" >
< span > Back< / span >
< / button >
< / button >
< / div >
< div class = "w-full md:w-auto p-1.5" >
< button name = "submit_offer" value = "Continue" type = "submit" class = "flex flex-wrap justify-center w-full px-4 py-2.5 bg-blue-500 hover:bg-green-600 hover:border-green-600 font-medium text-sm text-white border border-blue-500 rounded-md shadow-button focus:ring-0 focus:outline-none" >