From d87453fb962bffa5ba9f2c3e05fbb6b3edd13e6f Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 20 Dec 2025 21:25:51 +0000 Subject: [PATCH] 12/20/25 V.1 --- core/__pycache__/urls.cpython-311.pyc | Bin 347 -> 348 bytes core/__pycache__/views.cpython-311.pyc | Bin 1364 -> 466 bytes core/templates/base.html | 2 + core/templates/core/index.html | 280 +++++++++++++------------ core/urls.py | 4 +- core/views.py | 21 +- static/css/custom.css | 58 ++++- staticfiles/css/custom.css | 73 +++++-- 8 files changed, 254 insertions(+), 184 deletions(-) diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 1f807fae1897c89361c99c5e868a26d00799b73f..dd03437f2f0d15a428baabdbe22bd71399563a59 100644 GIT binary patch delta 86 zcmcc3bccy|IWI340}#C9bkEG4$Xme1nwgi9S~0O{v6;jL1{Cyxje(W3!KFi}BXoxN a1s27NEQ(iH6hAOC@iR4WgJ2O4&>#R&o8d%f;1ggLUdm+2iBv_-n*xLdCW?cvF#pAwAfit2onSpm zW){-6o0I}ZhhXtz-}E4<9#JoF9n-g-yvZrR*(nbbFwB+uY1f{-V9 zi~1bKJd{7F*B85nO+7H8lgQ_h0b{TtPMI;H>@*Ba3yjS0+<{Tp3NDgdX3dI1tceV_ z1WeIeVLh(xq^eTUr=2eymDX;yn{oi9wm_rhpZw-d7E%gK&oPlU(sg#_ocdq_fzyAGRJRMNOL{_ literal 1364 zcmZ`(&1)M+6ra_{dS%J>I!@|TuH%hUh$T{~CE!96oTjQ1oHkCdQ%ZHHPf-Q6#oP5Eq{V!1Q7#*Ku^61OfEk4%~~s}guETzy!YnKoA>c! z|CpMZL_mL+PRlpL2>m0JfI>sz+l$SscSs^=|k4VB6wxYJ2mwh>6 zP1s6a0Xh0B%Et_88>QrbMYzqB#N#E*3Oks3CUHQODRvA@K~k7$;|6iCE(zZu#bJlk z(8(RJK1WUTVt6pV9fEo^GQIeJgpqaJXHRNMhV;}glZK3tBN^en5Q~o7QAND#(>piA zMx+^HvEUS;@pC3}9#TaPq;a2SxGAxj;0&RP639l>kPjiNqhJ8&1AY_l`WecBvKL`< zK_mp-GGfihA=Gg+ss)BI*;w21yRNY^)~upqm`+Labc(T~)l62_EK-D_XmFxoXUC+( zv9ZH61GA!Od6`C{=(;tt(Wqy1VsquT>;5P-9=l@|nMF#b-iU4DnzqgA7Upvgw;tSE z&pj%9yS|;<+IaYA=m{Nfc9(G8LP76tKq2MQk+Efgahls~zxB^Y15iq2p ze1hU%s@P+67IZo#*hj*3LMINxyUY_2H9@DJWy{3I+3Mq}!>U=li}flaG+QI|spl4T zob~hDF>%eyxOE;8-gFVJ3n+TO18bo->ila}J65%hy4+QlU#ly}>PkmVchz)jqo<`_ z{(P+6Xlpn2)BEXH3$5?^ljojY`z`Y<)5;BG^zo;?`Q?6crISo|lj(kPxtsi=lf2$d zUhiF8=v}zfU%GryZ>QE?g*r>Q?ozJ5xODJS`|4MJebZUI)m^+bn2pWI0|cyf_w9L< zIJbYby>RVisS{uA##h^s)e}e(07x&wM(2TX`E06G0Q9V<>X{|ul?i3g0?%(HPYlgf z1`zb;;Me{qqL;+gPk@~&H*I26ExbmrfGYk1-V + + {% block head %}{% endblock %} diff --git a/core/templates/core/index.html b/core/templates/core/index.html index faec813..3da5fd8 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -1,145 +1,147 @@ -{% extends "base.html" %} +{% extends 'base.html' %} +{% load static %} -{% block title %}{{ project_name }}{% endblock %} - -{% block head %} - - - - -{% endblock %} +{% block title %}ComplianceShield — Construction Compliance, Made Simple{% endblock %} {% block content %} -
-
-

Analyzing your requirements and generating your app…

-
- Loading… + + + +
+
+ +
CS
+
ComplianceShield
+ +
+ + + + -

AppWizzy AI is collecting your requirements and applying the first changes.

-

This page will refresh automatically as the plan is implemented.

-

- Runtime: Django {{ django_version }} · Python {{ python_version }} - — UTC {{ current_time|date:"Y-m-d H:i:s" }} -

+ + + +
+ +
+ + +
+
+
+
+ + Trusted by contractors & project managers +
+ +

+ Construction compliance,
made simple. +

+ +

+ Track daily logs, manage OSHA documentation, monitor equipment maintenance, + and keep subcontractors compliant — with a portal that looks premium and works in the field. +

+ + + +
+ Daily activity logs + Document expiration alerts + Safety meetings + Audit-ready exports +
+ +
+
“Expensive” look, operational outcomes
+
+ Field teams move faster. Managers see risk instantly. Owners stay audit-ready. +
+
+
+ + +
+
+
+
Portal Snapshot
+ Live-style UI +
+ +
+
+
Ongoing Projects
+
08
+
+3.0% from last month
+
+
+
Alerts
+
03
+
2 expiring documents
+
+
+ +
+
Alert Overview
+
+
+ +
+
Safety incident report pending
+
Requires photos + supervisor review
+
+
+
+ +
+
COI expiring in 7 days
+
Subcontractor: R. Builders LLC
+
+
+
+
+
+
+
+
+
-
- Page updated: {{ current_time|date:"Y-m-d H:i:s" }} (UTC) -
-{% endblock %} \ No newline at end of file + + + + +{% endblock %} diff --git a/core/urls.py b/core/urls.py index 6299e3d..8e0d0ae 100644 --- a/core/urls.py +++ b/core/urls.py @@ -1,7 +1,7 @@ from django.urls import path -from .views import home +from .views import index urlpatterns = [ - path("", home, name="home"), + path("", index, name="index"), ] diff --git a/core/views.py b/core/views.py index c9aed12..e523447 100644 --- a/core/views.py +++ b/core/views.py @@ -1,25 +1,8 @@ -import os -import platform - -from django import get_version as django_version from django.shortcuts import render -from django.utils import timezone -def home(request): - """Render the landing screen with loader and environment details.""" - host_name = request.get_host().lower() - agent_brand = "AppWizzy" if host_name == "appwizzy.com" else "Flatlogic" - now = timezone.now() - +def index(request): context = { - "project_name": "New Style", - "agent_brand": agent_brand, - "django_version": django_version(), - "python_version": platform.python_version(), - "current_time": now, - "host_name": host_name, - "project_description": os.getenv("PROJECT_DESCRIPTION", ""), - "project_image_url": os.getenv("PROJECT_IMAGE_URL", ""), + "project_name": "ComplianceShield", } return render(request, "core/index.html", context) diff --git a/static/css/custom.css b/static/css/custom.css index 925f6ed..10f05e3 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1,4 +1,54 @@ -/* Custom styles for the application */ -body { - font-family: system-ui, -apple-system, sans-serif; -} +:root{ + --ink:#0b0b0c; + --paper:#fbfaf7; + --line: rgba(11,11,12,.08); + --shadow: 0 18px 48px rgba(11,11,12,.10); + --shadow2: 0 10px 26px rgba(11,11,12,.10); + --radius: 22px; + + /* premium blue theme (like the dashboard reference) */ + --blue:#2563eb; + --blue2:#60a5fa; + --ice:#eaf2ff; + --ice2:#f6fbff; + } + + html, body { height: 100%; } + body { font-family: 'Inter', sans-serif; color: var(--ink); } + + .bg-premium{ + background: + radial-gradient(1400px 560px at 18% 8%, rgba(96,165,250,.30), rgba(255,255,255,0) 60%), + radial-gradient(1200px 520px at 92% 12%, rgba(37,99,235,.22), rgba(255,255,255,0) 55%), + radial-gradient(1100px 620px at 55% 100%, rgba(234,242,255,.95), rgba(255,255,255,0) 60%), + linear-gradient(180deg, #f6fbff 0%, #ffffff 55%, #f7fbff 100%); + } + + .shell { + border-radius: 26px; + background: rgba(255,255,255,.78); + border: 1px solid rgba(11,11,12,.08); + box-shadow: var(--shadow); + backdrop-filter: blur(10px); + } + + .panel { + border-radius: var(--radius); + background: rgba(255,255,255,.92); + border: 1px solid rgba(11,11,12,.06); + box-shadow: var(--shadow2); + } + + .chip { + border-radius: 999px; + background: rgba(255,255,255,.8); + border: 1px solid rgba(11,11,12,.08); + } + + .btn { + border-radius: 16px; + transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease; + } + .btn:hover { transform: translateY(-1px); box-shadow: 0 18px 48px rgba(11,11,12,.10); } + + .drawer.hidden { display:none; } \ No newline at end of file diff --git a/staticfiles/css/custom.css b/staticfiles/css/custom.css index 108056f..10f05e3 100644 --- a/staticfiles/css/custom.css +++ b/staticfiles/css/custom.css @@ -1,21 +1,54 @@ +:root{ + --ink:#0b0b0c; + --paper:#fbfaf7; + --line: rgba(11,11,12,.08); + --shadow: 0 18px 48px rgba(11,11,12,.10); + --shadow2: 0 10px 26px rgba(11,11,12,.10); + --radius: 22px; -:root { - --bg-color-start: #6a11cb; - --bg-color-end: #2575fc; - --text-color: #ffffff; - --card-bg-color: rgba(255, 255, 255, 0.01); - --card-border-color: rgba(255, 255, 255, 0.1); -} -body { - margin: 0; - font-family: 'Inter', sans-serif; - background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end)); - color: var(--text-color); - display: flex; - justify-content: center; - align-items: center; - min-height: 100vh; - text-align: center; - overflow: hidden; - position: relative; -} + /* premium blue theme (like the dashboard reference) */ + --blue:#2563eb; + --blue2:#60a5fa; + --ice:#eaf2ff; + --ice2:#f6fbff; + } + + html, body { height: 100%; } + body { font-family: 'Inter', sans-serif; color: var(--ink); } + + .bg-premium{ + background: + radial-gradient(1400px 560px at 18% 8%, rgba(96,165,250,.30), rgba(255,255,255,0) 60%), + radial-gradient(1200px 520px at 92% 12%, rgba(37,99,235,.22), rgba(255,255,255,0) 55%), + radial-gradient(1100px 620px at 55% 100%, rgba(234,242,255,.95), rgba(255,255,255,0) 60%), + linear-gradient(180deg, #f6fbff 0%, #ffffff 55%, #f7fbff 100%); + } + + .shell { + border-radius: 26px; + background: rgba(255,255,255,.78); + border: 1px solid rgba(11,11,12,.08); + box-shadow: var(--shadow); + backdrop-filter: blur(10px); + } + + .panel { + border-radius: var(--radius); + background: rgba(255,255,255,.92); + border: 1px solid rgba(11,11,12,.06); + box-shadow: var(--shadow2); + } + + .chip { + border-radius: 999px; + background: rgba(255,255,255,.8); + border: 1px solid rgba(11,11,12,.08); + } + + .btn { + border-radius: 16px; + transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease; + } + .btn:hover { transform: translateY(-1px); box-shadow: 0 18px 48px rgba(11,11,12,.10); } + + .drawer.hidden { display:none; } \ No newline at end of file