Parcourir la source

Hide some elements for passing experiment

Jérôme BUISINE il y a 5 ans
Parent
commit
7a599e9c08
3 fichiers modifiés avec 13 ajouts et 4 suppressions
  1. 6 4
      src/App.vue
  2. 4 0
      src/components/ExperimentBlock.vue
  3. 3 0
      src/views/ExperimentValidated.vue

+ 6 - 4
src/App.vue

@@ -2,8 +2,10 @@
   <v-app :dark="darkMode">
     <div v-if="!loadingMessage && isGdprValidated && isHostConfigured">
       <ResetAppMenu ref="resetApp" />
+
+      <!-- DISABLE : This part is commented to disable view of menu when starting scene experiment -->
       <!-- Sidebar menu -->
-      <v-navigation-drawer
+      <!--<v-navigation-drawer
         v-model="drawer"
         clipped
         fixed
@@ -39,14 +41,14 @@
             </v-list-tile>
           </v-fade-transition>
         </v-list>
-      </v-navigation-drawer>
+      </v-navigation-drawer>-->
       <!--/ Sidebar menu -->
 
       <!-- Top bar -->
-      <v-toolbar app fixed clipped-left>
+      <!-- <v-toolbar app fixed clipped-left>
         <v-toolbar-side-icon @click.stop="drawer = !drawer" />
         <v-toolbar-title @click="showResetAppInMenu = !showResetAppInMenu">SIN3D</v-toolbar-title>
-      </v-toolbar>
+      </v-toolbar> -->
       <!--/ Top bar -->
     </div>
 

+ 4 - 0
src/components/ExperimentBlock.vue

@@ -4,12 +4,16 @@
       <v-layout row wrap>
         <!-- Experiment header -->
         <v-flex xs12>
+
+          <!-- DISABLE : This part is commented to disable view of back scene selection button when starting scene experiment -->
+          <!--
           <v-layout justify-start>
             <v-btn flat exact :to="`/experiments/${experimentName}`">
               <v-icon left>arrow_back</v-icon>
               Back to scene selection
             </v-btn>
           </v-layout>
+          -->
 
           <h2>Experiment "{{ $route.meta.fullName }}"</h2>
           <h3>{{ sceneName }}</h3>

+ 3 - 0
src/views/ExperimentValidated.vue

@@ -8,6 +8,8 @@
         <div class="headline">Experiment validated for the scene "{{ sceneName }}"</div>
         <v-spacer />
       </v-card-title>
+
+      <!--
       <v-card-actions>
         <v-spacer />
         <v-btn flat exact to="/experiments/">
@@ -26,6 +28,7 @@
         </v-btn>
         <v-spacer />
       </v-card-actions>
+      !-->
     </v-card>
   </div>
 </template>