Initialize work order management system with database schema, API handlers, web client, and Docker configuration.

This commit is contained in:
2026-05-16 16:36:49 -04:00
parent f904431ec3
commit 18c722e5bc
3 changed files with 83 additions and 30 deletions
+8 -7
View File
@@ -26,21 +26,22 @@ class WoForm extends HTMLElement {
:host { display: block; }
form { display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; font-weight: 600; color: #1a2e3b; }
label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; font-weight: 600; color: var(--text); }
input, select, textarea {
border: 1px solid #e2ebf0; border-radius: 8px;
padding: .5rem .75rem; font-size: .95rem; background: #fff; color: #1a2e3b;
border: 1px solid var(--border); border-radius: 8px;
padding: .5rem .75rem; font-size: .95rem; background: var(--surface); color: var(--text);
color-scheme: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: #0a7ea4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 80px; }
.actions { display: flex; gap: .75rem; justify-content: flex-end; }
button {
padding: .5rem 1.25rem; border: none; border-radius: 8px;
font-weight: 600; cursor: pointer;
}
.btn-primary { background: #0a7ea4; color: #fff; }
.btn-cancel { background: transparent; border: 1px solid #e2ebf0; color: #1a2e3b; }
.error { color: #c0392b; font-size: .85rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-cancel { background: transparent; border: 1px solid var(--border); color: var(--text); }
.error { color: var(--danger); font-size: .85rem; }
</style>
<form>
<label>Title *<input name="title" required value="${wo.title || ''}"></label>