Browse Source

make the import selection more obvious, plus other verbiage

master
Trent Larson 4 days ago
parent
commit
9514de899c
  1. 2
      src/components/PushNotificationPermission.vue
  2. 49
      src/views/AccountViewView.vue

2
src/components/PushNotificationPermission.vue

@ -19,7 +19,7 @@
Would you like to be notified of new activity once a day? Would you like to be notified of new activity once a day?
</p> </p>
<p v-else class="text-lg mb-4"> <p v-else class="text-lg mb-4">
Waiting for system initialization, which may take up to 10 Waiting for system initialization, which may take up to 5
seconds... seconds...
<fa icon="spinner" spin /> <fa icon="spinner" spin />
</p> </p>

49
src/views/AccountViewView.vue

@ -424,24 +424,37 @@
<div class="ml-4 mt-2"> <div class="ml-4 mt-2">
<input type="file" @change="uploadImportFile" class="ml-2" /> <input type="file" @change="uploadImportFile" class="ml-2" />
<div v-if="showContactImport()" class="mt-4"> <transition
<button enter-active-class="transform ease-out duration-300 transition"
class="block text-center text-md bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md mb-6" enter-from-class="translate-y-2 opacity-0 sm:translate-y-4"
@click="confirmSubmitImportFile()" enter-to-class="translate-y-0 opacity-100 sm:translate-y-0"
> leave-active-class="transition ease-in duration-500"
Overwrite Settings & Contacts leave-from-class="opacity-100"
<br /> leave-to-class="opacity-0"
(which doesn't include Identifier Data) >
</button> <div v-if="showContactImport()" class="mt-4">
<button <div class="flex justify-center">
class="block text-center text-md bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md mb-6" <button
@click="checkContactImports()" class="block text-center text-md bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md mb-6"
> @click="confirmSubmitImportFile()"
Import Only Contacts >
<br /> Overwrite Settings & Contacts
after comparing <br />
</button> (which doesn't include Identifier Data)
</div> </button>
</div>
<div class="flex justify-center">
<button
class="block text-center text-md bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-2 rounded-md mb-6"
@click="checkContactImports()"
>
Import Only Contacts
<br />
after comparing
</button>
</div>
</div>
</transition>
</div> </div>
</div> </div>

Loading…
Cancel
Save