mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Add loading view to notification.html (#6648)
This commit is contained in:
parent
b9d4d3d78e
commit
a257a73172
BIN
app/images/spinner.gif
Normal file
BIN
app/images/spinner.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
@ -1,16 +1,39 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html style="height:600px;">
|
<html style="height:600px;">
|
||||||
<head>
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>MetaMask Notification</title>
|
<title>MetaMask Notification</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#app-content {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
#loading__logo {
|
||||||
|
width: 10rem;
|
||||||
|
height: 10rem;
|
||||||
|
align-self: center;
|
||||||
|
margin: 10rem 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#loading__spinner {
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
align-self: center;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body class="notification" style="height:600px;">
|
<body class="notification" style="height:600px;">
|
||||||
<div id="app-content"></div>
|
<div id="app-content">
|
||||||
|
<img id="loading__logo" src="./images/logo/metamask-fox.svg" />
|
||||||
|
<img id="loading__spinner" src="./images/spinner.gif" />
|
||||||
|
</div>
|
||||||
<script src="./libs.js" type="text/javascript" charset="utf-8"></script>
|
<script src="./libs.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="./ui.js" type="text/javascript" charset="utf-8"></script>
|
<script src="./ui.js" type="text/javascript" charset="utf-8"></script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user