Browse Source

make info alert more visible in default options view

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
46f864f79e
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      src/views/ConfigureOptions.vue

+ 10
- 10
src/views/ConfigureOptions.vue View File

@@ -1,6 +1,16 @@
<template> <template>
<div> <div>
<div class="form-group"> <div class="form-group">
<div class="alert alert-info" v-if="defaultPassword.version===2">
Default options are automatically saved <strong>locally</strong></small>
</div>
<div class="alert alert-danger" v-if="defaultPassword.version===1">
Version 1 is deprecated and will be removed in
<strong aria-label="April, 10 2017" class="hint--right">{{ getDayBeforeOnlyV2() }} days</strong>.
We strongly advise you to migrate your passwords to version 2.
</div>
</div>
<div class="form-group">
<label for="login">Login</label> <label for="login">Login</label>
<div class="inner-addon left-addon"> <div class="inner-addon left-addon">
<i class="fa fa-user"></i> <i class="fa fa-user"></i>
@@ -16,16 +26,6 @@
</div> </div>
</div> </div>
<options v-bind:password="defaultPassword" v-on:optionsUpdated="updatePassword"></options> <options v-bind:password="defaultPassword" v-on:optionsUpdated="updatePassword"></options>
<div class="form-group">
<div class="alert alert-info" v-if="defaultPassword.version===2">
Default options are automatically saved <strong>locally</strong></small>
</div>
<div class="alert alert-danger" v-if="defaultPassword.version===1">
Version 1 is deprecated and will be removed in
<strong aria-label="April, 10 2017" class="hint--right">{{ getDayBeforeOnlyV2() }} days</strong>.
We strongly advise you to migrate your passwords to version 2.
</div>
</div>
</div> </div>
</template> </template>




Loading…
Cancel
Save