mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +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>
|
||||
<html style="height:600px;">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="utf-8">
|
||||
<title>MetaMask Notification</title>
|
||||
<style>
|
||||
body {
|
||||
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>
|
||||
</head>
|
||||
<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="./ui.js" type="text/javascript" charset="utf-8"></script>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user