1
0
mirror of https://github.com/oceanprotocol/faucet.git synced 2024-11-22 01:36:57 +01:00

+ oceanic theme

This commit is contained in:
“ciscodacunha” 2020-10-21 19:46:54 +02:00
parent 242d18c80a
commit c6e11b3b17
3 changed files with 19 additions and 3 deletions

View File

@ -136,3 +136,19 @@
text-align: end;
margin-top: 10px;
}
.btn-primary {
background-color: #ff4092;
border-color: #ff4092;
}
.btn-primary:hover {
background-color: #f0267e;
border-color: #f0267e;
}
.btn-primary:active {
background-color: #7b1173;
box-shadow: 0 5px #666;
transform: translateY(2px);
}

View File

@ -51,7 +51,7 @@
<% if(message && success) { %>
<div class="notify text-center">
<h5 class="success"><%= message %></h5>
<a><%= link %></a>
<a target="_blank" href="https://rinkeby.etherscan.io/tx/<%= txHash %>"><%= txHash%></a>
</div>
<% } else { %>
<div class="notify text-center">

View File

@ -70,8 +70,8 @@ app.get("/send", async (req, res) => {
console.log("txHash - ", txHash);
let balance = await getBalance();
res.render("index.ejs", {
message: `Great!! test OCEANs are on the way - ${txHash}`,
link: `https://rinkeby.etherscan.io/tx/${txHash}`,
message: `Great!! test OCEANs are on the way !!`,
txHash,
success: true,
balance
});