ui: Restore xmr bid sequence diagrams.

This commit is contained in:
tecnovert 2022-10-23 16:07:32 +02:00
parent 4fc68b5717
commit e46fd193fe
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
4 changed files with 21 additions and 21 deletions

View File

@ -1,3 +1,3 @@
name = "basicswap" name = "basicswap"
__version__ = "0.11.40" __version__ = "0.11.41"

View File

@ -369,26 +369,26 @@
{% if data.show_bidder_seq_diagram %} {% if data.show_bidder_seq_diagram %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="hide_bidder_seq_diagram" type="submit" value="Hide Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="hide_bidder_seq_diagram" type="submit" value="Hide Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Hide Bidder Sequence Diagram</span> <span>Hide Bidder Sequence Diagram</span>
</button> </button>
</div> </div>
{% else %} {% else %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="show_bidder_seq_diagram" type="submit" value="Show Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="show_bidder_seq_diagram" type="submit" value="Show Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Show Bidder Sequence Diagram</span> <span>Show Bidder Sequence Diagram</span>
</button> </button>
</div> </div>
{% endif %} {% endif %}
{% if data.show_offerer_seq_diagram %} {% if data.show_offerer_seq_diagram %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="hide_offerer_seq_diagram" type="submit" value="Hide Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="hide_offerer_seq_diagram" type="submit" value="Hide Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Hide Offerer Sequence Diagram</span> <span>Hide Offerer Sequence Diagram</span>
</button> </button>
</div> </div>
{% else %} {% else %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="show_offerer_seq_diagram" type="submit" value="Show Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="show_offerer_seq_diagram" type="submit" value="Show Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Show Offerer Sequence Diagram</span> <span>Show Offerer Sequence Diagram</span>
</button> </button>
</div> </div>
@ -448,11 +448,11 @@
</form> </form>
{% if data.show_bidder_seq_diagram %} {% if data.show_bidder_seq_diagram %}
<img src="/static/sequence_diagrams/bidder.alt.xu.min.svg" /> <img src="/static/sequence_diagrams/bidder.alt.xu.min.svg" />
{% endif %} {% endif %}
{% if data.show_offerer_seq_diagram %} {% if data.show_offerer_seq_diagram %}
<img src="/static/sequence_diagrams/offerer.alt.xu.min.svg" /> <img src="/static/sequence_diagrams/offerer.alt.xu.min.svg" />
{% endif %} {% endif %}
</div> </div>

View File

@ -470,11 +470,11 @@
{% endif %} {% endif %}
{% if data.show_bidder_seq_diagram %} {% if data.show_bidder_seq_diagram %}
<!--<img src="/static/sequence_diagrams/xmr.bidder.alt.xu.min.svg" />--> <img src="/static/sequence_diagrams/xmr.bidder.alt.xu.min.svg" />
{% endif %} {% endif %}
{% if data.show_offerer_seq_diagram %} {% if data.show_offerer_seq_diagram %}
<!--<img src="/static/sequence_diagrams/xmr.offerer.alt.xu.min.svg" />--> <img src="/static/sequence_diagrams/xmr.offerer.alt.xu.min.svg" />
{% endif %} {% endif %}
{% if data.chain_a_lock_tx_inputs %} {% if data.chain_a_lock_tx_inputs %}
@ -566,26 +566,26 @@
{% if data.show_bidder_seq_diagram %} {% if data.show_bidder_seq_diagram %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="hide_bidder_seq_diagram" type="submit" value="Hide Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="hide_bidder_seq_diagram" type="submit" value="Hide Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Hide Bidder Sequence Diagram</span> <span>Hide Bidder Sequence Diagram</span>
</button> </button>
</div> </div>
{% else %} {% else %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="show_bidder_seq_diagram" type="submit" value="Show Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="show_bidder_seq_diagram" type="submit" value="Show Bidder Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Show Bidder Sequence Diagram</span> <span>Show Bidder Sequence Diagram</span>
</button> </button>
</div> </div>
{% endif %} {% endif %}
{% if data.show_offerer_seq_diagram %} {% if data.show_offerer_seq_diagram %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="hide_offerer_seq_diagram" type="submit" value="Hide Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="hide_offerer_seq_diagram" type="submit" value="Hide Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Hide Offerer Sequence Diagram</span> <span>Hide Offerer Sequence Diagram</span>
</button> </button>
</div> </div>
{% else %} {% else %}
<div class="w-full md:w-auto p-1.5"> <div class="w-full md:w-auto p-1.5">
<button name="show_offerer_seq_diagram" type="submit" value="Show Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none"> <button name="show_offerer_seq_diagram" type="submit" value="Show Offerer Sequence Diagram" 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 shadow-button focus:ring-0 focus:outline-none">
<span>Show Offerer Sequence Diagram</span> <span>Show Offerer Sequence Diagram</span>
</button> </button>
</div> </div>

View File

@ -243,7 +243,7 @@
<div class="pl-3 w-full"> <div class="pl-3 w-full">
<div class="text-gray-500 text-sm mb-1.5"> <div class="text-gray-500 text-sm mb-1.5">
<span class="font-semibold text-gray-900"> <span class="font-semibold text-gray-900">
UNKNOW EVENT</span><br/> UNKNOWN EVENT</span><br/>
<span class="mt-2 mb-2 inline-flex px-2.5 py-1.5 text-xs font-small monospace text-center text-white bg-gray-800 rounded-lg hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-300"> <span class="mt-2 mb-2 inline-flex px-2.5 py-1.5 text-xs font-small monospace text-center text-white bg-gray-800 rounded-lg hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-300">
{{ entry[1] }} {{ entry[1] }}
<div class="text-xs text-blue-600">{{ entry[0] }}</div> <div class="text-xs text-blue-600">{{ entry[0] }}</div>
@ -260,7 +260,7 @@
<circle cx="12" cy="12" r="4" stroke="#6b7280"></circle> <circle cx="12" cy="12" r="4" stroke="#6b7280"></circle>
</g> </g>
</svg> View all </svg> View all
</div> </div>
</a>--> </a>-->
</div> </div>
<!-- notifications --> <!-- notifications -->
@ -311,7 +311,7 @@
</div> </div>
</li> </li>
</ul> </ul>
<!-- tor --> <!-- tor -->
{% endif %} {% endif %}
</div> </div>
@ -703,4 +703,4 @@
floating_div.appendChild(messages); floating_div.appendChild(messages);
document.body.appendChild(floating_div); document.body.appendChild(floating_div);
</script> </script>
{% endif %} {% endif %}