Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions seedelf-platform/seedelf-cli/static/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ body {
width: 100%;
margin: 0;
padding: 0;
background-color: #222831;
background-color: #121212;
color: #FEEFEE;
font-family: 'Comfortaa', sans-serif;
background-image: -o-linear-gradient(#222831, #222831 50px, #121212 100px);
background-image: linear-gradient(#222831, #222831 50px, #121212 100px);
overflow-x: hidden;
}

Expand Down Expand Up @@ -64,7 +62,7 @@ section {
}

.nav-bar {
background-color: #2E3440;
background-color: #121212;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
Expand All @@ -75,15 +73,8 @@ section {
-ms-flex-align: center;
align-items: center;
width: 100%;
border-bottom: 1px solid transparent;
/* Adjust thickness as needed */
background-image: -webkit-gradient(linear, left top, right top, from(#2E3440), to(#222831)), -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(transparent));
background-image: -o-linear-gradient(left, #2E3440, #222831), -o-linear-gradient(top, rgba(0, 0, 0, 0.1), transparent);
background-image: linear-gradient(to right, #2E3440, #222831), linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
background-origin: border-box;
background-clip: content-box, border-box;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 25px;
-webkit-box-sizing: border-box;
box-sizing: border-box;

Expand Down
5 changes: 3 additions & 2 deletions seedelf-platform/seedelf-cli/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ async function initializePage() {
complete_tx = injectedData.message.replace(redeemer_part, sig) + redeemer_part.slice(2);
}

// lets use cardanoscan to view it
let tx_hash = await wallet.submitTx(complete_tx);
// submitTx can return an error here so we want to catch that else it returns the tx hash
const tx_hash = await wallet.submitTx(complete_tx);

txLinkElement.href = "https://" + injectedNetwork.network + "cardanoscan.io/transaction/" + tx_hash; // Set the href attribute
txLinkElement.textContent = "View Transaction On Cardanoscan";

Expand Down