include popup HTML CSS requirements
This commit is contained in:
		
							parent
							
								
									5f97e572a5
								
							
						
					
					
						commit
						6cf97c803e
					
				
					 2 changed files with 11 additions and 13 deletions
				
			
		|  | @ -1,13 +1,12 @@ | ||||||
| <html> | <html> | ||||||
|      <head> | 	<head> | ||||||
|           <script src="../../styles/external/materialize/js/materialize.js"></script>  | 		<script src="../../styles/external/materialize/js/materialize.js"></script>  | ||||||
|           <script src="../../scripts/pages/popup.js" type="module"></script>  | 		<script src="../../scripts/pages/popup.js" type="module"></script>  | ||||||
|           <link href="../../styles/popup.css" rel="stylesheet" type="text/css" /> | 	</head> | ||||||
|      </head> | 	<body class="loading"> | ||||||
|      <body class="loading"> | 		<label class="flow-text" for="loading"></label> | ||||||
|           <label class="flow-text" for="loading"></label> | 		<div class="progress" data-value="progress"> | ||||||
|           <div class="progress" data-value="progress"> | 			<div class="indeterminate"></div> | ||||||
|                <div class="indeterminate"></div> | 		</div> | ||||||
|           </div> | 	</body> | ||||||
|      </body> |  | ||||||
| </html> | </html> | ||||||
|  | @ -12,7 +12,7 @@ import logging from "/scripts/logging.js"; | ||||||
| 
 | 
 | ||||||
| class Page_Popup extends Page { | class Page_Popup extends Page { | ||||||
| 	constructor() { | 	constructor() { | ||||||
| 		super(); | 		super({"headers": {"CSS": [`/styles/popup.css`]}}); | ||||||
| 		this.content(); | 		this.content(); | ||||||
| 		this.background(); | 		this.background(); | ||||||
| 		this.events(); | 		this.events(); | ||||||
|  | @ -23,7 +23,6 @@ class Page_Popup extends Page { | ||||||
| 		observe((changes) => { | 		observe((changes) => { | ||||||
| 			this.update(); | 			this.update(); | ||||||
| 			this.switch(); | 			this.switch(); | ||||||
| 			// First, update site data but retain the URL. 
 |  | ||||||
| 		}); | 		}); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue