From 62486bfe9ba57a929a5be69fbbcaff7c0a9b4031 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 8 Nov 2025 20:11:32 +0000 Subject: [PATCH] SFGMM8112025 --- core/__pycache__/admin.cpython-311.pyc | Bin 212 -> 367 bytes core/__pycache__/models.cpython-311.pyc | Bin 209 -> 824 bytes core/__pycache__/views.cpython-311.pyc | Bin 1364 -> 803 bytes core/admin.py | 3 +- core/models.py | 7 +- core/templates/base.html | 8 +- core/templates/core/index.html | 176 ++++-------------------- core/views.py | 24 +--- static/css/custom.css | 60 ++++++++ 9 files changed, 112 insertions(+), 166 deletions(-) create mode 100644 static/css/custom.css diff --git a/core/__pycache__/admin.cpython-311.pyc b/core/__pycache__/admin.cpython-311.pyc index cd6f855b12f4883b1ba9de01c54245c53aacd714..e299550b3252705d931b6251ce6e87076ff30a17 100644 GIT binary patch delta 273 zcmcb@_@1eLIWI340}#wv%%7PCq#uJgFu)9Dd=3IKrZc24q%h_%sfP<`fr!Y`DczoLQ23i=!wtJ+rtZwP<3B yBNs1F9ArST>%{d^#y1!gFQB3a46H3&*BOK_F$hoay~v<+g+b{83>9$$H39%4N;-W2 delta 156 zcmaFQbcHcxIWI340}y=Q^((_3NIwQ~V1NnA_$&luOlL@8NMX!j$YqRTWMoKT3TDt` zehE^b$#{!3F(o%M&rg%-7GFwMVqSW_UUGh3Nl|7}5i?N1#Osdw96*{8h>K-`#0O?Z QM#dWq3Ky`UA~v83056&%cK`qY diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc index 9aa598b9d5171b2bb0d207f045e07f9fbbb95a64..66891d7e2f1014488d6a43482951ddb01dde853c 100644 GIT binary patch literal 824 zcmZuvy>HV%6n_`n%?Ak~vWgfOf~pQ#;vooSKrEmlp*BL$0eLxHd`FXD$LZNt3u4I7 zKOh5A21cX;q62?QDrJbgA|Z7P3R4$&XD5+LdG`I@d-uM6ce>A|QUOptekyl=qW+*=dRPR=r?1Y6@u#Ws?Rjg`-}GyR{8EH_TT&hZVTkc~^v zrSA>G7veAyL3r^83z1R5W5?7L{e!Txk8Y7gp-=n%5oMe^>tUFyY(;f(3tahB2`l$5^Pyh6La+|FXt;0D4FW@U3)u1<2*g<{jH<>MTsedY;D;{v7FGIEt& zr1UUiZW@v5C~^LAhsm9;aJf`ZATB*&q1f+wBH4=z4xS?voU%}sF#Z+fO;oa|K)s9v zRHtAMVYvQg=GN%J)ZF?KOw7i)*_fJ*;qI)mJ-R)uY=6H$sWi_k&1t1Md^XpKac>US zA)Ta#v}$^s=RMXx@aw#t5;ykLJ4!ihDk5uMm$`@Oi66;37*Lm=keh3SkQv;aT>a;| VL2&+c80~!6{iXJQ|0kG?`wJXQ!s7q{ literal 209 zcmZ3^%ge<81S>LrWmp2~#~=<2FhLogg@BCd3@HpLj5!Rsj8Tk?3@J>(44TX@K?*b( zZ?Wa(r=;c-`)M-W;!Md(%uCPLOGzqX21>4E_zY6>OHV%|KQ~psG^sSNq*On(A~m_R zB)>?%JijQrxF9h(RX;huC{-U~j9x+IFAf_ZyEG@&u80Guoe_wOWr4&8W=2NF8w@fR Ku%RM0pb7xTsWln^ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 6867ddf286a519cf1754ac97038f9f1e4605fbf2..7359aa40b6f9cd1ca7cf52897a5a84e41f9d9646 100644 GIT binary patch delta 496 zcmcb@wU~`>IWI340}#w#%%Ay%aU$QedNv@B8Hhhm0us|1Y8bMBGz6qDW;20UMS4I{ zMyMde0J6WDJwO(BtEeyHSrch6@PMmQL27sUP@|(UPei7 zjwb6Zw%pW`jQo@$kj1x{(^E@|SU@b6jQreGO{QDyMX80Qsl_El96-@xkV_RN_c0sR zvw{sN;s*+V+*0fVBpMiQu=BOl%@Di9E`Nbt{)V{Rl$z_}>X*dTSMcp%x+rdaMclfB z=PMh7fY^le3-SgV><-vmFbcTHA9#g7@B&BRU2gsf?47nfwij3=J_F5T(B!(slwW*{ zqaY`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PromptForge Enterprise™{% endblock %} + + + + + {% load static %} + {% block head %}{% endblock %} diff --git a/core/templates/core/index.html b/core/templates/core/index.html index 0a3f404..29af611 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -1,154 +1,38 @@ {% extends "base.html" %} +{% load static %} -{% block title %}{{ project_name }}{% endblock %} +{% block title %}PromptForge Enterprise™{% endblock %} {% block head %} -{% if project_description %} - - - -{% endif %} -{% if project_image_url %} - - -{% endif %} - - - - + {% endblock %} {% block content %} -
-
-

