Split the job tracker out of web_server into its own app
The applications tracker, leads inbox, email pipeline and capture userscript move here from web_server's backend, Python service and Vue app, as one Go binary that serves its own Vue SPA under /jobs/. - The Go services, resolvers and tests move over almost unchanged. - The three Claude calls are ported from Python to Go (internal/claude), with the same prompts, per-model request shaping and error messages. - There is no login: internal/auth asks the site backend's /auth/validate-admin with the visitor's cookies, and relays refreshed cookies back. - A Settings page replaces the admin-panel capture token card and adds the Microsoft sign-in link and a manual email sync. - The userscript is 2.0.0, at /jobs/, and migrates a saved API base. - Dockerfile, a standalone compose with Postgres, Makefile, and a Gitea CI workflow that tests and publishes the image. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Form controls shared by the job tracker's components (JobApplications.vue and
|
||||
* the JobReferences / JobApplicationForm components it renders).
|
||||
*
|
||||
* These lived in JobApplications.vue's scoped block until the page was split.
|
||||
* Scoped styles stop at a child component's root element, so the inputs inside
|
||||
* the children would have lost them; this file is imported by each component
|
||||
* instead. It is unscoped, so every selector is prefixed with the page's
|
||||
* `.ja-root` class — which also keeps the specificity at (0,2,0), the same as
|
||||
* the scoped originals, so they still beat CVLayout's `.cv-layout input`.
|
||||
*
|
||||
* Colours are the paper palette from CVLayout.vue.
|
||||
*/
|
||||
|
||||
.ja-root .ja-input {
|
||||
padding: 0.35rem 0.6rem;
|
||||
border: 1px solid var(--color-line);
|
||||
border-radius: 4px;
|
||||
font-size: 0.85rem;
|
||||
background: var(--color-paper);
|
||||
flex: 1;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.ja-root .ja-input:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-ink-muted);
|
||||
}
|
||||
|
||||
.ja-root .ja-select {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ja-root .ja-input-sm {
|
||||
padding: 0.2rem 0.4rem;
|
||||
font-size: 0.8rem;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user