19 lines
454 B
Plaintext
19 lines
454 B
Plaintext
@model Microsoft.Graph.User
|
|
|
|
<h2>Welcome @Model.DisplayName!</h2>
|
|
|
|
@if (User.IsInRole("Admin"))
|
|
{
|
|
<a asp-action="AdminDashboard" class="btn btn-primary">Go to Admin Dashboard</a>
|
|
}
|
|
|
|
<h2>Admin Dashboard</h2>
|
|
|
|
<div class="settings-panel">
|
|
<h3>Settings</h3>
|
|
<form asp-action="UpdateSettings" method="post">
|
|
<!-- Add settings fields here -->
|
|
<button type="submit" class="btn btn-primary">Save Settings</button>
|
|
</form>
|
|
</div>
|