Skip to content

Commit

Permalink
Merge pull request #1633 from obscuronet/jennifer/feat/copy_and_googl…
Browse files Browse the repository at this point in the history
…e_analytics

Gateway Fixes
  • Loading branch information
Jennievon authored Nov 7, 2023
2 parents 47bb9e6 + 1512867 commit e7ab386
Show file tree
Hide file tree
Showing 5 changed files with 1,030 additions and 919 deletions.
1 change: 1 addition & 0 deletions tools/walletextension/api/staticOG/check.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions tools/walletextension/api/staticOG/copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
188 changes: 107 additions & 81 deletions tools/walletextension/api/staticOG/index.html
Original file line number Diff line number Diff line change
@@ -1,106 +1,132 @@
<!DOCTYPE html>
<html lang="en">

<head>
<head>
<title>Obscuro Gateway</title>
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<script src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js" type="application/javascript"></script>
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<script
src="https://cdn.ethers.io/lib/ethers-5.2.umd.min.js"
type="application/javascript"
></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script type="module" src="javascript.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<link rel="stylesheet" href="style.css" />
<script
strategy="lazyOnload"
src="https://www.googletagmanager.com/gtag/js?id='G-XL6VWGQK1P'"
></script>
<script id="google-analytics">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-XL6VWGQK1P");
</script>
</head>

<body>
<body>
<div class="container-fluid">
<img src="obscuro.svg" alt="Obscuro logo" class="logo">
<img src="obscuro.svg" alt="Obscuro logo" class="logo" />
</div>

<div class="spinner" id="spinner"></div>

<div class="wrapper">
<div class="card-track">
<div class="card">
<div class="card-image">
<div class="begin-box" id="begin-box">
<h2 id="welcome">Welcome to the Obscuro Gateway</h2>
<form>
<div id="information">
Three clicks to setup encrypted communication between MetaMask
and the Obscuro Network.:
<ol>
<li>Hit Connect to Obscuro and start your journey</li>
<li>
Allow MetaMask to switch networks to the Obscuro Testnet
</li>
<li>
Sign the <b>Signature Request</b> (this is not a
transaction)
</li>
</ol>
</div>

<div class="wrapper">
<div class="card-track">
<div class="card">
<div class="card-image">
<div class="begin-box" id="begin-box">
<h2 id="welcome">Welcome to the Obscuro Gateway</h2>
<form>
<div id="information">Three clicks to setup encrypted communication between MetaMask and the Obscuro
Network.:
<ol>
<li>
Hit Connect to Obscuro and start your journey
</li>
<li>
Allow MetaMask to switch networks to the Obscuro Testnet
</li>
<li>
Sign the <b>Signature Request</b> (this is not a transaction)
</li>
</ol>
</div>
<span id="moreInfo">
<button type="button">More info</button>
</span>

<span id="moreInfo">
<button type="button">More info</button>
</span>

<br>
<div id="information2">
You are set up on Obscuro. Your connected accounts are below:
</div>
<a id="join" href="#">
<span></span>
<span></span>
<span></span>
<span></span>
Connect to Obscuro Testnet
</a>
<table id="accountsTable" border="1">
<thead>
<tr>
<th>Account</th>
<th>Connected</th>
</tr>
</thead>
<tbody id="tableBody">
<!-- Rows will be added here -->
</tbody>
</table>
<button class="btn btn-primary btn-lg btn-block mb-3 joined-button" id="revokeUserID">Revoke
Accounts</button>
<button class="btn btn-primary btn-lg btn-block mb-3 joined-button" id="requestTokens"
onclick=" window.open('https://discord.gg/crRtBAWFjx','_blank')">Request tokens on Discord</button>
<p id="status"></p>
</form>
<br />
<div id="information2">
You are set up on Obscuro. Your connected accounts are below:
</div>
<a id="join" href="#">
<span></span>
<span></span>
<span></span>
<span></span>
Connect to Obscuro Testnet
</a>
<table id="accountsTable" border="1">
<thead>
<tr>
<th>Account</th>
<th>Connected</th>
</tr>
</thead>
<tbody id="tableBody">
<!-- Rows will be added here -->
</tbody>
</table>
<button
class="btn btn-primary btn-lg btn-block mb-3 joined-button"
id="revokeUserID"
>
Revoke Accounts
</button>
<button
class="btn btn-primary btn-lg btn-block mb-3 joined-button"
id="requestTokens"
onclick=" window.open('https://discord.gg/crRtBAWFjx','_blank')"
>
Request tokens on Discord
</button>
<p id="status"></p>
</form>
</div>
<div class="card-gradient"></div>
<div class="card-letters"></div>
</div>
<div class="card-gradient"></div>
<div class="card-letters"></div>
</div>
</div>
</div>

<div id="versionDisplay"></div>

<div id="modal-container">
<div class="modal-background">
<div class="modal">
<p>By connecting your wallet to Obscuro and signing the signature request you will get a unique user
id, which is also your viewing key. It is contained in the RPC link and unique for each user. Do
not share this unless you want others to see the details of your transactions.</p>
<div class="modal-background">
<div class="modal">
<p>
By connecting your wallet to Obscuro and signing the signature
request you will get a unique user id, which is also your viewing
key. It is contained in the RPC link and unique for each user. Do
not share this unless you want others to see the details of your
transactions.
</p>

<p>
Signing the Signature Request is completely secure. It’s not a transaction so cannot spend any
of your assets and it doesn’t give Obscuro control over your account.
</p>
<p>
Basic RPC URL: https://testnet.obscu.ro
<br>
Chain ID: 443
</p>
</div>
<p>
Signing the Signature Request is completely secure. It’s not a
transaction so cannot spend any of your assets and it doesn’t give
Obscuro control over your account.
</p>
<p>
Basic RPC URL: https://testnet.obscu.ro
<br />
Chain ID: 443
</p>
</div>
</div>
</body>

</div>
</body>
</html>
Loading

0 comments on commit e7ab386

Please sign in to comment.