mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-13 04:12:14 -04:00
Layout tweaks (#164)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
@implements IAsyncDisposable
|
||||
|
||||
<button @ref="buttonRef" @onclick="TogglePopup" id="quickIdentityButton" class="px-4 ms-5 py-2 text-sm font-medium text-white bg-gradient-to-r from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 focus:outline-none dark:from-primary-400 dark:to-primary-500 dark:hover:from-primary-500 dark:hover:to-primary-600 rounded-md shadow-sm transition duration-150 ease-in-out transform hover:scale-105 active:scale-95 focus:shadow-outline">
|
||||
+ New identity
|
||||
+ <span class="hidden md:inline">New identity</span>
|
||||
</button>
|
||||
|
||||
@if (IsPopupVisible)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<nav class="fixed z-30 w-full bg-white border-b border-gray-200 dark:bg-gray-800 dark:border-gray-700 py-3 px-4">
|
||||
<div class="flex justify-between items-center max-w-screen-2xl mx-auto">
|
||||
<div class="flex justify-start items-center">
|
||||
<a href="/" class="flex mr-14">
|
||||
<a href="/" class="flex md:mr-10">
|
||||
<img src="/icon-trimmed.png" class="mr-3 h-8" alt="AliasVault Logo">
|
||||
<span class="self-center hidden sm:flex text-2xl font-semibold whitespace-nowrap dark:text-white">AliasVault</span>
|
||||
</a>
|
||||
|
||||
@@ -108,6 +108,8 @@ else
|
||||
|
||||
if (emailClaimList.Count == 0)
|
||||
{
|
||||
IsLoading = false;
|
||||
StateHasChanged();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
||||
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
||||
</svg>
|
||||
<h2 class="text-xl font-semibold text-gray-900 dark:text-white">Welcome to AliasVault!</h2>
|
||||
<h2 class="text-xl font-semibold text-gray-900 dark:text-white">Welcome to AliasVault</h2>
|
||||
<p class="text-sm text-gray-500 dark:text-gray-400">
|
||||
Your new encrypted vault is being created. This process may take a moment. Please wait.
|
||||
Your new encrypted vault is being initialized. This process may take a moment. Please wait.
|
||||
</p>
|
||||
|
||||
<div>
|
||||
@@ -47,13 +47,12 @@
|
||||
private async Task MigrateDatabase()
|
||||
{
|
||||
// Simulate a delay.
|
||||
await Task.Delay(1500);
|
||||
await Task.Delay(1000);
|
||||
|
||||
// Migrate the database
|
||||
if (await DbService.MigrateDatabaseAsync())
|
||||
{
|
||||
// Migration successful
|
||||
GlobalNotificationService.AddSuccessMessage("Vault successfully created.", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user