Commit a5585d98e8972abd39365050d38cf3c8085c852c

Authored by Shikha Mishra
1 parent c62132b757

show school logo

Showing 1 changed file with 16 additions and 8 deletions   Show diff stats
src/pages/Report/studentReport.vue
... ... @@ -196,28 +196,36 @@
196 196 <!-- <img :src="userData.schoolLogoUrl" width="140" alt="logo" /> -->
197 197 <v-avatar>
198 198 <img :src="userData.schoolLogoUrl" v-if="userData.schoolLogoUrl" />
199   - <img src="/static/schoolIcons/INTRACK_White.png" v-else-if="!userData.schoolLogoUrl" />
  199 + <img
  200 + src="/static/schoolIcons/INTRACK_White.png"
  201 + v-else-if="!userData.schoolLogoUrl"
  202 + />
200 203 </v-avatar>
201 204 <p class="title">{{ userData.name }}</p>
202 205 <p>{{ userData.address }}</p>
203 206 </v-flex>
204   - <v-flex xs12 sm12 md12 class="text-xs-center" v-for="(studentReport,i) in getStudentsReportList" :key="i">
  207 + <v-flex
  208 + xs12
  209 + sm12
  210 + md12
  211 + class="text-xs-center"
  212 + v-for="(studentReport,i) in getStudentsReportList"
  213 + :key="i"
  214 + >
205 215 <v-avatar>
206 216 <img :src="studentReport.profilePicUrl" v-if="studentReport.profilePicUrl" />
207 217 <img src="/static/icon/user.png" v-else-if="!studentReport.profilePicUrl" />
208 218 </v-avatar>
209   - <p
210   - style="font-size:20px;margin:0px;margin-bottom:4px;"
211   - >{{ studentReport.name }}</p>
  219 + <p style="font-size:20px;margin:0px;margin-bottom:4px;">{{ studentReport.name }}</p>
212 220 <p
213 221 style="font-size:20px;color: #707478;margin:0px;margin-bottom:4px;"
214   - > Class : {{ studentReport.classId.classNum }}</p>
  222 + >Class : {{ studentReport.classId.classNum }}</p>
215 223 <p
216 224 style="font-size:20px;color: #707478;margin:0px;margin-bottom:4px;"
217   - > Section : {{ studentReport.sectionId.name }}</p>
  225 + >Section : {{ studentReport.sectionId.name }}</p>
218 226 <p
219 227 style="font-size:20px;color: #707478;margin:0px;margin-bottom:4px;"
220   - > RollNo : {{ studentReport.rollNo }}</p>
  228 + >RollNo : {{ studentReport.rollNo }}</p>
221 229 </v-flex>
222 230 </v-layout>
223 231 <v-data-table
... ...