Spaces:
Running
Running
Commit History
-
صوره التطبيق
Verified signatureec09972 -
Upload 1 media file(s)
Verified signaturec72217e -
body {
Verified signaturemargin: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); display: flex; justify-content: center; align-items: center; height: 100vh; color: #fff; } .lock-screen { background: rgba(0,0,0,0.6); padding: 40px; border-radius: 20px; box-shadow: 0 0 30px rgba(255,255,255,0.2); text-align: center; width: 300px; animation: fadeIn 1s ease-in-out; } input[type="password"] { padding: 10px; font-size: 20px; border-radius: 10px; border: none; width: 80%; text-align: center; margin: 20px 0; } button { padding: 10px 20px; font-size: 18px; border-radius: 10px; border: none; background-color: #00b894; color: #fff; cursor: pointer; transition: transform 0.2s, background-color 0.2s; } button:hover { transform: scale(1.1); background-color: #019875; } #message { margin-top: 15px; font-weight:…859a339 -
<!DOCTYPE html>
Verified signature<html lang="ar"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>FortiLock - قفل التطبيقات</title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="lock-screen"> <h1>🔒 FortiLock</h1> <p>ادخل الرمز للوصول إلى التطبيقات</p> <input type="password" id="pinInput" placeholder="••••" maxlength="4"> <button id="unlockBtn">فتح</button> <p id="message"></p> </div> <script src="script.js"></script> </body> </html>2bda0cc -
import 'package:flutter/material.dart';
Verified signatureimport 'package:local_auth/local_auth.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'security.dart'; import 'home.dart'; class LockScreen extends StatefulWidget { @override _LockScreenState createState() => _LockScreenState(); } class _LockScreenState extends State<LockScreen> { final TextEditingController pinController = TextEditingController(); final LocalAuthentication auth = LocalAuthentication(); Future<void> authenticateWithFingerprint() async { bool authenticated = await auth.authenticate( localizedReason: 'الرجاء التحقق بالبصمة', options: const AuthenticationOptions( biometricOnly: true, ), ); if (authenticated) { Navigator.pushReplacement( context, MaterialPageRoute(builder: (_) => Home())); } } Future<void> checkPin() async { SharedPreferences prefs = await SharedPreferences.getInstance(); String? savedPin = prefs.getString('pin'); if (savedPin == Security.ha…7e6e3fc -
initial commit
Verified signatureea29f27