| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | <template> | 
					
						
							| 
									
										
										
										
											2020-03-30 14:26:19 +02:00
										 |  |  |   <v-app class="srd"> | 
					
						
							| 
									
										
										
										
											2020-03-30 11:03:20 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <NavDrawer /> | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  |     <RightDrawer v-if="hasRightDrawer" /> | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-28 10:42:54 +01:00
										 |  |  |     <Navbar /> | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-28 10:42:54 +01:00
										 |  |  |     <v-content> | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  |       <v-container fluid> | 
					
						
							| 
									
										
										
										
											2020-03-30 11:03:20 +02:00
										 |  |  |         <v-row align="start" justify="center"> | 
					
						
							|  |  |  |           <v-col cols="12"> | 
					
						
							|  |  |  |             <DefaultGlobalLayout/> | 
					
						
							|  |  |  |           </v-col> | 
					
						
							| 
									
										
										
										
											2020-03-28 10:42:54 +01:00
										 |  |  |         </v-row> | 
					
						
							|  |  |  |       </v-container> | 
					
						
							| 
									
										
										
										
											2020-04-10 16:37:48 +02:00
										 |  |  |       <v-overlay :value="loading"> | 
					
						
							|  |  |  |         <v-progress-circular indeterminate size="64"></v-progress-circular> | 
					
						
							|  |  |  |       </v-overlay> | 
					
						
							| 
									
										
										
										
											2020-03-28 10:42:54 +01:00
										 |  |  |     </v-content> | 
					
						
							|  |  |  |   </v-app> | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | </template> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script> | 
					
						
							|  |  |  | import GlobalLayout from '@app/components/GlobalLayout.vue' | 
					
						
							|  |  |  | import Navbar from '@theme/components/Navbar.vue' | 
					
						
							| 
									
										
										
										
											2020-03-30 11:03:20 +02:00
										 |  |  | import NavDrawer from '@theme/components/NavDrawer.vue' | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  | import RightDrawer from '@theme/components/RightDrawer.vue' | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | export default { | 
					
						
							|  |  |  |   name: 'GlobalLayout', | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   components: { | 
					
						
							|  |  |  |     DefaultGlobalLayout: GlobalLayout, | 
					
						
							| 
									
										
										
										
											2020-03-30 11:03:20 +02:00
										 |  |  |     Navbar, | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  |     NavDrawer, | 
					
						
							|  |  |  |     RightDrawer | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  |   }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   data () { | 
					
						
							|  |  |  |     return { | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   computed: { | 
					
						
							| 
									
										
										
										
											2020-04-10 16:37:48 +02:00
										 |  |  |     loading () { | 
					
						
							|  |  |  |       return this.$store.state.loading | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2020-04-01 19:34:06 +02:00
										 |  |  |     hasRightDrawer() { | 
					
						
							|  |  |  |       return this.$store.state.hasRightDrawer | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  |   }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   mounted () { | 
					
						
							| 
									
										
										
										
											2020-04-05 14:38:20 +02:00
										 |  |  |     this.$vuetify.theme.dark = this.$store.state.isThemeDark | 
					
						
							| 
									
										
										
										
											2020-03-26 19:04:23 +01:00
										 |  |  |   }, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   methods: { | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | </script> |