revert: restore the original pre-redesign web console

Revert 688aad3, 39ac03a, c84dc36, and ff6a828 in reverse chronological order. Restore the exact tracked tree from 99aff42 while preserving history.

Validation: 29 authentication and base-path tests passed offline. All 23 prior UI browser tests ran in system Edge: 22 passed initially; the fake-login test passed on an unchanged isolated retry. Live game HTTP was blocked throughout browser validation.
This commit is contained in:
AttilaNet
2026-11-11 10:08:02 +08:00
parent 688aad37c1
commit e26d37e9c5
46 changed files with 748 additions and 4554 deletions
-11
View File
@@ -1,12 +1,3 @@
ARG NODE_IMAGE=node:22.23.3-bookworm-slim
FROM ${NODE_IMAGE} AS web-build
WORKDIR /build
COPY frontend/package*.json ./frontend/
RUN npm --prefix frontend ci --no-audit --no-fund
COPY frontend/ ./frontend/
COPY ranch_web/static/ ./ranch_web/static/
RUN npm --prefix frontend run build
FROM python:3.12-slim-bookworm
ARG WEB_VERSION=2.0.0.dev1
@@ -34,8 +25,6 @@ RUN python -m pip install --no-cache-dir -r /tmp/web-requirements.txt \
COPY ranch_assistant/ /app/ranch_assistant/
COPY ranch_web/ /app/ranch_web/
COPY --from=web-build /build/ranch_web/static/console/ /app/ranch_web/static/console/
COPY --from=web-build /build/ranch_web/static/index.html /app/ranch_web/static/index.html
USER 10001:10001
EXPOSE 8765