diff --git a/MyApp/Components/Identity/ExternalLoginPicker.razor b/MyApp/Components/Identity/ExternalLoginPicker.razor index 5bfc849..87bd543 100644 --- a/MyApp/Components/Identity/ExternalLoginPicker.razor +++ b/MyApp/Components/Identity/ExternalLoginPicker.razor @@ -11,9 +11,9 @@ {

- There are no external authentication services configured. - See this article - about setting up this ASP.NET application to support logging in via external services. + There are no external authentication services configured. + See this article + about setting up this ASP.NET application to support logging in via external services.

} @@ -26,7 +26,7 @@ else
@foreach (var provider in _externalLogins!) { - + }
diff --git a/MyApp/Components/Identity/ShowRecoveryCodes.razor b/MyApp/Components/Identity/ShowRecoveryCodes.razor index f0683d0..41a9bfe 100644 --- a/MyApp/Components/Identity/ShowRecoveryCodes.razor +++ b/MyApp/Components/Identity/ShowRecoveryCodes.razor @@ -1,4 +1,4 @@ -

Recovery codes

+Recovery codes
diff --git a/MyApp/Components/Layout/ManageLayout.razor b/MyApp/Components/Layout/ManageLayout.razor index 0665bb4..d1e5c95 100644 --- a/MyApp/Components/Layout/ManageLayout.razor +++ b/MyApp/Components/Layout/ManageLayout.razor @@ -3,9 +3,9 @@
-

Manage your account

-

Change your account settings

-
+ Manage your account + Change your account settings +
diff --git a/MyApp/Css.cs b/MyApp/Css.cs deleted file mode 100644 index 7581251..0000000 --- a/MyApp/Css.cs +++ /dev/null @@ -1,23 +0,0 @@ -using ServiceStack; - -namespace MyApp; - -public static class Css -{ - public const string H1 = "text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-50 sm:text-4xl"; - public const string H2 = "text-3xl md:text-4xl font-bold tracking-tighter leading-tight md:pr-8 whitespace-nowrap text-center pt-8"; - public const string H3 = "mb-4 text-2xl font-semibold text-gray-900 dark:text-gray-100 leading-tight"; - public const string H4 = "mb-4 text-xl font-semibold text-gray-900 dark:text-gray-100 leading-tight"; - public const string Link = "font-semibold text-indigo-600 dark:text-indigo-300 hover:text-indigo-500 dark:hover:text-indigo-400"; - public const string LinkUnderline = "underline hover:text-success duration-200 transition-colors"; - public const string PrimaryButton = "cursor-pointer inline-flex justify-center rounded-md border border-transparent py-2 px-4 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 dark:ring-offset-black focus:ring-2 focus:ring-offset-2 text-white bg-indigo-600 hover:bg-indigo-700 focus:ring-indigo-500 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"; - public const string SecondaryButton = "cursor-pointer inline-flex justify-center rounded-md border border-gray-300 py-2 px-4 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-400 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-700 focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:ring-offset-black"; - public const string DangerButton = "cursor-pointer inline-flex justify-center rounded-md border border-transparent py-2 px-4 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 dark:ring-offset-black focus:ring-red-300 text-white bg-red-600 hover:bg-red-700 focus:ring-red-500 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-500 dark:ring-offset-black"; - public const string ValidationSummary = "mb-3 text-danger text-center font-semibold"; - public const string ValidationMessage = "mt-2 text-danger text-sm"; - public static string InputText => CssUtils.Tailwind.Input(""); - public const string InputLabel = "block text-sm font-medium text-gray-700 dark:text-gray-300"; - public const string Checkbox = "h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"; - public const string AlertDanger = "mb-2 p-2 px-4 flex items-center rounded text-danger bg-red-100 font-semibold"; - public const string AlertSuccess = "mb-2 p-2 px-4 flex items-center rounded text-success bg-green-100 font-semibold"; -} diff --git a/MyApp/Pages/Account/ConfirmEmail.razor b/MyApp/Pages/Account/ConfirmEmail.razor index f86526c..8061d7b 100644 --- a/MyApp/Pages/Account/ConfirmEmail.razor +++ b/MyApp/Pages/Account/ConfirmEmail.razor @@ -12,7 +12,7 @@ Confirm email
-

Confirm email

+ Confirm email
diff --git a/MyApp/Pages/Account/ConfirmEmailChange.razor b/MyApp/Pages/Account/ConfirmEmailChange.razor index 550a403..987fd32 100644 --- a/MyApp/Pages/Account/ConfirmEmailChange.razor +++ b/MyApp/Pages/Account/ConfirmEmailChange.razor @@ -13,7 +13,7 @@ Confirm email change -

Confirm email change

+Confirm email change
diff --git a/MyApp/Pages/Account/ExternalLogin.razor b/MyApp/Pages/Account/ExternalLogin.razor index 5c50042..6e88414 100644 --- a/MyApp/Pages/Account/ExternalLogin.razor +++ b/MyApp/Pages/Account/ExternalLogin.razor @@ -26,8 +26,8 @@
-

Register

-

Associate your @providerDisplayName account.

+ Register + Associate your @providerDisplayName account. You've successfully authenticated with @providerDisplayName. @@ -39,18 +39,18 @@
- +
- +
- +
- +
- + Register
diff --git a/MyApp/Pages/Account/ForgotPassword.razor b/MyApp/Pages/Account/ForgotPassword.razor index 43ac9a7..e7d0fa6 100644 --- a/MyApp/Pages/Account/ForgotPassword.razor +++ b/MyApp/Pages/Account/ForgotPassword.razor @@ -17,22 +17,22 @@ Forgot your password?
-

Forgot your password?

-

Enter your email.

+ Forgot your password? + Enter your email. - +
- +
- +
- +
- + Reset password
diff --git a/MyApp/Pages/Account/ForgotPasswordConfirmation.razor b/MyApp/Pages/Account/ForgotPasswordConfirmation.razor index 6ebd370..cbcf33e 100644 --- a/MyApp/Pages/Account/ForgotPasswordConfirmation.razor +++ b/MyApp/Pages/Account/ForgotPasswordConfirmation.razor @@ -3,7 +3,7 @@ Forgot password confirmation
-

Forgot password confirmation

+ Forgot password confirmation

Please check your email to reset your password. diff --git a/MyApp/Pages/Account/InvalidPasswordReset.razor b/MyApp/Pages/Account/InvalidPasswordReset.razor index 77ab856..a58f318 100644 --- a/MyApp/Pages/Account/InvalidPasswordReset.razor +++ b/MyApp/Pages/Account/InvalidPasswordReset.razor @@ -4,7 +4,7 @@

-

Invalid password reset

+ Invalid password reset

The password reset link is invalid. diff --git a/MyApp/Pages/Account/InvalidUser.razor b/MyApp/Pages/Account/InvalidUser.razor index 251aaa1..9830212 100644 --- a/MyApp/Pages/Account/InvalidUser.razor +++ b/MyApp/Pages/Account/InvalidUser.razor @@ -4,7 +4,7 @@

-

Invalid user

+ Invalid user
diff --git a/MyApp/Pages/Account/Lockout.razor b/MyApp/Pages/Account/Lockout.razor index a4e3015..1542240 100644 --- a/MyApp/Pages/Account/Lockout.razor +++ b/MyApp/Pages/Account/Lockout.razor @@ -5,7 +5,7 @@
-

Locked out

+ Locked out

This account has been locked out, please try again later.

diff --git a/MyApp/Pages/Account/Login.razor b/MyApp/Pages/Account/Login.razor index cf0f046..d1b73dd 100644 --- a/MyApp/Pages/Account/Login.razor +++ b/MyApp/Pages/Account/Login.razor @@ -17,52 +17,50 @@
-

- Use a local account to log in. -

+ Use a local account to log in.
- +
- +
- +
- +
- +
- +
- + Log in

- Forgot your password? + Forgot your password?

- { ["ReturnUrl"] = ReturnUrl }))">Register as a new user + { ["ReturnUrl"] = ReturnUrl }))">Register as a new user

- Resend email confirmation + Resend email confirmation

@@ -71,7 +69,7 @@
-

Use another service to log in.

+ Use another service to log in.
diff --git a/MyApp/Pages/Account/LoginWith2fa.razor b/MyApp/Pages/Account/LoginWith2fa.razor index d7779af..755e0fb 100644 --- a/MyApp/Pages/Account/LoginWith2fa.razor +++ b/MyApp/Pages/Account/LoginWith2fa.razor @@ -13,7 +13,7 @@ Two-factor authentication
-

Two-factor authentication

+ Two-factor authentication

Your login is protected with an authenticator app. Enter your authenticator code below.

@@ -22,27 +22,27 @@ - +
- +
- +
- +
- +
- + Log in
@@ -51,7 +51,7 @@

Don't have access to your authenticator device? You can - log in with a recovery code. + log in with a recovery code.

@code { diff --git a/MyApp/Pages/Account/LoginWithRecoveryCode.razor b/MyApp/Pages/Account/LoginWithRecoveryCode.razor index 51a16af..af7270d 100644 --- a/MyApp/Pages/Account/LoginWithRecoveryCode.razor +++ b/MyApp/Pages/Account/LoginWithRecoveryCode.razor @@ -14,7 +14,7 @@ Recovery code verification
-

Recovery code verification

+ Recovery code verification

@@ -25,17 +25,17 @@

- +
- +
- +
- +
- + Log in
diff --git a/MyApp/Pages/Account/Manage/ChangePassword.razor b/MyApp/Pages/Account/Manage/ChangePassword.razor index ffe79c1..88d70a5 100644 --- a/MyApp/Pages/Account/Manage/ChangePassword.razor +++ b/MyApp/Pages/Account/Manage/ChangePassword.razor @@ -13,7 +13,7 @@ Change password -

Change password

+Change password
@@ -22,32 +22,32 @@
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- + Update password
diff --git a/MyApp/Pages/Account/Manage/DeletePersonalData.razor b/MyApp/Pages/Account/Manage/DeletePersonalData.razor index b363bfa..5d7365a 100644 --- a/MyApp/Pages/Account/Manage/DeletePersonalData.razor +++ b/MyApp/Pages/Account/Manage/DeletePersonalData.razor @@ -13,7 +13,7 @@ Delete Personal Data -

Delete Personal Data

+Delete Personal Data
@@ -26,20 +26,20 @@ - +
@if (_requirePassword) {
- +
- +
- +
} - + Delete data and close my account
diff --git a/MyApp/Pages/Account/Manage/Disable2fa.razor b/MyApp/Pages/Account/Manage/Disable2fa.razor index 2546dc4..6e00cc2 100644 --- a/MyApp/Pages/Account/Manage/Disable2fa.razor +++ b/MyApp/Pages/Account/Manage/Disable2fa.razor @@ -11,7 +11,7 @@ Disable two-factor authentication (2FA) -

Disable two-factor authentication (2FA)

+Disable two-factor authentication (2FA)
@@ -29,7 +29,7 @@
- + Disable 2FA
diff --git a/MyApp/Pages/Account/Manage/Email.razor b/MyApp/Pages/Account/Manage/Email.razor index bee74fc..b807887 100644 --- a/MyApp/Pages/Account/Manage/Email.razor +++ b/MyApp/Pages/Account/Manage/Email.razor @@ -17,7 +17,7 @@ Manage email -

Manage email

+Manage email
@@ -29,37 +29,37 @@ - +
@if (_isEmailConfirmed) {
- +
- +
} else {
- +
- +
- + Send verification email
}
- +
- +
- +
- + Change email
diff --git a/MyApp/Pages/Account/Manage/EnableAuthenticator.razor b/MyApp/Pages/Account/Manage/EnableAuthenticator.razor index 83b65b4..c0a2d2b 100644 --- a/MyApp/Pages/Account/Manage/EnableAuthenticator.razor +++ b/MyApp/Pages/Account/Manage/EnableAuthenticator.razor @@ -22,7 +22,7 @@ } else { -

Configure authenticator app

+ Configure authenticator app
@@ -32,11 +32,11 @@ else
  • Download a two-factor authenticator app like Microsoft Authenticator for - Android and - iOS or + Android and + iOS or Google Authenticator for - Android and - iOS. + Android and + iOS.

  • @@ -45,7 +45,7 @@ else

    - Learn how to enable QR code generation. + Learn how to enable QR code generation.
    @@ -60,17 +60,17 @@ else
    - +
    - +
    - +
    - +
    - + Verify
    diff --git a/MyApp/Pages/Account/Manage/ExternalLogins.razor b/MyApp/Pages/Account/Manage/ExternalLogins.razor index b17d0e4..fdc633a 100644 --- a/MyApp/Pages/Account/Manage/ExternalLogins.razor +++ b/MyApp/Pages/Account/Manage/ExternalLogins.razor @@ -18,7 +18,7 @@ @if (_currentLogins?.Count > 0) { -

    Registered Logins

    + Registered Logins
    @@ -34,7 +34,7 @@
    - + Remove
    } @@ -51,7 +51,7 @@ } @if (_otherLogins?.Count > 0) { -

    Add another service to log in.

    + Add another service to log in.
    @@ -60,7 +60,7 @@ { + Generate Recovery Codes
    } diff --git a/MyApp/Pages/Account/Manage/Index.razor b/MyApp/Pages/Account/Manage/Index.razor index 28cbe21..f6dc208 100644 --- a/MyApp/Pages/Account/Manage/Index.razor +++ b/MyApp/Pages/Account/Manage/Index.razor @@ -14,7 +14,7 @@ Profile -

    Profile

    +Profile
    @@ -22,24 +22,24 @@ - +
    - +
    - +
    - +
    - +
    - +
    - + Save
    diff --git a/MyApp/Pages/Account/Manage/PersonalData.razor b/MyApp/Pages/Account/Manage/PersonalData.razor index c592f8f..85f1fe3 100644 --- a/MyApp/Pages/Account/Manage/PersonalData.razor +++ b/MyApp/Pages/Account/Manage/PersonalData.razor @@ -8,7 +8,7 @@ Personal Data -

    Personal Data

    +Personal Data
    @@ -20,10 +20,10 @@

    - + Download

    - Delete + Delete

    diff --git a/MyApp/Pages/Account/Manage/ResetAuthenticator.razor b/MyApp/Pages/Account/Manage/ResetAuthenticator.razor index 481f7c4..80e5da8 100644 --- a/MyApp/Pages/Account/Manage/ResetAuthenticator.razor +++ b/MyApp/Pages/Account/Manage/ResetAuthenticator.razor @@ -12,7 +12,7 @@ Reset authenticator key -

    Reset authenticator key

    +Reset authenticator key
    @@ -30,7 +30,7 @@
    - + Reset authenticator key
    diff --git a/MyApp/Pages/Account/Manage/SetPassword.razor b/MyApp/Pages/Account/Manage/SetPassword.razor index c946cce..4cea4d2 100644 --- a/MyApp/Pages/Account/Manage/SetPassword.razor +++ b/MyApp/Pages/Account/Manage/SetPassword.razor @@ -12,7 +12,7 @@ Set password -

    Set your password

    +Set your password
    @@ -26,25 +26,25 @@
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - + Set password
    diff --git a/MyApp/Pages/Account/Manage/TwoFactorAuthentication.razor b/MyApp/Pages/Account/Manage/TwoFactorAuthentication.razor index fc05ec9..7dcd181 100644 --- a/MyApp/Pages/Account/Manage/TwoFactorAuthentication.razor +++ b/MyApp/Pages/Account/Manage/TwoFactorAuthentication.razor @@ -12,7 +12,7 @@ Two-factor authentication (2FA) -

    Two-factor authentication (2FA)

    +Two-factor authentication (2FA)
    @@ -25,45 +25,45 @@ { You have no recovery codes left. -

    You must generate a new set of recovery codes before you can log in with a recovery code.

    +

    You must generate a new set of recovery codes before you can log in with a recovery code.

    } else if (_recoveryCodesLeft == 1) { You have 1 recovery code left. -

    You can generate a new set of recovery codes.

    +

    You can generate a new set of recovery codes.

    } else if (_recoveryCodesLeft <= 3) { You have @_recoveryCodesLeft recovery codes left. -

    You should generate a new set of recovery codes.

    +

    You should generate a new set of recovery codes.

    } if (_isMachineRemembered) {
    - + Forget this browser } - Disable 2FA - Reset recovery codes + Disable 2FA + Reset recovery codes }
    -

    Authenticator app

    + Authenticator app @if (!_hasAuthenticator) { - Add authenticator app + Add authenticator app } else { - Set up authenticator app - Reset authenticator app + Set up authenticator app + Reset authenticator app }
    } diff --git a/MyApp/Pages/Account/Register.razor b/MyApp/Pages/Account/Register.razor index 85c2968..2880365 100644 --- a/MyApp/Pages/Account/Register.razor +++ b/MyApp/Pages/Account/Register.razor @@ -21,39 +21,39 @@ Register
    -

    Register

    + Register
    -

    Create a new account.

    + Create a new account. - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - + Register
    @@ -61,7 +61,7 @@
    -

    Use another service to register.

    + Use another service to register.
    diff --git a/MyApp/Pages/Account/RegisterConfirmation.razor b/MyApp/Pages/Account/RegisterConfirmation.razor index 8fd470e..c3a4b1a 100644 --- a/MyApp/Pages/Account/RegisterConfirmation.razor +++ b/MyApp/Pages/Account/RegisterConfirmation.razor @@ -15,7 +15,7 @@ Register confirmation
    -

    Register confirmation

    + Register confirmation @@ -23,11 +23,11 @@ {

    This app does not currently have a real email sender registered, see - these docs for how to configure a real email sender. + these docs for how to configure a real email sender.

    Normally this would be emailed: - Click here to confirm your account + Click here to confirm your account

    } else diff --git a/MyApp/Pages/Account/ResendEmailConfirmation.razor b/MyApp/Pages/Account/ResendEmailConfirmation.razor index f7c1370..7bdc67c 100644 --- a/MyApp/Pages/Account/ResendEmailConfirmation.razor +++ b/MyApp/Pages/Account/ResendEmailConfirmation.razor @@ -17,23 +17,23 @@ Resend email confirmation
    -

    Resend email confirmation

    -

    Enter your email.

    + Resend email confirmation + Enter your email. - +
    - +
    - +
    - +
    - + Resend
    diff --git a/MyApp/Pages/Account/ResetPassword.razor b/MyApp/Pages/Account/ResetPassword.razor index 1c361cf..7aa514e 100644 --- a/MyApp/Pages/Account/ResetPassword.razor +++ b/MyApp/Pages/Account/ResetPassword.razor @@ -14,41 +14,41 @@ Reset password
    -

    Reset password

    -

    Reset your password.

    + Reset password + Reset your password.
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - +
    - + Reset
    diff --git a/MyApp/Pages/Account/ResetPasswordConfirmation.razor b/MyApp/Pages/Account/ResetPasswordConfirmation.razor index 385b48e..38a05ca 100644 --- a/MyApp/Pages/Account/ResetPasswordConfirmation.razor +++ b/MyApp/Pages/Account/ResetPasswordConfirmation.razor @@ -3,10 +3,10 @@
    -

    Reset password confirmation

    + Reset password confirmation

    - Your password has been reset. Please click here to log in. + Your password has been reset. Please click here to log in.

    diff --git a/MyApp/Pages/Counter.razor b/MyApp/Pages/Counter.razor index 5b57824..29150e0 100644 --- a/MyApp/Pages/Counter.razor +++ b/MyApp/Pages/Counter.razor @@ -3,7 +3,7 @@ Counter
    -

    Counter

    + Counter
    diff --git a/MyApp/Pages/Secure/Bookings.razor b/MyApp/Pages/Secure/Bookings.razor index cede1b9..0357f99 100644 --- a/MyApp/Pages/Secure/Bookings.razor +++ b/MyApp/Pages/Secure/Bookings.razor @@ -3,7 +3,7 @@
    -

    Bookings AutoQueryGrid

    + Bookings AutoQueryGrid
    @@ -18,9 +18,9 @@

    Manage Bookings in - Admin, - Locode or - API Explorer + Admin, + Locode or + API Explorer

    @@ -29,13 +29,13 @@

    The Bookings APIs are built using - AutoQuery CRUD, + AutoQuery CRUD, allowing for rapid development of typed CRUD Services using only declarative POCO DTOs, enabling developing entire - audited - & verifiable + audited + & verifiable data-driven systems in mins - more... + more...

    diff --git a/MyApp/Pages/Weather.razor b/MyApp/Pages/Weather.razor index 67b5f4b..f666ca0 100644 --- a/MyApp/Pages/Weather.razor +++ b/MyApp/Pages/Weather.razor @@ -4,7 +4,7 @@ Weather
    -

    Weather

    + Weather

    This component demonstrates showing data.