File tree Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Expand file tree Collapse file tree 4 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 11<template >
22 <v-card variant =" flat" color =" transparent" >
33 <v-card-text >
4- <v-list-item class =" px-0" :prepend-avatar =" 'https://avatars.githubusercontent.com/u/' + props.userid + '?s=80'" >
4+ <v-list-item class =" px-0" :prepend-avatar =" !xs ? UserImageLink : undefined" >
5+ <v-list-item-media v-if =" xs" >
6+ <v-icon >
7+ <v-img :src =" UserImageLink" ></v-img >
8+ </v-icon >
9+ </v-list-item-media >
510 <v-list-item-title class =" text-body-2 text-white" >
6- <a :href =" 'https://github.com/' + props.user" class =" text-decoration-none" >{{ props.name }} <span class =" d-none d-lg-inline" >( @{{ props.user }})</span ></a >
11+ <a :href =" 'https://github.com/' + props.user" class =" text-decoration-none" ><span class =" d-none d-lg-inline" >{{ props.name }} (</ span > @{{ props.user }}< span class = " d-none d-lg-inline " > )</span ></a >
712 </v-list-item-title >
813 <v-list-item-subtitle >
914 {{ props.role }}
1722</template >
1823
1924<script setup lang="ts">
20- const props = defineProps ([' user' , ' userid' , ' name' , ' role' ])
25+ import { useDisplay } from ' vuetify' ;
26+ import { computed } from ' vue' ;
27+
28+ const props = defineProps ([' user' , ' userid' , ' name' , ' role' ]);
29+ const { xs } = useDisplay ();
30+
31+ const UserImageLink = computed (() => {
32+ return ' https://avatars.githubusercontent.com/u/' + props .userid + ' ?s=80' ;
33+ });
2134 </script >
2235
2336<style >
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ term.onData(e => {
333333 </script >
334334
335335<script setup lang="ts">
336- import { onMounted , onUnmounted } from ' vue' ;
336+ import { onMounted } from ' vue' ;
337337import { useDisplay } from ' vuetify' ;
338338
339339const { smAndDown } = useDisplay ();
Original file line number Diff line number Diff line change 55 <default-view />
66
77 <v-footer class =" text-center d-flex flex-column" >
8- <v-breadcrumbs divider =" ●" >
8+ <v-breadcrumbs divider =" ●" class = " text-no-wrap " >
99 <v-breadcrumbs-item >Scapy community</v-breadcrumbs-item >
1010 <v-breadcrumbs-divider />
1111 <v-breadcrumbs-item >2008-{{ currentYear }}</v-breadcrumbs-item >
1212 <v-breadcrumbs-divider />
1313 <v-breadcrumbs-item ><a href =" https://scapy.net" >scapy.net</a ></v-breadcrumbs-item >
1414 </v-breadcrumbs >
1515 <p >
16- This website is published under <a href =" https://creativecommons.org/licenses/by-sa/4.0/" >CC-BY-SA-2.5</a >
16+ This website is published under <a href =" https://creativecommons.org/licenses/by-sa/4.0/" >CC-BY-SA-2.5</a > and was developped by < a href = " https://github.com/gpotter2 " >gpotter2</ a >.
1717 </p >
1818 </v-footer >
1919 </v-app >
Original file line number Diff line number Diff line change 8383 <v-col cols =" 12" lg =" 5" >
8484 <TerminalFrame style =" position : relative ;" >
8585 <XTerm :static =" DEMO_CODE" class =" scapy-term" />
86- <div style =" position : absolute ; right : 5 px ; bottom : 5 px ;" >
86+ <div style =" position : absolute ; right : 20 px ; bottom : 20 px ;" >
8787 <v-tooltip text =" Try Scapy" location =" start" >
8888 <template v-slot :activator =" { props } " >
89- <v-btn v-bind =" props" class =" px-0" min-width =" 36px" color =" yellow" @click =" setTryScapy(true)" >
89+ <v-btn v-bind =" props" class =" px-0 text-center " min-width =" 36px" color =" yellow" @click =" setTryScapy(true)" >
9090 <span class =" font-weight-bold" >>_</span >
9191 </v-btn >
9292 </template >
You can’t perform that action at this time.
0 commit comments