add loader for index.html.

pull/3445/head
ruibaby 2019-09-03 17:42:58 +08:00
parent fc03b7ebf4
commit f0dd09d68f
1 changed files with 25 additions and 20 deletions

View File

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cmn-Hans"> <html lang="zh-cmn-Hans">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
@ -8,16 +9,20 @@
<meta name="generator" content="Halo" /> <meta name="generator" content="Halo" />
<link rel="icon" href="<%= BASE_URL %>logo.png" /> <link rel="icon" href="<%= BASE_URL %>logo.png" />
<title>Halo Dashboard</title> <title>Halo Dashboard</title>
<style>
#loader{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;border:solid 3px #e5e5e5;border-top-color:#333;border-radius:50%;width:30px;height:30px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
</style>
</head> </head>
<body> <body>
<noscript> <noscript>
<strong <strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to
>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
continue.</strong
>
</noscript> </noscript>
<div id="app"></div> <div id="app">
<div id="loader"></div>
</div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
</body> </body>
</html> </html>