- Added /admin redirect to login page in nginx config - Fixed backend server.js route ordering for proper admin handling - Updated authentication middleware and routes - Added user management routes - Configured PostgreSQL integration - Updated environment configuration
13 lines
332 B
Plaintext
13 lines
332 B
Plaintext
@{
|
|
var success = TempData["SuccessMessage"] as string;
|
|
var error = TempData["ErrorMessage"] as string;
|
|
}
|
|
@if (!string.IsNullOrEmpty(success))
|
|
{
|
|
<div class="alert alert-success" role="alert">@success</div>
|
|
}
|
|
@if (!string.IsNullOrEmpty(error))
|
|
{
|
|
<div class="alert alert-danger" role="alert">@error</div>
|
|
}
|