Browse Source

style: apply Prettier

pull/604/head
Andrea PIERRÉ 3 years ago
parent
commit
12aff9e9e5
No known key found for this signature in database GPG Key ID: 78A39B4A078E6C06
1 changed files with 30 additions and 9 deletions
  1. +30
    -9
      packages/lesspass-pure/src/components/MasterPassword.vue

+ 30
- 9
packages/lesspass-pure/src/components/MasterPassword.vue View File

@@ -33,22 +33,43 @@
v-on:input="updateValue($event.target.value)"
v-on:keyup.enter="$emit('keyupEnter')"
/>
<span class="input-group-btn" v-if="fingerprint && value" v-on:click="togglePasswordType">
<span
class="input-group-btn"
v-if="fingerprint && value"
v-on:click="togglePasswordType"
>
<button id="fingerprint" class="btn" type="button" tabindex="-1">
<small>
<i class="fa fa-fw" v-bind:class="[icon1]" v-bind:style="{ color: color1 }"></i>
<i class="fa fa-fw" v-bind:class="[icon2]" v-bind:style="{ color: color2 }"></i>
<i class="fa fa-fw" v-bind:class="[icon3]" v-bind:style="{ color: color3 }"></i>
<i
class="fa fa-fw"
v-bind:class="[icon1]"
v-bind:style="{ color: color1 }"
></i>
<i
class="fa fa-fw"
v-bind:class="[icon2]"
v-bind:style="{ color: color2 }"
></i>
<i
class="fa fa-fw"
v-bind:class="[icon3]"
v-bind:style="{ color: color3 }"
></i>
</small>
</button>
</span>
</div>
<small>
<div class="form-check form-switch"
v-if="showEncryptButton">
<input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked"
v-bind:disabled="email === ''">
<label class="form-check-label" for="flexSwitchCheckChecked">{{ PlainCheckboxText }}</label>
<div class="form-check form-switch" v-if="showEncryptButton">
<input
class="form-check-input"
type="checkbox"
id="flexSwitchCheckChecked"
v-bind:disabled="email === ''"
/>
<label class="form-check-label" for="flexSwitchCheckChecked">{{
PlainCheckboxText
}}</label>
</div>
</small>
</div>


Loading…
Cancel
Save