mirror of
				https://ceregatti.org/git/daniel/dayzdockerserver.git
				synced 2025-10-31 21:43:31 +00:00 
			
		
		
		
	 29ce456543
			
		
	
	
		29ce456543
		
	
	
	
	
		
			
			Refactor the DOM to allow for "sections". Add our start.sh scripts to /usr/local/bin in the image. Add a config for Vue. Remove globalproperties, as this...sucks.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			488 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			488 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <script setup>
 | |
| import { useAppStore } from '@/stores/app.js'
 | |
| const store = useAppStore()
 | |
| </script>
 | |
| 
 | |
| <template>
 | |
|   <div class="row" v-if="store.section === 'servers'">
 | |
|     <div class="col text-center">
 | |
|       <div class="row">
 | |
|         <div class="col">
 | |
|           <h2>Servers</h2>
 | |
|         </div>
 | |
|       </div>
 | |
|       <div class="row flex-grow-1">
 | |
|         <div class="col-6 justify-content-end">Running</div>
 | |
|         <div class="col-6">Stopped</div>
 | |
|       </div>
 | |
|     </div>
 | |
|   </div>
 | |
| </template>
 |