Download settings.html from Meech888/malipo: direct link, hf CLI and curl.
- Browser
- Download file 27.5 kB
-
https://huggingface.co/spaces/Meech888/malipo/resolve/main/settings.html
- Command line
-
hf download hf://spaces/Meech888/malipo/settings.html
-
curl -L -o settings.html https://huggingface.co/spaces/Meech888/malipo/resolve/main/settings.html
27.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Account Settings | MALiPo</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .settings-gradient { | |
| background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); | |
| } | |
| .settings-card { | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2极速 4px -1px rgba(0, 0, 0, 0.06); | |
| } | |
| .tab-active { | |
| border-bottom: 3px solid #6e00ff; | |
| color: #6e00ff; | |
| } | |
| .switch { | |
| position: relative; | |
| display: inline-block; | |
| width: 60px; | |
| height: 34px; | |
| } | |
| .switch input { | |
| opacity: 0; | |
| width: 0; | |
| height: 0; | |
| } | |
| .slider { | |
| position: absolute; | |
| cursor: pointer; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-color: #ccc; | |
| transition: .4s; | |
| border-radius: 34px; | |
| } | |
| .slider:before { | |
| position: absolute; | |
| content: ""; | |
| height: 26px; | |
| width: 26px; | |
| left: 4px; | |
| bottom: 4px; | |
| background-color: white; | |
| transition: .4s; | |
| border-radius: 50%; | |
| } | |
| input:checked + .slider { | |
| background-color: #6e00ff; | |
| } | |
| input:checked + .slider:before { | |
| transform: translateX(26px); | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans antialiased text-gray-900"> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm fixed w-full z-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="极速 justify-between h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i data-feather="zap" class="h-8 w-8 text-indigo-600"></i> | |
| <span class="ml-2 text-xl font-bold text-gray-900">MALiPo</span> | |
| </div> | |
| </div> | |
| <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8"> | |
| <a href="dashboard.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Dashboard</a> | |
| <a href="transactions.html" class="text-gray-500 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Transactions</a> | |
| <a href="settings.html" class="text-indigo-600 px-3 py-2 text-sm font-medium">Settings</a> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="relative ml-3"> | |
| <div> | |
| <button type="button" class="flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" id="user-menu-button"> | |
| <span class="sr-only">Open user menu</span> | |
| <div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i data-feather="user" class="h-5 w-5 text-indigo-600"></i> | |
| </div> | |
| <span class="ml-2 text-sm font-medium text-gray-700">John Doe</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Main Content --> | |
| <div class="pt-20 pb-12 px-4 sm:px-6 lg:px-8 settings-gradient min-h-screen"> | |
| <div class="max-w-4xl mx-auto"> | |
| <!-- Header --> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8 settings-card"> | |
| <h1 class="text-2xl font-bold text-gray-900">Account Settings</h1> | |
| <p class="mt-2 text-gray-600">Manage your account preferences and security settings</p> | |
| </div> | |
| <!-- Tabs Navigation --> | |
| <div class="bg-white rounded-lg shadow-md mb-8 settings-card"> | |
| <div class="border-b border-gray-200"> | |
| <nav class="-mb-px flex space-x-8"> | |
| <a href="#profile" class="tab-active py-4 px-1 border-b-2 font-medium text-sm whitespace-nowrap"> | |
| Profile | |
| </a> | |
| <a href="#security" class="py-4 px-1 border-b-2 border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 font-medium text-sm whitespace-nowrap"> | |
| Security | |
| </a> | |
| <a href="#notifications" class="py-4 px-1 border-b-2 border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 font-medium text-sm whitespace-nowrap"> | |
| Notifications | |
| </a> | |
| <a href="#privacy" class="py-4 px-1 border-b-2 border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 font-medium text-sm whitespace-nowrap"> | |
| Privacy | |
| </a> | |
| </nav> | |
| </div> | |
| </div> | |
| <!-- Profile Settings --> | |
| <div id="profile" class="settings-section"> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8 settings-card"> | |
| <h2 class="text-xl font-semibold text-gray-900 mb-6">Profile Information</h2> | |
| <form class="space-y-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
| <div> | |
| <label for="first-name" class="block text-sm font-medium text-gray-700 mb-1">First Name</label> | |
| <input type="text" id="first-name" name="first-name" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500" value="John"> | |
| </div> | |
| <div> | |
| <label for="last-name" class="block text-sm font-medium text-gray-700 mb-1">Last Name</label> | |
| <input type="text" id="last-name" name="last-name" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:极速line-none focus:ring-2 focus:ring-indigo-500" value="Doe"> | |
| </div> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label> | |
| <input type="email" id="email" name="email" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500" value="john.doe@example.com"> | |
| </div> | |
| <div> | |
| <label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label> | |
| <input type="tel" id="phone" name="phone" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500" value="+1 (555) 123-4567"> | |
| </div> | |
| <div> | |
| <label for="country" class="block text-sm font-medium text-gray-700 mb-1">Country</label> | |
| <select id="country" name="country" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| <option>United States</option> | |
| <option>Canada</option> | |
| <option>United Kingdom</option> | |
| <option>Australia</option> | |
| <option>Germany</option> | |
| </select> | |
| </div> | |
| <div class="flex justify-end"> | |
| <button type="button" class="px-6 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700"> | |
| Save Changes | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| <!-- Verification Status --> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8 settings-card"> | |
| <h2 class="text-xl font-semibold text-gray-900 mb-6">Identity Verification</h2> | |
| <div class="flex items-center justify-between mb-6"> | |
| <div> | |
| <h3 class="text-lg font-medium text-gray-900">Verification Status</h3> | |
| <p class="text-sm text-gray-600">Your account is fully verified</p> | |
| </div> | |
| <span class="px-3 py-1 text-xs font-semibold text-green-800 bg-green-100 rounded-full">Verified</span> | |
| </div> | |
| <div class="bg-gray-50 p-4 rounded-lg"> | |
| <h4 class="font-medium text-gray-900 mb-2">Verified Documents</h4> | |
| <ul class="text-sm text-gray-600 space-y-1"> | |
| <li>• Government ID: Driver's License (Verified on Dec 10, 2023)</li> | |
| <li>• Facial Recognition: Completed on Dec 10, 2023</li> | |
| </ul> | |
| </div> | |
| <div class="mt-6"> | |
| <button type="button" class="px-4 py-2 border border-gray-300 text-gray-700 rounded-md hover:bg-gray-50"> | |
| Re-verify Identity | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Security Settings --> | |
| <div id="security" class="settings-section hidden"> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8 settings-card"> | |
| <h2 class="text-xl font-semibold text-gray-900 mb-6">Security Settings</h2> | |
| <div class="space-y-6"> | |
| <!-- Password Change --> | |
| <div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Change Password</h3> | |
| <form class="space-y-4"> | |
| <div> | |
| <label for="current-password" class="block text-sm font-medium text-gray-700 mb-1">Current Password</label> | |
| <input type="password" id="current-password" name="current-password" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label for="new-password" class="block text-sm font-medium text-gray-700 mb-1">New Password</label> | |
| <input type="password" id="new-password" name="new-password" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div> | |
| <label for="confirm-password" class="block text-sm font-medium text-gray-700 mb-1">Confirm New Password</label> | |
| <input type="password" id="confirm-password" name="confirm-password" class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
| </div> | |
| <div class="flex justify-end"> | |
| <button type="button" class="px-6 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700"> | |
| Update Password | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| <!-- Two-Factor Authentication --> | |
| <div class="pt-6 border-t border-gray-200"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Two-Factor Authentication</h3> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-600">Add an extra layer of security to your account</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox"> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- Session Management --> | |
| <div class="pt-6 border-t border-gray-200"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Active Sessions</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Current Session</p> | |
| <p class="text-xs text-gray-600">Chrome on Windows • 127.0.0.1</p> | |
| <p class="text-xs text-gray-600">Logged in 2 hours ago</p> | |
| </div> | |
| <span class="px-2 py-1 text-xs font-semibold text-green-800 bg-green-100 rounded-full">Active</span> | |
| </div> | |
| <div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Mobile Session</p> | |
| <p class="text-xs text-gray-600">Safari on iPhone • 192.168.1.5</p> | |
| <p class="text-xs text-gray-600">Logged in 1 day ago</p> | |
| </div> | |
| <button class="px-3 py-1 text-xs text-red-600 border border-red-300 rounded-md hover:bg-red-50"> | |
| Revoke | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Notification Settings --> | |
| <div id="notifications" class="settings-section hidden"> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8 settings-card"> | |
| <h2 class="text-xl font-semibold text-gray-900 mb-6">Notification Preferences</h2> | |
| <div class="space-y-6"> | |
| <!-- Email Notifications --> | |
| <div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Email Notifications</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Transaction alerts</p> | |
| <p class="text-xs text-gray-600">Get notified when you send or receive funds</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox" checked> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Security alerts</p> | |
| <p class="text-xs text-gray-600">Important security notifications about your account</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox" checked> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Marketing emails</p> | |
| <p class="text-xs text极速-600">Product updates and promotional offers</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox"> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Push Notifications --> | |
| <div class="pt-6 border-t border-gray-200"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Push Notifications</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Instant transaction alerts</p> | |
| <p class="text-xs text-gray-600">Receive immediate notifications for transactions</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox" checked> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <极速> | |
| <p class="text-sm font-medium text-gray-900">Price alerts</p> | |
| <p class="text-xs text-gray-600">Get notified when prices reach your targets</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox"> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="pt-6 border-t border-gray-200 flex justify-end"> | |
| <button type="button" class="px-6 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700"> | |
| Save Preferences | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Privacy Settings --> | |
| <div id="privacy" class="settings-section hidden"> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-8 settings-card"> | |
| <h2 class="text-xl font-semibold text-gray-900 mb-6">Privacy Settings</h2> | |
| <div class="space-y-6"> | |
| <!-- Data Privacy --> | |
| <div> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Data Privacy</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Data sharing for analytics</p> | |
| <p class="text-xs text-gray-600">Help us improve by sharing anonymous usage data</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox"> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Personalized advertising</p> | |
| <p class="text-xs text-gray-600">See relevant ads based on your activity</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox"> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Account Privacy --> | |
| <div class="pt-6 border-t border-gray-200"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Account Privacy</h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Public profile</p> | |
| <p class="text-xs text-gray-600">Allow others to find you by email</p> | |
| </div> | |
| <label class="switch"> | |
| <input type="checkbox"> | |
| <span class="slider"></span> | |
| </label> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div> | |
| <p class="text-sm font-medium text-gray-900">Transaction history visibility</p> | |
| <p class="text-xs text-gray-600">Who can see your transaction history</p> | |
| </div> | |
| <select class="px-3 py-1 border border-gray-300 rounded-md text-sm"> | |
| <option>Only Me</option> | |
| <option>Contacts</option> | |
| <option>Everyone</option> | |
| </select> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Data Management --> | |
| <div class="pt-6 border-t border-gray-200"> | |
| <h3 class="text-lg font-medium text-gray-900 mb-4">Data Management</h3> | |
| <div class="space-y-4"> | |
| <button type="button" class="w-full text-left p-3 bg-gray-50 rounded-lg hover:bg-gray-100"> | |
| <p class="text-sm font-medium text-gray-900">Download your data</p> | |
| <p class="text-xs text-gray-600">Get a copy of your MALiPo data</p> | |
| </button> | |
| <button type="button" class="w-full text-left p-3 bg-gray-50 rounded-lg hover:bg-gray-100"> | |
| <p class="text-sm font-medium text-red-600">Delete account</p> | |
| <p class="text-xs text-gray-600">Permanently delete your account and data</极速> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="pt-6 border-t border-gray-200 flex justify-end"> | |
| <button type="button" class="px-6 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700"> | |
| Save Privacy Settings | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gray-50"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8"> | |
| <div class="text-center"> | |
| <p class="text-sm text-gray-600"> | |
| © 2023 MALiPo. All rights reserved. | |
| <a href="#" class="text-indigo-600 hover:text-indigo-500">Privacy Policy</a> • | |
| <a href="#" class="text-indigo-600 hover:text-indigo-500">Terms of Service</a> | |
| </极速> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| // Tab functionality | |
| document.querySelectorAll('nav a').forEach(tab => { | |
| tab.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| // Remove active class from all tabs | |
| document.querySelectorAll('nav a').forEach(t => { | |
| t.classList.remove('tab-active'); | |
| t.classList.add('border-transparent', 'text-gray-500'); | |
| }); | |
| // Add active class to clicked tab | |
| this.classList.add('tab-active'); | |
| this.classList.remove('border-transparent', 'text-gray-500'); | |
| // Hide all sections | |
| document.querySelectorAll('.settings-section').forEach(section => { | |
| section.classList.add('hidden'); | |
| }); | |
| // Show selected section | |
| const sectionId = this.getAttribute('href').substring(1); | |
| document.getElementById(sectionId).classList.remove('hidden'); | |
| }); | |
| }); | |
| // Initialize first tab as active | |
| document.querySelector('nav a.tab-active').click(); | |
| </script> | |
| </body> | |
| </html> |