forked from MapComplete/MapComplete
		
	Refactoring: move all code files into a src directory
This commit is contained in:
		
							parent
							
								
									de99f56ca8
								
							
						
					
					
						commit
						e75d2789d2
					
				
					 389 changed files with 0 additions and 12 deletions
				
			
		
							
								
								
									
										34
									
								
								src/UI/BigComponents/NoThemeResultButton.svelte
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								src/UI/BigComponents/NoThemeResultButton.svelte
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,34 @@ | |||
| <script context="module" lang="ts"> | ||||
|   export interface Theme { | ||||
|     id: string | ||||
|     icon: string | ||||
|     title: any | ||||
|     shortDescription: any | ||||
|     definition?: any | ||||
|     mustHaveLanguage?: boolean | ||||
|     hideFromOverview: boolean | ||||
|     keywords?: any[] | ||||
|   } | ||||
| </script> | ||||
| 
 | ||||
| <script lang="ts"> | ||||
|   import { UIEventSource } from "../../Logic/UIEventSource" | ||||
|   import Svg from "../../Svg" | ||||
|   import ToSvelte from "../Base/ToSvelte.svelte" | ||||
|   import Translations from "../i18n/Translations" | ||||
|   import Tr from "../Base/Tr.svelte" | ||||
| 
 | ||||
|   export let search: UIEventSource<string> | ||||
| 
 | ||||
|   const t = Translations.t.general.morescreen | ||||
| </script> | ||||
| 
 | ||||
| <div class="w-full"> | ||||
|   <h5>{t.noMatchingThemes.toString()}</h5> | ||||
|   <div class="flex justify-center"> | ||||
|     <button on:click={() => search.setData("")}> | ||||
|       <ToSvelte construct={Svg.search_disable_svg().SetClass("w-6 mr-2")} /> | ||||
|       <Tr slot="message" t={t.noSearch} /> | ||||
|     </button> | ||||
|   </div> | ||||
| </div> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue