|
1 | 1 | @page "/settings" |
2 | 2 | @inject HttpClient Http |
3 | 3 | @inject IConfiguration Configuration |
4 | | -@inject IJSRuntime JSRuntime |
| 4 | +@inject ISnackbar Snackbar |
5 | 5 |
|
6 | 6 | <PageTitle>Settings - Cloud Health Office</PageTitle> |
7 | 7 |
|
|
128 | 128 | <MudTabPanel Text="General" Icon="@Icons.Material.Filled.Business"> |
129 | 129 | <MudPaper Class="pa-4 mt-4"> |
130 | 130 | <MudText Typo="Typo.h5" GutterBottom="true">Tenant Information</MudText> |
131 | | - <MudText Typo="Typo.body2" Color="Color.Secondary"> |
132 | | - Organization and contact details (coming soon) |
133 | | - </MudText> |
| 131 | + <MudAlert Severity="Severity.Info" Variant="Variant.Outlined" Class="mt-3" Icon="@Icons.Material.Filled.AdminPanelSettings"> |
| 132 | + Configuration managed by your administrator. Contact support for changes to your organization details. |
| 133 | + </MudAlert> |
134 | 134 | </MudPaper> |
135 | 135 | </MudTabPanel> |
136 | | - |
| 136 | + |
137 | 137 | <!-- Users & Permissions Tab --> |
138 | 138 | <MudTabPanel Text="Users & Permissions" Icon="@Icons.Material.Filled.People"> |
139 | 139 | <MudPaper Class="pa-4 mt-4"> |
140 | 140 | <MudText Typo="Typo.h5" GutterBottom="true">User Management</MudText> |
141 | | - <MudText Typo="Typo.body2" Color="Color.Secondary"> |
142 | | - Invite users, manage roles and permissions (coming soon) |
143 | | - </MudText> |
| 141 | + <MudAlert Severity="Severity.Info" Variant="Variant.Outlined" Class="mt-3" Icon="@Icons.Material.Filled.Security"> |
| 142 | + User management is configured through your Azure AD tenant. Use the Azure portal to manage user access and role assignments. |
| 143 | + </MudAlert> |
144 | 144 | </MudPaper> |
145 | 145 | </MudTabPanel> |
146 | | - |
| 146 | + |
147 | 147 | <!-- Integration Tab --> |
148 | 148 | <MudTabPanel Text="Integrations" Icon="@Icons.Material.Filled.IntegrationInstructions"> |
149 | 149 | <MudPaper Class="pa-4 mt-4"> |
150 | 150 | <MudText Typo="Typo.h5" GutterBottom="true">API Keys & Integrations</MudText> |
151 | | - <MudText Typo="Typo.body2" Color="Color.Secondary"> |
152 | | - Manage API keys, webhooks, and external integrations (coming soon) |
153 | | - </MudText> |
| 151 | + <MudAlert Severity="Severity.Info" Variant="Variant.Outlined" Class="mt-3" Icon="@Icons.Material.Filled.IntegrationInstructions"> |
| 152 | + Contact your account manager to configure API keys, webhooks, and external integrations. |
| 153 | + </MudAlert> |
154 | 154 | </MudPaper> |
155 | 155 | </MudTabPanel> |
156 | 156 | </MudTabs> |
|
222 | 222 | return "https://billing.stripe.com/p/login/test_123"; |
223 | 223 | } |
224 | 224 |
|
225 | | - private async Task ShowUpgradeDialog() |
| 225 | + private Task ShowUpgradeDialog() |
226 | 226 | { |
227 | 227 | // TODO: Implement plan change dialog |
228 | | - await JSRuntime.InvokeVoidAsync("alert", "Plan change feature coming soon!"); |
| 228 | + Snackbar.Add("Please contact your account manager to change your plan.", Severity.Info); |
| 229 | + return Task.CompletedTask; |
229 | 230 | } |
230 | 231 |
|
231 | | - private async Task ShowCancelDialog() |
| 232 | + private Task ShowCancelDialog() |
232 | 233 | { |
233 | 234 | // TODO: Implement cancellation dialog |
234 | | - await JSRuntime.InvokeVoidAsync("alert", "Cancellation feature coming soon!"); |
| 235 | + Snackbar.Add("Please contact your account manager to manage your subscription.", Severity.Info); |
| 236 | + return Task.CompletedTask; |
235 | 237 | } |
236 | 238 |
|
237 | | - private async Task UpdatePaymentMethod() |
| 239 | + private Task UpdatePaymentMethod() |
238 | 240 | { |
239 | 241 | // TODO: Implement payment method update via Stripe Elements |
240 | | - await JSRuntime.InvokeVoidAsync("alert", "Payment method update coming soon!"); |
| 242 | + Snackbar.Add("Please contact your account manager to update payment details.", Severity.Info); |
| 243 | + return Task.CompletedTask; |
241 | 244 | } |
242 | 245 |
|
243 | 246 | private class SubscriptionInfo |
|
0 commit comments