diff --git a/README.md b/README.md index daf9c43..c472a38 100644 --- a/README.md +++ b/README.md @@ -116,13 +116,16 @@ To migrate data from the old system: 2. Transform to new schema format 3. Import into the new system -## Security +## Time Zone Handling -- JWT token authentication -- Password hashing with bcrypt -- Input validation with Pydantic -- SQL injection protection via SQLAlchemy ORM -- CORS configuration for frontend integration +The system uses UTC (Coordinated Universal Time) as the standard for all time storage and display in aviation contexts: + +- **Database Storage**: All times are stored in UTC +- **Admin Console Display**: Times are displayed in UTC (with Z suffix) +- **Data Entry**: Times are entered as local time in the New PPR entry form, then automatically converted to UTC for storage +- **API**: All datetime fields in API responses are UTC ISO strings + +This ensures consistency across different time zones and complies with aviation standards where UTC is the international standard. ## Performance diff --git a/web/admin.html b/web/admin.html index 0f2c089..00999c6 100644 --- a/web/admin.html +++ b/web/admin.html @@ -459,29 +459,29 @@ color: #007bff; } - @media (max-width: 768px) { - .container { - padding: 1rem; - } - - .top-menu { - flex-direction: column; - gap: 1rem; - padding: 1rem; - } - - .menu-left, .menu-right { - justify-content: center; - } - - .form-grid { - grid-template-columns: 1fr; - } - - .modal-content { - width: 95%; - margin: 2% auto; - } + .notification { + position: fixed; + top: 20px; + right: 20px; + background-color: #27ae60; + color: white; + padding: 12px 20px; + border-radius: 5px; + box-shadow: 0 2px 10px rgba(0,0,0,0.2); + z-index: 10000; + opacity: 0; + transform: translateY(-20px); + transition: all 0.3s ease; + font-weight: 500; + } + + .notification.show { + opacity: 1; + transform: translateY(0); + } + + .notification.error { + background-color: #e74c3c; } @@ -659,7 +659,7 @@