diff --git a/config.sh b/config.sh index 6997448..f74d35f 100755 --- a/config.sh +++ b/config.sh @@ -722,6 +722,22 @@ NODE_ENV=production # Add allowed origin ALLOWED_ORIGINS=https://map.$new_domain,http://localhost:3000 + +# Add allowed origin +ALLOWED_ORIGINS=https://map.cmlite.org,http://localhost:3000 + +# SMTP Configuration +SMTP_HOST=smtp.insert.here +SMTP_PORT=insert_port +SMTP_SECURE=false +SMTP_USER=cmlite@bnkops.ca +SMTP_PASS=insert_pass_here +EMAIL_FROM_NAME=CMlite Map +EMAIL_FROM_ADDRESS=insert_from_address + +# App Configuration +APP_NAME=CMlite Map + EOL echo "✅ Created new map .env file at $MAP_ENV_FILE" return 0 diff --git a/map/app/public/login.html b/map/app/public/login.html index d0cac79..216cbbb 100644 --- a/map/app/public/login.html +++ b/map/app/public/login.html @@ -151,13 +151,138 @@ .password-recovery a:hover { text-decoration: underline; } + + /* Custom Modal Styles */ + .modal-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + display: none; + align-items: center; + justify-content: center; + z-index: 1000; + backdrop-filter: blur(2px); + } + + .modal-overlay.show { + display: flex; + } + + .modal-content { + background: white; + border-radius: 8px; + padding: 30px; + width: 90%; + max-width: 400px; + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); + animation: modalSlideIn 0.3s ease; + } + + @keyframes modalSlideIn { + from { + transform: translateY(-50px); + opacity: 0; + } + to { + transform: translateY(0); + opacity: 1; + } + } + + .modal-header { + text-align: center; + margin-bottom: 20px; + } + + .modal-header h3 { + margin: 0; + color: var(--dark-color); + font-size: 20px; + } + + .modal-header p { + margin: 8px 0 0 0; + color: var(--secondary-color); + font-size: 14px; + } + + .modal-form { + margin-bottom: 20px; + } + + .modal-form .form-group { + margin-bottom: 15px; + } + + .modal-form label { + display: block; + margin-bottom: 5px; + font-weight: 500; + color: var(--dark-color); + } + + .modal-form input[type="email"] { + width: 100%; + padding: 12px; + border: 2px solid var(--light-color); + border-radius: var(--border-radius); + font-size: 14px; + transition: border-color 0.3s ease; + } + + .modal-form input[type="email"]:focus { + outline: none; + border-color: var(--primary-color); + } + + .modal-buttons { + display: flex; + gap: 10px; + justify-content: flex-end; + } + + .modal-button { + padding: 10px 20px; + border: none; + border-radius: var(--border-radius); + font-size: 14px; + font-weight: 500; + cursor: pointer; + transition: all 0.3s ease; + } + + .modal-button.primary { + background-color: var(--primary-color); + color: white; + } + + .modal-button.primary:hover { + background-color: var(--primary-hover); + } + + .modal-button.secondary { + background-color: var(--light-color); + color: var(--dark-color); + } + + .modal-button.secondary:hover { + background-color: var(--secondary-color); + } + + .modal-button:disabled { + opacity: 0.6; + cursor: not-allowed; + }
Please sign in to continue