diff --git a/FireWalletBrowser.bsdesign b/FireWalletBrowser.bsdesign
index 0851dfc..2c9d800 100644
Binary files a/FireWalletBrowser.bsdesign and b/FireWalletBrowser.bsdesign differ
diff --git a/render.py b/render.py
index d0034e8..c3cdd39 100644
--- a/render.py
+++ b/render.py
@@ -210,34 +210,35 @@ def dns(data, edit=False):
html_output = ""
index = 0
for entry in data:
+ print(entry, flush=True)
html_output += f"
| {entry['type']} | \n"
if entry['type'] != 'DS' and not entry['type'].startswith("GLUE") and not entry['type'].startswith("SYNTH"):
for key, value in entry.items():
if key != 'type':
if isinstance(value, list):
- html_output += "\n"
- for val in value:
- html_output += f"{val} \n"
-
- html_output += " | \n"
+ if len(value) > 1:
+ html_output += '\n'
+ for val in value:
+ html_output += f"{val} \n"
+ html_output += " | \n"
+ else:
+ html_output += f'{value[0]} | \n'
else:
- html_output += f"{value} | \n"
-
+ html_output += f'{value} | \n'
elif entry['type'] == 'DS':
ds = f"{entry['keyTag']} {entry['algorithm']} {entry['digestType']} {entry['digest']}"
- html_output += f"{ds} | \n"
+ html_output += f'{ds} | \n'
else:
value = ""
for key, val in entry.items():
if key != 'type':
value += f'{val} '
- html_output += f"{value} | \n"
+ html_output += f'{value.strip()} | \n'
if edit:
- # Remove the current entry from the list
keptRecords = str(data[:index] + data[index+1:]).replace("'", '"')
keptRecords = urllib.parse.quote(keptRecords)
html_output += f"Remove | \n"
@@ -246,6 +247,7 @@ def dns(data, edit=False):
index += 1
return html_output
+
def txs(data):
data = data[::-1]
diff --git a/templates/components/tx.html b/templates/components/tx.html
index ca7379c..f1a386b 100644
--- a/templates/components/tx.html
+++ b/templates/components/tx.html
@@ -1,5 +1,4 @@
TX: {{tx}}
Check your transaction on a block explorer
-Niami
+ShakeShift
3xpl
-ShakeShift
\ No newline at end of file
diff --git a/templates/search.html b/templates/search.html
index 075f73f..0763182 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -87,27 +87,6 @@
{{dns | safe}}
-
-
-
-
-
-
-
-
History
-
-
-
- | Action |
- TX |
- Amount |
- Time |
-
-
-
- {{txs | safe}}
-
-
diff --git a/templates/success.html b/templates/success.html
index 27542b4..bb71a01 100644
--- a/templates/success.html
+++ b/templates/success.html
@@ -67,7 +67,7 @@
-
Your transaction has been sent and will be mined soon.
TX: {{tx}}Check your transaction on a block explorerNiami3xplShakeShift
+
Your transaction has been sent and will be mined soon.
TX: {{tx}}Check your transaction on a block explorerShakeShift3xpl