Add loading view to notification.html (#6648)

feature/default_network_editable
Chi Kei Chan 6 years ago committed by GitHub
parent b9d4d3d78e
commit a257a73172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. BIN
      app/images/spinner.gif
  2. 25
      app/notification.html

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…
Cancel
Save