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> | ||||
|      <head> | ||||
|           <script src="../../styles/external/materialize/js/materialize.js"></script>  | ||||
|           <script src="../../scripts/pages/popup.js" type="module"></script>  | ||||
|           <link href="../../styles/popup.css" rel="stylesheet" type="text/css" /> | ||||
|      </head> | ||||
|      <body class="loading"> | ||||
|           <label class="flow-text" for="loading"></label> | ||||
|           <div class="progress" data-value="progress"> | ||||
|                <div class="indeterminate"></div> | ||||
|           </div> | ||||
|      </body> | ||||
| 	<head> | ||||
| 		<script src="../../styles/external/materialize/js/materialize.js"></script>  | ||||
| 		<script src="../../scripts/pages/popup.js" type="module"></script>  | ||||
| 	</head> | ||||
| 	<body class="loading"> | ||||
| 		<label class="flow-text" for="loading"></label> | ||||
| 		<div class="progress" data-value="progress"> | ||||
| 			<div class="indeterminate"></div> | ||||
| 		</div> | ||||
| 	</body> | ||||
| </html> | ||||
|  | @ -12,7 +12,7 @@ import logging from "/scripts/logging.js"; | |||
| 
 | ||||
| class Page_Popup extends Page { | ||||
| 	constructor() { | ||||
| 		super(); | ||||
| 		super({"headers": {"CSS": [`/styles/popup.css`]}}); | ||||
| 		this.content(); | ||||
| 		this.background(); | ||||
| 		this.events(); | ||||
|  | @ -23,7 +23,6 @@ class Page_Popup extends Page { | |||
| 		observe((changes) => { | ||||
| 			this.update(); | ||||
| 			this.switch(); | ||||
| 			// First, update site data but retain the URL. 
 | ||||
| 		}); | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue