File tree Expand file tree Collapse file tree
src/Dashboard/client/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 >Read-only</span
3131 >
3232 </div >
33+ <div v-if =" azureConnected && azureUserEmail" class =" portal-header-right" >
34+ <span class =" portal-header-email" >{{ azureUserEmail }}</span >
35+ <button
36+ class =" portal-header-disconnect"
37+ @click =" disconnectAzure"
38+ title =" Disconnect Azure"
39+ >
40+ <svg
41+ width =" 14"
42+ height =" 14"
43+ viewBox =" 0 0 24 24"
44+ fill =" none"
45+ stroke =" currentColor"
46+ stroke-width =" 2"
47+ stroke-linecap =" round"
48+ stroke-linejoin =" round"
49+ >
50+ <line x1 =" 18" y1 =" 6" x2 =" 6" y2 =" 18" />
51+ <line x1 =" 6" y1 =" 6" x2 =" 18" y2 =" 18" />
52+ </svg >
53+ </button >
54+ </div >
3355 </header >
3456
3557 <!-- Auth loading overlay -->
12321254<script setup>
12331255import * as echarts from " echarts" ;
12341256import {
1235- computed ,
1236- nextTick ,
1237- onBeforeUnmount ,
1238- onMounted ,
1239- reactive ,
1240- ref ,
1241- watch ,
1257+ computed ,
1258+ nextTick ,
1259+ onBeforeUnmount ,
1260+ onMounted ,
1261+ reactive ,
1262+ ref ,
1263+ watch ,
12421264} from " vue" ;
12431265
12441266const props = defineProps ({
@@ -3204,6 +3226,33 @@ async function send() {
32043226 align- items: center;
32053227 gap: 8px ;
32063228}
3229+ .portal - header- email {
3230+ font- size: 12px ;
3231+ color: #fff;
3232+ opacity: 0.9 ;
3233+ white- space: nowrap;
3234+ overflow: hidden;
3235+ text- overflow: ellipsis;
3236+ max- width: 220px ;
3237+ }
3238+ .portal - header- disconnect {
3239+ background: none;
3240+ border: none;
3241+ color: rgba (255 , 255 , 255 , 0.8 );
3242+ cursor: pointer;
3243+ padding: 4px ;
3244+ border- radius: 4px ;
3245+ display: flex;
3246+ align- items: center;
3247+ justify- content: center;
3248+ transition:
3249+ background 0 .15s ,
3250+ color 0 .15s ;
3251+ }
3252+ .portal - header- disconnect: hover {
3253+ background: rgba (255 , 255 , 255 , 0.15 );
3254+ color: #fff;
3255+ }
32073256.portal - user- identity {
32083257 display: flex;
32093258 align- items: center;
You can’t perform that action at this time.
0 commit comments