|
2 | 2 | <div class="w-100"> |
3 | 3 | <b-navbar toggleable="lg" type="dark" variant="info" :sticky="true" fixed="top" |
4 | 4 | style="position: fixed;background: linear-gradient(-45deg, #146eb9 1%, #146eb9 48%, #146eb9);"> |
5 | | - <b-navbar-brand><img width="24px" src="images/logo48.png"/> <span class="small mr-1">SMART 2FA</span> |
| 5 | + <b-navbar-brand><img width="24px" src="images/logo48.png" alt="logo"/> <span class="small mr-1">SMART 2FA</span> |
6 | 6 | <span class="badge badge-success" |
7 | 7 | style="border: solid 1px rgba(35,59,93,0.76);" v-html="(seconds < 10 ? '0' + seconds : seconds)"> |
8 | 8 | </span> |
|
14 | 14 | <b-nav-item @click="op = 'importKeys'; ddShow = false"> |
15 | 15 | <span class="text-white">{{ $t('import_from_google') }}</span> |
16 | 16 | </b-nav-item> |
17 | | - <b-nav-item v-show="isElectron" v-b-modal.modal-save-file> |
| 17 | + <!-- v-show="isElectron" --> |
| 18 | + <b-nav-item v-b-modal.modal-save-file> |
18 | 19 | <span class="text-white">{{ $t('save_to_file') }}</span> |
19 | 20 | </b-nav-item> |
20 | 21 | </b-navbar-nav> |
|
30 | 31 | </b-navbar> |
31 | 32 |
|
32 | 33 |
|
| 34 | + <div v-if="op!=='home'" style="position: relative; max-width: 800px; height: 100vh; background: rgba(0,0,0,0.5); z-index: 200000;"> |
| 35 | + <div class="text-center text-white" style="margin-top: 20px;"> |
| 36 | + <b-spinner variant="primary" label="Loading..."></b-spinner> |
| 37 | + </div> |
| 38 | + |
33 | 39 | <div v-if="op === 'importKeys'" |
34 | 40 | style="backdrop-filter: blur(4px); background: rgba(43,68,87,0.63); width: 100%; height: 100vh; position: absolute; top:0; padding: 4% !important; margin: 0 !important; z-index: 200000;"> |
35 | 41 | <QrScanImport2fa |
36 | 42 | style="margin-left: auto; margin-right: auto; width:250px; height:250px; border: solid 2px #333;margin-top: 50px;"/> |
37 | | - <div style="margin-left: auto; margin-right: auto;width:25px;margin-bottom: 5px; margin-top: 25px;"> |
| 43 | + <div style="width:25px;margin: 25px auto 5px;"> |
38 | 44 | <b-button @click="op = 'home'" :pill="true" variant="success">X</b-button> |
39 | 45 | </div> |
40 | 46 | <p class="text-white">{{ $t('google_migrate_info') }}</p> |
|
82 | 88 |
|
83 | 89 | </div> |
84 | 90 |
|
| 91 | + </div> |
| 92 | + |
| 93 | + |
85 | 94 | <div class="row"> |
86 | 95 | <div class="container" style="margin-top:55px;padding-bottom: 48px;position: relative;"> |
87 | 96 | <div class="w-100" style="background: rgb(193 51 162);position: fixed; margin-top: 0px"> |
|
119 | 128 |
|
120 | 129 | </div> |
121 | 130 |
|
122 | | - <img @click="ddShow = !ddShow" class="btnBotAdd" src="images/add.png"/> |
| 131 | + <img @click="ddShow = !ddShow" class="btnBotAdd" src="images/add.png" alt="add"/> |
123 | 132 | <div v-show="ddShow" |
124 | 133 | style="border-radius: 6px 6px 0 6px; position: absolute; bottom: 56px;right: 15px; background: linear-gradient(-45deg, #4eabf7 1%, #4eabf7 48%, #4eabf7);"> |
125 | 134 | <b-nav vertical class="w-100"> |
|
0 commit comments