Analyzing your requirements and generating your app…

-
- Loading… +
+
+
+
+

PromptForge Enterprise™

+

S.C.R.I.P.T.™ Prompt Generator for Solution & Implementation

+ +
+ {% csrf_token %} +
+ + +
+
+ + {% if subject_area %} +
+

Results for: {{ subject_area }}

+

Prompt generation is not yet implemented. This is the first step.

+

Next, we will integrate the AI model to generate the 3 S.C.R.I.P.T.™ versions.

+
+ {% endif %} + +
+
-

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" }} -

-
-
- -{% endblock %} \ No newline at end of file + +{% endblock %} diff --git a/core/views.py b/core/views.py index c9aed12..271ad86 100644 --- a/core/views.py +++ b/core/views.py @@ -6,20 +6,10 @@ 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() - - 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", ""), - } - return render(request, "core/index.html", context) +def index(request): + if request.method == 'POST': + subject_area = request.POST.get('subject_area', '') + # For now, just render the page with the submitted subject + # In the next step, we will save it and generate prompts + return render(request, 'core/index.html', {'subject_area': subject_area}) + return home(request) diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..847d817 --- /dev/null +++ b/static/css/custom.css @@ -0,0 +1,60 @@ +/* +Palette: +- Primary (Dark Blue): #0A192F +- Secondary (Slate): #8892B0 +- Accent (Vibrant Green): #64FFDA +- Background (Light Navy): #0E1F3A +- Text (Light Slate): #CCD6F6 +*/ + +body { + background-color: #0A192F; + color: #CCD6F6; + font-family: 'Roboto', sans-serif; +} + +.hero { + background: linear-gradient(180deg, #0E1F3A 0%, #0A192F 100%); + min-height: 100vh; + display: flex; + align-items: center; + justify-content: center; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Poppins', sans-serif; + color: #CCD6F6; +} + +.form-control { + background-color: #0E1F3A; + border: 1px solid #8892B0; + color: #CCD6F6; +} + +.form-control:focus { + background-color: #0E1F3A; + border-color: #64FFDA; + color: #CCD6F6; + box-shadow: 0 0 0 0.25rem rgba(100, 255, 218, 0.25); +} + +.btn-primary { + background-color: #64FFDA; + border-color: #64FFDA; + color: #0A192F; + font-weight: bold; +} + +.btn-primary:hover, .btn-primary:focus { + background-color: #52d6b8; + border-color: #52d6b8; + color: #0A192F; +} + +.prompt-results { + margin-top: 2rem; + padding: 2rem; + background-color: #0E1F3A; + border-radius: 8px; +}