Commit f5329b707cdfc7d36a22f6648739804d946b1dcf

Authored by Amber Dev
1 parent dcbf19cba4

added form reset to announcement

... ... @@ -20,7 +20,7 @@
20 20 </style> -->
21 21 </head>
22 22  
23   -<body>
  23 +<body >
24 24 <div id="app">
25 25 </div>
26 26 <!-- built files will be auto injected -->
... ...
... ... @@ -4,10 +4,10 @@
4 4 <!-- Go to top -->
5 5 <v-app id="inspire" class="app">
6 6 <app-drawer class="app--drawer"></app-drawer>
7   - <v-content>
  7 + <v-content >
8 8 <div class="page-wrapper">
9 9 <!-- Header toolbar with Seacrh -->
10   - <app-toolbar class="app--toolbar"></app-toolbar>
  10 + <app-toolbar class="app--toolbar" ></app-toolbar>
11 11 <router-view :key="$route.fullPath"></router-view>
12 12 </div>
13 13 <!-- App Footer -->
... ...
src/components/pageHeader/AppDrawer.vue
... ... @@ -9,6 +9,7 @@
9 9 hide-overlay
10 10 width="260"
11 11 class="white--text side-bar-color"
  12 + style='height: 100%;'
12 13 >
13 14 <!-- <vue-perfect-scrollbar
14 15 class="drawer-menu--scroll side-bar-color mt-3"
... ...
src/pages/Annoucement/annoucement.vue
... ... @@ -323,7 +323,7 @@
323 323 <v-layout>
324 324 <v-flex xs12>
325 325 <label class="title text-xs-center">Add Annoucement</label>
326   - <v-icon size="24" class="right" @click="addAnnoucementDialog = false">cancel</v-icon>
  326 + <v-icon size="24" class="right" @click="$refs.form.reset();addAnnoucementDialog = false">cancel</v-icon>
327 327 </v-flex>
328 328 </v-layout>
329 329 <v-container fluid>
... ...
src/pages/Attendence/studentAttendence.vue
... ... @@ -121,7 +121,7 @@
121 121 <v-layout>
122 122 <v-flex xs12>
123 123 <label class="title text-xs-center">Add Student Attendence</label>
124   - <v-icon size="24" class="right" @click="addStudentAttendenceDialog = false">cancel</v-icon>
  124 + <v-icon size="24" class="right" @click="$refs.form.reset();addStudentAttendenceDialog = false">cancel</v-icon>
125 125 </v-flex>
126 126 </v-layout>
127 127 <v-flex xs12 class="mt-4">
... ... @@ -437,7 +437,8 @@ export default {
437 437 },
438 438  
439 439 displaySearch() {
440   - (this.show = false), (this.showSearch = true);
  440 + this.show = false
  441 + this.showSearch = true;
441 442 },
442 443 closeSearch() {
443 444 this.showSearch = false;
... ...
src/pages/Library/books.vue
... ... @@ -271,7 +271,7 @@
271 271 <v-layout>
272 272 <v-flex xs12>
273 273 <label class="title text-xs-center">Add Book</label>
274   - <v-icon size="24" class="right" @click="addBookDialog = false">cancel</v-icon>
  274 + <v-icon size="24" class="right" @click="$refs.form.reset();addBookDialog = false">cancel</v-icon>
275 275 </v-flex>
276 276 </v-layout>
277 277 <v-container fluid fill-height>
... ...