Spaces:
Running
Running
Create a website that you can import a password .csv file and change all the parameters through forms, including username, email, password, website url and make it organized, can only be uploaded through local computer, and allow save changes to export a new .csv or .pdf file so that it can be imported back into google password manager. Make it simple, minimilistic but modern with sharp edges and corners and a color them of dark neon green and silver for futuristic look. - Initial Deployment
Browse files- README.md +7 -5
- index.html +318 -18
- prompts.txt +1 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: password-manager
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,319 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Password Manager Editor</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
neon: {
|
| 15 |
+
green: '#39FF14',
|
| 16 |
+
dark: '#0A1E12'
|
| 17 |
+
}
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
</script>
|
| 23 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 24 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 25 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 26 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 27 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js"></script>
|
| 28 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
|
| 29 |
+
<style>
|
| 30 |
+
.glow-text {
|
| 31 |
+
text-shadow: 0 0 5px rgba(57, 255, 20, 0.7);
|
| 32 |
+
}
|
| 33 |
+
.glow-border {
|
| 34 |
+
box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
|
| 35 |
+
}
|
| 36 |
+
.scrollbar-hide::-webkit-scrollbar {
|
| 37 |
+
display: none;
|
| 38 |
+
}
|
| 39 |
+
.scrollbar-hide {
|
| 40 |
+
-ms-overflow-style: none;
|
| 41 |
+
scrollbar-width: none;
|
| 42 |
+
}
|
| 43 |
+
</style>
|
| 44 |
+
</head>
|
| 45 |
+
<body class="bg-neon-dark text-gray-200 min-h-screen">
|
| 46 |
+
<div class="container mx-auto px-4 py-8">
|
| 47 |
+
<header class="mb-12 text-center">
|
| 48 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-2 glow-text text-neon-green">PASSWORD MANAGER EDITOR</h1>
|
| 49 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Securely modify and export your password data with this futuristic editor</p>
|
| 50 |
+
</header>
|
| 51 |
+
|
| 52 |
+
<main>
|
| 53 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 54 |
+
<!-- Import Section -->
|
| 55 |
+
<div class="bg-gray-800 rounded-lg p-6 border border-gray-700 glow-border" data-aos="fade-right">
|
| 56 |
+
<div class="flex items-center mb-4">
|
| 57 |
+
<i data-feather="upload" class="text-neon-green mr-2"></i>
|
| 58 |
+
<h2 class="text-xl font-semibold text-neon-green">Import CSV</h2>
|
| 59 |
+
</div>
|
| 60 |
+
<p class="text-gray-400 mb-4">Upload your password CSV file from your local computer to begin editing.</p>
|
| 61 |
+
<input type="file" id="csvFile" accept=".csv" class="hidden">
|
| 62 |
+
<label for="csvFile" class="cursor-pointer bg-neon-green text-neon-dark font-medium py-2 px-4 rounded flex items-center justify-center hover:bg-opacity-90 transition">
|
| 63 |
+
<i data-feather="file" class="mr-2"></i> Choose File
|
| 64 |
+
</label>
|
| 65 |
+
<div id="fileName" class="mt-2 text-sm text-gray-400"></div>
|
| 66 |
+
</div>
|
| 67 |
+
|
| 68 |
+
<!-- Password List -->
|
| 69 |
+
<div class="lg:col-span-2 bg-gray-800 rounded-lg border border-gray-700 glow-border" data-aos="fade-left">
|
| 70 |
+
<div class="p-4 border-b border-gray-700 flex justify-between items-center">
|
| 71 |
+
<h2 class="text-xl font-semibold text-neon-green flex items-center">
|
| 72 |
+
<i data-feather="lock" class="mr-2"></i> Password Entries
|
| 73 |
+
</h2>
|
| 74 |
+
<div id="entryCount" class="text-gray-400 text-sm">0 entries</div>
|
| 75 |
+
</div>
|
| 76 |
+
<div id="passwordList" class="overflow-y-auto max-h-96 scrollbar-hide">
|
| 77 |
+
<div class="text-center py-12 text-gray-500" id="emptyState">
|
| 78 |
+
<i data-feather="database" class="mx-auto w-12 h-12 mb-4"></i>
|
| 79 |
+
<p>No password data loaded. Import a CSV file to begin.</p>
|
| 80 |
+
</div>
|
| 81 |
+
</div>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<!-- Export Section (hidden initially) -->
|
| 86 |
+
<div id="exportSection" class="hidden mt-8 bg-gray-800 rounded-lg p-6 border border-gray-700 glow-border" data-aos="fade-up">
|
| 87 |
+
<div class="flex items-center mb-4">
|
| 88 |
+
<i data-feather="download" class="text-neon-green mr-2"></i>
|
| 89 |
+
<h2 class="text-xl font-semibold text-neon-green">Export Options</h2>
|
| 90 |
+
</div>
|
| 91 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
| 92 |
+
<button id="exportCsv" class="bg-gray-700 hover:bg-gray-600 text-white font-medium py-3 px-4 rounded flex items-center justify-center transition">
|
| 93 |
+
<i data-feather="file-text" class="mr-2"></i> Export as CSV
|
| 94 |
+
</button>
|
| 95 |
+
<button id="exportPdf" class="bg-gray-700 hover:bg-gray-600 text-white font-medium py-3 px-4 rounded flex items-center justify-center transition">
|
| 96 |
+
<i data-feather="file" class="mr-2"></i> Export as PDF
|
| 97 |
+
</button>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
</main>
|
| 101 |
+
</div>
|
| 102 |
+
|
| 103 |
+
<!-- Edit Modal -->
|
| 104 |
+
<div id="editModal" class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden">
|
| 105 |
+
<div class="bg-gray-800 rounded-lg border border-gray-700 w-full max-w-md mx-4 p-6 glow-border">
|
| 106 |
+
<div class="flex justify-between items-center mb-4">
|
| 107 |
+
<h3 class="text-xl font-semibold text-neon-green">Edit Password Entry</h3>
|
| 108 |
+
<button id="closeModal" class="text-gray-400 hover:text-white">
|
| 109 |
+
<i data-feather="x"></i>
|
| 110 |
+
</button>
|
| 111 |
+
</div>
|
| 112 |
+
<form id="editForm" class="space-y-4">
|
| 113 |
+
<input type="hidden" id="editIndex">
|
| 114 |
+
<div>
|
| 115 |
+
<label for="editWebsite" class="block text-sm font-medium text-gray-400 mb-1">Website URL</label>
|
| 116 |
+
<input type="url" id="editWebsite" class="w-full bg-gray-700 border border-gray-600 rounded px-3 py-2 text-white focus:outline-none focus:ring-1 focus:ring-neon-green">
|
| 117 |
+
</div>
|
| 118 |
+
<div>
|
| 119 |
+
<label for="editUsername" class="block text-sm font-medium text-gray-400 mb-1">Username</label>
|
| 120 |
+
<input type="text" id="editUsername" class="w-full bg-gray-700 border border-gray-600 rounded px-3 py-2 text-white focus:outline-none focus:ring-1 focus:ring-neon-green">
|
| 121 |
+
</div>
|
| 122 |
+
<div>
|
| 123 |
+
<label for="editEmail" class="block text-sm font-medium text-gray-400 mb-1">Email</label>
|
| 124 |
+
<input type="email" id="editEmail" class="w-full bg-gray-700 border border-gray-600 rounded px-3 py-2 text-white focus:outline-none focus:ring-1 focus:ring-neon-green">
|
| 125 |
+
</div>
|
| 126 |
+
<div>
|
| 127 |
+
<label for="editPassword" class="block text-sm font-medium text-gray-400 mb-1">Password</label>
|
| 128 |
+
<div class="relative">
|
| 129 |
+
<input type="password" id="editPassword" class="w-full bg-gray-700 border border-gray-600 rounded px-3 py-2 text-white focus:outline-none focus:ring-1 focus:ring-neon-green pr-10">
|
| 130 |
+
<button type="button" id="togglePassword" class="absolute right-3 top-2 text-gray-400 hover:text-neon-green">
|
| 131 |
+
<i data-feather="eye"></i>
|
| 132 |
+
</button>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
<div class="pt-2">
|
| 136 |
+
<button type="submit" class="w-full bg-neon-green text-neon-dark font-medium py-2 px-4 rounded hover:bg-opacity-90 transition">
|
| 137 |
+
Save Changes
|
| 138 |
+
</button>
|
| 139 |
+
</div>
|
| 140 |
+
</form>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
|
| 144 |
+
<script>
|
| 145 |
+
// Initialize libraries
|
| 146 |
+
AOS.init();
|
| 147 |
+
feather.replace();
|
| 148 |
+
|
| 149 |
+
// Global variables
|
| 150 |
+
let passwordData = [];
|
| 151 |
+
const { jsPDF } = window.jspdf;
|
| 152 |
+
|
| 153 |
+
// DOM elements
|
| 154 |
+
const csvFileInput = document.getElementById('csvFile');
|
| 155 |
+
const fileNameDisplay = document.getElementById('fileName');
|
| 156 |
+
const passwordList = document.getElementById('passwordList');
|
| 157 |
+
const emptyState = document.getElementById('emptyState');
|
| 158 |
+
const entryCount = document.getElementById('entryCount');
|
| 159 |
+
const exportSection = document.getElementById('exportSection');
|
| 160 |
+
const exportCsvBtn = document.getElementById('exportCsv');
|
| 161 |
+
const exportPdfBtn = document.getElementById('exportPdf');
|
| 162 |
+
const editModal = document.getElementById('editModal');
|
| 163 |
+
const closeModalBtn = document.getElementById('closeModal');
|
| 164 |
+
const editForm = document.getElementById('editForm');
|
| 165 |
+
const togglePasswordBtn = document.getElementById('togglePassword');
|
| 166 |
+
|
| 167 |
+
// Event listeners
|
| 168 |
+
csvFileInput.addEventListener('change', handleFileUpload);
|
| 169 |
+
closeModalBtn.addEventListener('click', () => editModal.classList.add('hidden'));
|
| 170 |
+
togglePasswordBtn.addEventListener('click', togglePasswordVisibility);
|
| 171 |
+
editForm.addEventListener('submit', handleFormSubmit);
|
| 172 |
+
exportCsvBtn.addEventListener('click', exportAsCsv);
|
| 173 |
+
exportPdfBtn.addEventListener('click', exportAsPdf);
|
| 174 |
+
|
| 175 |
+
// Functions
|
| 176 |
+
function handleFileUpload(event) {
|
| 177 |
+
const file = event.target.files[0];
|
| 178 |
+
if (!file) return;
|
| 179 |
+
|
| 180 |
+
fileNameDisplay.textContent = file.name;
|
| 181 |
+
|
| 182 |
+
Papa.parse(file, {
|
| 183 |
+
header: true,
|
| 184 |
+
complete: function(results) {
|
| 185 |
+
passwordData = results.data;
|
| 186 |
+
renderPasswordList();
|
| 187 |
+
exportSection.classList.remove('hidden');
|
| 188 |
+
entryCount.textContent = `${passwordData.length} ${passwordData.length === 1 ? 'entry' : 'entries'}`;
|
| 189 |
+
},
|
| 190 |
+
error: function(error) {
|
| 191 |
+
console.error("Error parsing CSV:", error);
|
| 192 |
+
alert("Error parsing CSV file. Please ensure it's a valid CSV format.");
|
| 193 |
+
}
|
| 194 |
+
});
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
function renderPasswordList() {
|
| 198 |
+
if (passwordData.length === 0) {
|
| 199 |
+
emptyState.classList.remove('hidden');
|
| 200 |
+
passwordList.innerHTML = '';
|
| 201 |
+
return;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
emptyState.classList.add('hidden');
|
| 205 |
+
passwordList.innerHTML = '';
|
| 206 |
+
|
| 207 |
+
passwordData.forEach((entry, index) => {
|
| 208 |
+
const entryElement = document.createElement('div');
|
| 209 |
+
entryElement.className = 'border-b border-gray-700 hover:bg-gray-750 transition cursor-pointer';
|
| 210 |
+
entryElement.innerHTML = `
|
| 211 |
+
<div class="p-4 flex items-center justify-between" onclick="openEditModal(${index})">
|
| 212 |
+
<div class="flex items-center space-x-4">
|
| 213 |
+
<div class="bg-gray-700 p-3 rounded-lg">
|
| 214 |
+
<i data-feather="globe" class="text-neon-green"></i>
|
| 215 |
+
</div>
|
| 216 |
+
<div>
|
| 217 |
+
<h3 class="font-medium">${entry.name || entry.url || 'Untitled'}</h3>
|
| 218 |
+
<p class="text-sm text-gray-400">${entry.username || entry.email || 'No username'}</p>
|
| 219 |
+
</div>
|
| 220 |
+
</div>
|
| 221 |
+
<i data-feather="chevron-right" class="text-gray-400"></i>
|
| 222 |
+
</div>
|
| 223 |
+
`;
|
| 224 |
+
passwordList.appendChild(entryElement);
|
| 225 |
+
});
|
| 226 |
+
feather.replace();
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
function openEditModal(index) {
|
| 230 |
+
const entry = passwordData[index];
|
| 231 |
+
document.getElementById('editIndex').value = index;
|
| 232 |
+
document.getElementById('editWebsite').value = entry.url || entry.name || '';
|
| 233 |
+
document.getElementById('editUsername').value = entry.username || '';
|
| 234 |
+
document.getElementById('editEmail').value = entry.email || '';
|
| 235 |
+
document.getElementById('editPassword').value = entry.password || '';
|
| 236 |
+
editModal.classList.remove('hidden');
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
function togglePasswordVisibility() {
|
| 240 |
+
const passwordInput = document.getElementById('editPassword');
|
| 241 |
+
const icon = togglePasswordBtn.querySelector('i');
|
| 242 |
+
if (passwordInput.type === 'password') {
|
| 243 |
+
passwordInput.type = 'text';
|
| 244 |
+
icon.setAttribute('data-feather', 'eye-off');
|
| 245 |
+
} else {
|
| 246 |
+
passwordInput.type = 'password';
|
| 247 |
+
icon.setAttribute('data-feather', 'eye');
|
| 248 |
+
}
|
| 249 |
+
feather.replace();
|
| 250 |
+
}
|
| 251 |
+
|
| 252 |
+
function handleFormSubmit(event) {
|
| 253 |
+
event.preventDefault();
|
| 254 |
+
const index = document.getElementById('editIndex').value;
|
| 255 |
+
passwordData[index] = {
|
| 256 |
+
...passwordData[index],
|
| 257 |
+
name: document.getElementById('editWebsite').value,
|
| 258 |
+
url: document.getElementById('editWebsite').value,
|
| 259 |
+
username: document.getElementById('editUsername').value,
|
| 260 |
+
email: document.getElementById('editEmail').value,
|
| 261 |
+
password: document.getElementById('editPassword').value
|
| 262 |
+
};
|
| 263 |
+
renderPasswordList();
|
| 264 |
+
editModal.classList.add('hidden');
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
function exportAsCsv() {
|
| 268 |
+
const csv = Papa.unparse(passwordData);
|
| 269 |
+
const blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' });
|
| 270 |
+
const url = URL.createObjectURL(blob);
|
| 271 |
+
const link = document.createElement('a');
|
| 272 |
+
link.href = url;
|
| 273 |
+
link.setAttribute('download', 'passwords_export.csv');
|
| 274 |
+
document.body.appendChild(link);
|
| 275 |
+
link.click();
|
| 276 |
+
document.body.removeChild(link);
|
| 277 |
+
}
|
| 278 |
+
|
| 279 |
+
function exportAsPdf() {
|
| 280 |
+
const doc = new jsPDF();
|
| 281 |
+
let y = 20;
|
| 282 |
+
|
| 283 |
+
doc.setFontSize(18);
|
| 284 |
+
doc.setTextColor(57, 255, 20);
|
| 285 |
+
doc.text('Password Manager Export', 105, y, { align: 'center' });
|
| 286 |
+
y += 15;
|
| 287 |
+
|
| 288 |
+
doc.setFontSize(12);
|
| 289 |
+
doc.setTextColor(255, 255, 255);
|
| 290 |
+
|
| 291 |
+
passwordData.forEach((entry, index) => {
|
| 292 |
+
if (y > 270) {
|
| 293 |
+
doc.addPage();
|
| 294 |
+
y = 20;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
doc.setFillColor(40, 40, 40);
|
| 298 |
+
doc.rect(10, y - 5, 190, 15, 'F');
|
| 299 |
+
doc.setTextColor(57, 255, 20);
|
| 300 |
+
doc.text(`${entry.name || entry.url || 'Untitled'}`, 15, y);
|
| 301 |
+
y += 10;
|
| 302 |
+
|
| 303 |
+
doc.setTextColor(200, 200, 200);
|
| 304 |
+
doc.text(`Username: ${entry.username || 'N/A'}`, 15, y);
|
| 305 |
+
y += 7;
|
| 306 |
+
doc.text(`Email: ${entry.email || 'N/A'}`, 15, y);
|
| 307 |
+
y += 7;
|
| 308 |
+
doc.text(`Password: ${entry.password || 'N/A'}`, 15, y);
|
| 309 |
+
y += 15;
|
| 310 |
+
});
|
| 311 |
+
|
| 312 |
+
doc.save('passwords_export.pdf');
|
| 313 |
+
}
|
| 314 |
+
|
| 315 |
+
// Make functions available globally for inline event handlers
|
| 316 |
+
window.openEditModal = openEditModal;
|
| 317 |
+
</script>
|
| 318 |
+
</body>
|
| 319 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Create a website that you can import a password .csv file and change all the parameters through forms, including username, email, password, website url and make it organized, can only be uploaded through local computer, and allow save changes to export a new .csv or .pdf file so that it can be imported back into google password manager. Make it simple, minimilistic but modern with sharp edges and corners and a color them of dark neon green and silver for futuristic look.
|