broadfield-dev commited on
Commit
c4a29ef
·
verified ·
1 Parent(s): d695e20

Create loading.html

Browse files
Files changed (1) hide show
  1. templates/loading.html +56 -0
templates/loading.html ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Loading RSS Feeds</title>
7
+ <style>
8
+ body {
9
+ font-family: 'Arial', sans-serif;
10
+ margin: 0;
11
+ padding: 20px;
12
+ background-color: #f5f5f5;
13
+ color: #333;
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: center;
17
+ height: 100vh;
18
+ }
19
+ .loading-message {
20
+ text-align: center;
21
+ font-size: 1.5em;
22
+ color: #2c3e50;
23
+ }
24
+ #loading {
25
+ display: block;
26
+ position: fixed;
27
+ top: 0;
28
+ left: 0;
29
+ width: 100%;
30
+ height: 100%;
31
+ background: rgba(0,0,0,0.5);
32
+ z-index: 1000;
33
+ }
34
+ .loader {
35
+ position: absolute;
36
+ top: 50%;
37
+ left: 50%;
38
+ transform: translate(-50%, -50%);
39
+ width: 50px;
40
+ height: 50px;
41
+ border: 5px solid #f3f3f3;
42
+ border-top: 5px solid #3498db;
43
+ border-radius: 50%;
44
+ animation: spin 1s linear infinite;
45
+ }
46
+ @keyframes spin {
47
+ 0% { transform: translate(-50%, -50%) rotate(0deg); }
48
+ 100% { transform: translate(-50%, -50%) rotate(360deg); }
49
+ }
50
+ </style>
51
+ </head>
52
+ <body>
53
+ <div id="loading"><div class="loader"></div></div>
54
+ <div class="loading-message">Loading RSS feeds...</div>
55
+ </body>
56
+ </html>