Add cookie note so we don't break the law
This commit is contained in:
		
							parent
							
								
									db45433ec4
								
							
						
					
					
						commit
						ba9ba3a55e
					
				| 
						 | 
				
			
			@ -95,6 +95,14 @@ legend {
 | 
			
		|||
    margin-bottom: 8px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.cookie-note {
 | 
			
		||||
    border-top: 1px solid var(--border_grey);
 | 
			
		||||
    border-bottom: 1px solid var(--border_grey);
 | 
			
		||||
    padding: 6px 0 8px 0;
 | 
			
		||||
    margin-bottom: 8px;
 | 
			
		||||
    margin-top: 16px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ul {
 | 
			
		||||
    padding-left: 1.3em;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,6 +39,9 @@ proc renderPreferences*(prefs: Prefs; path: string; themes: seq[string]): VNode
 | 
			
		|||
 | 
			
		||||
        renderPrefs()
 | 
			
		||||
 | 
			
		||||
        h4(class="cookie-note"):
 | 
			
		||||
          text "Preferences are stored client-side using cookies without any personal information."
 | 
			
		||||
 | 
			
		||||
        button(`type`="submit", class="pref-submit"):
 | 
			
		||||
          text "Save preferences"
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue