55 <p class =" d-inline-block header" >Web Activity Time Tracker</p >
66 </div >
77 <p >
8- {{ t('block.message') }}< span >{{ webSite }}</ span >
8+ {{ t('block.message') }}
99 </p >
10+ <div >
11+ <img class =" favicon" height =" 35" :src =" favicon" />
12+ <span >{{ webSite }}</span >
13+ </div >
1014 <table >
1115 <tr >
1216 <td class =" title" >{{ t('limit.message') }}:</td >
2428 :value =" t('5mins.message')"
2529 @click =" deferring()"
2630 />
31+ <p class =" desctiption" >{{ t('deferringDescription.message') }}</p >
2732 </div >
2833</template >
2934
@@ -43,6 +48,7 @@ const settingsStorage = injecStorage();
4348const webSite = ref <string >();
4449const sourceUrl = ref <string >();
4550const limitTime = ref <number >();
51+ const favicon = ref <string >();
4652const limitTimeString = ref <string >();
4753const summaryCounter = ref <number >();
4854const allowDeferringBlock = ref <boolean >();
@@ -53,6 +59,7 @@ onMounted(async () => {
5359 webSite .value = queryObj .domain ?? ' ' ;
5460 sourceUrl .value = queryObj .url ?? ' ' ;
5561 limitTime .value = queryObj .limitTime ;
62+ favicon .value = queryObj .favicon ?? ' ' ;
5663 limitTimeString .value = convertLimitTimeToString (queryObj .limitTime );
5764 summaryCounter .value = queryObj .summaryCounter ?? 0 ;
5865
@@ -101,6 +108,7 @@ body {
101108.block-container span {
102109 font-weight : 600 ;
103110 font-size : 21px ;
111+ vertical-align : top ;
104112}
105113
106114.header {
@@ -130,4 +138,11 @@ table .title {
130138table .value {
131139 font-weight : 600 ;
132140}
141+ .desctiption {
142+ font-size : 13px !important ;
143+ color : #4a4a4a ;
144+ }
145+ .favicon {
146+ margin : 0 10px ;
147+ }
133148 </style >
0 commit comments