Commit Graph

28 Commits

Author SHA1 Message Date
Your Name
8e3cce0bb0 style: set table cell padding to 1px on mobile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 20:17:28 +03:00
Your Name
44961e3a9c style: reduce table cell padding to 1px 2px on mobile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 20:15:26 +03:00
Your Name
1cadd41d26 style: wrap table headers at ~5 chars on mobile with word-break break-all
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 20:14:18 +03:00
Your Name
d53b8b60c9 style: prioritize Название and Расположение columns on mobile
- Инв. номер: 58px -> 44px, Аудитория: 52px -> 34px (both compressed)
- Название: auto (byAud) / auto (allEquipment) — gets most space
- Расположение: shares auto space in allEquipment, 75px in byAud
- Table cell padding: 3px 2px -> 2px 2px

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 20:12:49 +03:00
Your Name
fc82b38c1f feat: add Тип column to allEquipment table; compress Владелец on mobile
- Add Тип (equipment type) column between Кол-во and Владелец
- allequip-table: table-layout fixed with explicit column widths
- Владелец: 60px (compressed), Название gets remaining space

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 20:09:02 +03:00
Your Name
a315b9033a style: reduce font size on mobile (body 13px, tables 11px)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 20:04:41 +03:00
Your Name
8715d21ea3 fix: fix byAud table column widths on mobile with table-layout fixed
- table-layout: fixed so column widths are respected
- Владелец: 88px (compressed, select+button fit inside)
- Название: gets remaining space (widest column)
- Расположение: 80px
- ID/Кол-во/Тип: minimal widths

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 15:02:09 +03:00
Your Name
ec6088904c fix: reduce card-body padding and compress owner column on mobile
- card-body padding: 16px -> 8px on mobile
- owner-td: max-width 110px, select+button stack vertically, font 11px
- Remove d-inline w-auto from owner select (was preventing compression)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:56:58 +03:00
Your Name
062d6de913 fix: move inspection action buttons above barcode input; split checked_at into date/time rows
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:53:00 +03:00
Your Name
73ce68b071 feat: adapt all pages for mobile (Galaxy S10, 360px)
- Remove min-width: 580px from body — was forcing horizontal scroll
- Reduce container padding to px-2 on mobile
- Fix .inv width (was 400px fixed, now auto)
- Add @media (max-width: 575.98px) block: smaller card margins,
  font sizes, full-width forms and select bars
- Audit/owner/admin/inspection forms: col-auto → col-12 col-sm-auto
- Inspection stats: col-md-3 → col-6 col-md-3 (2x2 grid on mobile)
- Inspection action buttons: d-flex flex-wrap gap-2
- Home search input: flex-grow-1 to fill available width
- aud-select-bar: stacks vertically on mobile
- Bump cache-busting version for styles.css and app.js

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:48:56 +03:00
Your Name
68a8865dc6 fix: bust browser cache for app.js to force reload of updated script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:42:36 +03:00
Your Name
aaf20ac9f3 feat: redesign zametki page layout and date format
- Move "Add" button below textarea
- Move "Resolved" button below date (removed float-end)
- Show only HH:MM for note creation time via new formatTime helper

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:28:56 +03:00
Your Name
76a9d4c1b3 fix: auto-logout on 401 so stale tokens don't leave frontend in broken state
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 14:27:20 +03:00
Your Name
67e7ab6f94 style: increase button padding via .btn override
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 17:05:40 +03:00
Your Name
913e23b966 style: add padding to buttons so text is not cramped
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 17:04:41 +03:00
Your Name
7219fbdada style: revert button color to original #E07D54
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 17:03:48 +03:00
Your Name
92fc020d94 style: change button color to black (#000000)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 17:01:25 +03:00
Your Name
dca8a0dbcf style: replace blue buttons with original #E07D54 color
Override Bootstrap btn-primary and btn-outline-primary to match the original project's button color.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 16:59:22 +03:00
Your Name
61d12f4972 feat: vendor Vue 3 and Bootstrap JS locally
Remove CDN dependencies to ensure the app works without internet access.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 16:56:26 +03:00
Your Name
2ae18dea27 feat: add home page with search/unassigned tables; center login card
- Add home view as default: search by inv number, unassigned equipment
  table with auditory assignment, search results (assigned) table
- Add inv_number query param to GET /oboruds/ for backend search
- Center login card vertically and horizontally via flexbox

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 16:50:52 +03:00
Your Name
1950bd4d45 refactor: reorganize navbar - group equipment views and admin views into dropdowns
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 15:18:26 +03:00
Your Name
9491909f24 fix aud search on center 2026-05-11 15:12:34 +03:00
Your Name
54534ee490 add proverka func 2026-05-11 13:16:48 +03:00
Danamir
35bd29c223 feat: add all equipment view with sorting, print functionality, and UI improvements
- Add "Всё оборудование" menu item with equipment sorted by inventory number
- Add row numbering in all equipment view
- Add print functionality for auditory view with "Проверено" column
- Hide unnecessary columns (quantity, type, owner) when printing
- Make cards full-width and responsive (container-fluid)
- Consolidate CSS styles from static/css/index.css to frontend/styles.css
- Fix text wrapping in "Расположение" column
- Add sort_by_inv parameter to /oboruds/ API endpoint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 22:48:27 +01:00
Danamir
e2ff0f9a05 fix: make optional fields nullable in schema, add text wrap for location field
- Make type_id, aud_id, invNumber optional in OborudBase schema
- Make type optional in OborudRead to support NULL values after migration
- Add CSS word-wrap for raspologenie column to prevent text overflow

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 22:22:33 +01:00
Danamir
e428e7f762 add new ui 2025-11-10 11:28:49 +03:00
Danamir
3f91dc91ec feat(frontend): Vue (CDN) UI matching templates design; reuse /static CSS and Bootstrap; mount /static in FastAPI 2025-11-10 08:45:25 +03:00
Danamir
779c256e7b feat(frontend): mount static UI at /app with simple auditories/equipment browser 2025-11-10 08:40:46 +03:00