Repository navigation
Expand file tree
/
Copy pathsubmit-tool.html
More file actions
341 lines (318 loc) · 20.2 KB
/
Copy pathsubmit-tool.html
File metadata and controls
341 lines (318 loc) · 20.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Submit a Tool | Ethical Technology Assessment</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body class="bg-slate-50 min-h-screen">
<!-- Header -->
<header class="bg-slate-800 text-white">
<div class="max-w-6xl mx-auto px-4">
<div class="flex items-center justify-between py-4">
<a href="index.html" class="flex items-center gap-3">
<svg class="w-8 h-8" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<circle cx="16" cy="16" r="14"/>
<path d="M16 6v20M6 16h20M10 10l12 12M22 10L10 22"/>
</svg>
<div>
<div class="font-bold text-lg">Ethical Technology Assessment</div>
<div class="text-xs text-slate-400">OpenTEAM • Farm Hack • GIAA</div>
</div>
</a>
<nav class="hidden md:flex items-center gap-1">
<a href="index.html" class="text-slate-300 hover:text-green-400 transition-colors px-3 py-2 rounded">Home</a>
<a href="needs-assessment.html" class="text-slate-300 hover:text-green-400 transition-colors px-3 py-2 rounded">Needs Assessment</a>
<div class="relative group">
<button class="text-slate-300 hover:text-green-400 transition-colors px-3 py-2 rounded flex items-center gap-1">
ETA Tools
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M6 9l6 6 6-6"/></svg>
</button>
<div class="absolute right-0 top-full mt-1 w-56 bg-slate-700 rounded-lg shadow-xl opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all z-50">
<a href="eta_unified.html" class="block px-4 py-3 text-sm text-slate-200 hover:bg-slate-600 rounded-t-lg">
<div class="font-medium">ETA Assessment Tool</div>
<div class="text-xs text-slate-400">Run full assessments</div>
</a>
<a href="eta-comparison.html" class="block px-4 py-3 text-sm text-slate-200 hover:bg-slate-600">
<div class="font-medium">Tool Comparison</div>
<div class="text-xs text-slate-400">Side-by-side analysis</div>
</a>
<a href="eta-data-comparison.html" class="block px-4 py-3 text-sm text-slate-200 hover:bg-slate-600">
<div class="font-medium">Data Comparison</div>
<div class="text-xs text-slate-400">Compare data practices</div>
</a>
<a href="eta-scorecard.html" class="block px-4 py-3 text-sm text-slate-200 hover:bg-slate-600">
<div class="font-medium">ETA Scorecard</div>
<div class="text-xs text-slate-400">Quick scoring view</div>
</a>
<a href="assessment-matrix.html" class="block px-4 py-3 text-sm text-slate-200 hover:bg-slate-600 rounded-b-lg">
<div class="font-medium">Tool Matrix</div>
<div class="text-xs text-slate-400">East Africa tool assessments</div>
</a>
</div>
</div>
<a href="submit-tool.html" class="text-white bg-slate-700 px-3 py-2 rounded font-medium">Submit Tool</a>
<a href="about.html" class="text-slate-300 hover:text-green-400 transition-colors px-3 py-2 rounded">About</a>
</nav>
<button onclick="toggleMobileMenu()" class="md:hidden p-2">
<svg class="w-6 h-6" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round">
<path d="M4 6h16M4 12h16M4 18h16"/>
</svg>
</button>
</div>
<nav id="mobile-menu" class="hidden md:hidden pb-4 space-y-2">
<a href="index.html" class="block py-2 text-slate-300">Home</a>
<a href="needs-assessment.html" class="block py-2 text-slate-300">Needs Assessment</a>
<div class="py-2 text-slate-400 text-sm">ETA Tools:</div>
<a href="eta_unified.html" class="block py-2 pl-4 text-slate-300">→ Assessment Tool</a>
<a href="eta-comparison.html" class="block py-2 pl-4 text-slate-300">→ Tool Comparison</a>
<a href="eta-data-comparison.html" class="block py-2 pl-4 text-slate-300">→ Data Comparison</a>
<a href="eta-scorecard.html" class="block py-2 pl-4 text-slate-300">→ Scorecard</a>
<a href="assessment-matrix.html" class="block py-2 pl-4 text-slate-300">→ Tool Matrix</a>
<a href="submit-tool.html" class="block py-2 text-white font-medium">Submit Tool</a>
<a href="about.html" class="block py-2 text-slate-300">About</a>
</nav>
</div>
</header>
<!-- Page Header -->
<div class="bg-slate-800 text-white pb-8">
<div class="max-w-3xl mx-auto px-4 text-center">
<h1 class="text-2xl md:text-3xl font-bold mb-2">Submit a Tool for Assessment</h1>
<p class="text-slate-400">Help expand the ETA registry with tools you know about</p>
</div>
</div>
<main class="max-w-2xl mx-auto px-4 py-8 -mt-4">
<div class="bg-white rounded-xl shadow-sm border border-slate-200 p-6 md:p-8">
<!-- Intro -->
<div class="mb-8 p-4 bg-blue-50 rounded-lg border border-blue-200">
<h2 class="font-semibold text-blue-800 mb-2 flex items-center gap-2">
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"/>
<path d="M12 16v-4M12 8h.01"/>
</svg>
How This Works
</h2>
<ul class="text-sm text-blue-700 space-y-1">
<li>1. Submit basic information about the tool</li>
<li>2. Community reviewers will research and verify</li>
<li>3. Tool receives preliminary assessment (★☆☆ confidence)</li>
<li>4. Additional review increases confidence rating</li>
</ul>
</div>
<form id="submit-form" onsubmit="handleSubmit(event)">
<!-- Tool Name -->
<div class="mb-6">
<label for="tool-name" class="form-label">Tool Name *</label>
<input type="text" id="tool-name" required
class="form-input" placeholder="e.g., farmOS, LiteFarm, iShamba">
</div>
<!-- URL -->
<div class="mb-6">
<label for="tool-url" class="form-label">Website URL *</label>
<input type="url" id="tool-url" required
class="form-input" placeholder="https://...">
</div>
<!-- Operator -->
<div class="mb-6">
<label for="tool-operator" class="form-label">Who operates this tool?</label>
<input type="text" id="tool-operator"
class="form-input" placeholder="e.g., Company name, nonprofit, government agency">
</div>
<!-- Primary Need -->
<div class="mb-6">
<label class="form-label">What need does it address? *</label>
<div class="grid grid-cols-2 gap-2 mt-2">
<label class="flex items-center gap-2 p-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50">
<input type="checkbox" name="need" value="weather" class="rounded text-green-600">
<span class="text-sm">Weather & Climate</span>
</label>
<label class="flex items-center gap-2 p-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50">
<input type="checkbox" name="need" value="advice" class="rounded text-green-600">
<span class="text-sm">Expert Advice</span>
</label>
<label class="flex items-center gap-2 p-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50">
<input type="checkbox" name="need" value="records" class="rounded text-green-600">
<span class="text-sm">Farm Records</span>
</label>
<label class="flex items-center gap-2 p-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50">
<input type="checkbox" name="need" value="market" class="rounded text-green-600">
<span class="text-sm">Market Access</span>
</label>
<label class="flex items-center gap-2 p-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50">
<input type="checkbox" name="need" value="training" class="rounded text-green-600">
<span class="text-sm">Training</span>
</label>
<label class="flex items-center gap-2 p-3 border border-slate-200 rounded-lg cursor-pointer hover:bg-slate-50">
<input type="checkbox" name="need" value="collaboration" class="rounded text-green-600">
<span class="text-sm">Collaboration</span>
</label>
</div>
</div>
<!-- Geography -->
<div class="mb-6">
<label for="tool-geography" class="form-label">Where is it available?</label>
<input type="text" id="tool-geography"
class="form-input" placeholder="e.g., Kenya, East Africa, Global">
</div>
<!-- Phone Support -->
<div class="mb-6">
<label class="form-label">Does it work on basic phones (SMS)?</label>
<div class="flex gap-4 mt-2">
<label class="flex items-center gap-2">
<input type="radio" name="basic-phone" value="yes" class="text-green-600">
<span>Yes</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="basic-phone" value="no" class="text-green-600">
<span>No (smartphone only)</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="basic-phone" value="unknown" class="text-green-600" checked>
<span>Don't know</span>
</label>
</div>
</div>
<!-- Cost -->
<div class="mb-6">
<label class="form-label">Is it free?</label>
<div class="flex gap-4 mt-2">
<label class="flex items-center gap-2">
<input type="radio" name="cost" value="free" class="text-green-600">
<span>Free</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="cost" value="freemium" class="text-green-600">
<span>Free tier available</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="cost" value="paid" class="text-green-600">
<span>Paid only</span>
</label>
</div>
</div>
<!-- Open Source -->
<div class="mb-6">
<label class="form-label">Is it open source?</label>
<div class="flex gap-4 mt-2">
<label class="flex items-center gap-2">
<input type="radio" name="opensource" value="yes" class="text-green-600">
<span>Yes</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="opensource" value="partial" class="text-green-600">
<span>Partially</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="opensource" value="no" class="text-green-600">
<span>No</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="opensource" value="unknown" class="text-green-600" checked>
<span>Don't know</span>
</label>
</div>
</div>
<!-- Description -->
<div class="mb-6">
<label for="tool-description" class="form-label">Brief Description</label>
<textarea id="tool-description" rows="3"
class="form-input" placeholder="What does this tool do? Who is it for?"></textarea>
</div>
<!-- Why Submit -->
<div class="mb-6">
<label for="tool-reason" class="form-label">Why should this tool be assessed?</label>
<textarea id="tool-reason" rows="2"
class="form-input" placeholder="e.g., Widely used in my community, unique features, fills a gap..."></textarea>
</div>
<!-- Your Info -->
<div class="mb-6 p-4 bg-slate-50 rounded-lg">
<h3 class="font-medium text-slate-700 mb-3">Your Information (optional)</h3>
<div class="grid md:grid-cols-2 gap-4">
<div>
<label for="submitter-name" class="text-sm text-slate-600 block mb-1">Name</label>
<input type="text" id="submitter-name" class="form-input">
</div>
<div>
<label for="submitter-email" class="text-sm text-slate-600 block mb-1">Email</label>
<input type="email" id="submitter-email" class="form-input" placeholder="For follow-up questions">
</div>
</div>
<div class="mt-3">
<label for="submitter-org" class="text-sm text-slate-600 block mb-1">Organization</label>
<input type="text" id="submitter-org" class="form-input">
</div>
</div>
<!-- Submit Button -->
<button type="submit"
class="w-full py-4 bg-green-600 text-white rounded-xl font-semibold hover:bg-green-700 transition-colors flex items-center justify-center gap-2">
<svg class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z"/>
</svg>
Submit Tool for Review
</button>
</form>
<!-- Success Message (hidden) -->
<div id="success-message" class="hidden text-center py-8">
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-green-600" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="20 6 9 17 4 12"/>
</svg>
</div>
<h2 class="text-xl font-bold text-slate-800 mb-2">Thank You!</h2>
<p class="text-slate-600 mb-4">Your submission has been recorded. Community reviewers will assess this tool and add it to the registry.</p>
<a href="needs-assessment.html" class="text-green-600 hover:text-green-800 font-medium">← Back to Needs Assessment</a>
</div>
</div>
<!-- Note about the process -->
<div class="mt-8 text-center text-sm text-slate-500">
<p>All submissions are reviewed by community stewards before inclusion.</p>
<p>Questions? Contact us at <a href="/cdn-cgi/l/email-protection#2b4e5f4a6b445b4e455f4e4a4605484446465e45425f52" class="text-green-600 hover:underline"><span class="__cf_email__" data-cfemail="fa9f8e9bba958a9f948e9f9b97d4999597978f94938e83">[email protected]</span></a></p>
</div>
</main>
<!-- Footer -->
<footer class="bg-slate-800 text-white py-8 mt-12">
<div class="max-w-6xl mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center gap-4">
<div class="text-sm text-slate-400">
© 2026 OpenTEAM. Licensed under CC BY-SA 4.0
</div>
<div class="flex gap-6 text-sm">
<a href="https://openteam.community" class="text-slate-400 hover:text-white transition-colors">openteam.community</a>
<a href="https://github.com/openteam" class="text-slate-400 hover:text-white transition-colors">GitHub</a>
</div>
</div>
</div>
</footer>
<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>
function toggleMobileMenu() {
document.getElementById('mobile-menu').classList.toggle('hidden');
}
function handleSubmit(event) {
event.preventDefault();
// Collect form data
const formData = {
name: document.getElementById('tool-name').value,
url: document.getElementById('tool-url').value,
operator: document.getElementById('tool-operator').value,
needs: Array.from(document.querySelectorAll('input[name="need"]:checked')).map(cb => cb.value),
geography: document.getElementById('tool-geography').value,
basicPhone: document.querySelector('input[name="basic-phone"]:checked')?.value,
cost: document.querySelector('input[name="cost"]:checked')?.value,
openSource: document.querySelector('input[name="opensource"]:checked')?.value,
description: document.getElementById('tool-description').value,
reason: document.getElementById('tool-reason').value,
submitter: {
name: document.getElementById('submitter-name').value,
email: document.getElementById('submitter-email').value,
org: document.getElementById('submitter-org').value
},
timestamp: new Date().toISOString()
};
// In a real implementation, this would POST to a backend
console.log('Submission:', formData);
// For now, store in localStorage for demo
const submissions = JSON.parse(localStorage.getItem('eta-submissions') || '[]');
submissions.push(formData);
localStorage.setItem('eta-submissions', JSON.stringify(su