whatdidyoudo 0.1.9__py3-none-any.whl → 0.1.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of whatdidyoudo might be problematic. Click here for more details.
- whatdidyoudo/app.py +1 -1
- whatdidyoudo/static/style.css +14 -0
- whatdidyoudo/templates/form.html +13 -3
- {whatdidyoudo-0.1.9.dist-info → whatdidyoudo-0.1.10.dist-info}/METADATA +1 -1
- whatdidyoudo-0.1.10.dist-info/RECORD +7 -0
- whatdidyoudo-0.1.9.dist-info/RECORD +0 -7
- {whatdidyoudo-0.1.9.dist-info → whatdidyoudo-0.1.10.dist-info}/WHEEL +0 -0
whatdidyoudo/app.py
CHANGED
whatdidyoudo/static/style.css
CHANGED
|
@@ -87,6 +87,20 @@ h2 a {
|
|
|
87
87
|
font-weight: 700;
|
|
88
88
|
letter-spacing: 1px;
|
|
89
89
|
}
|
|
90
|
+
p a {
|
|
91
|
+
color: #4f8cff;
|
|
92
|
+
text-decoration: none;
|
|
93
|
+
}
|
|
94
|
+
a:hover {
|
|
95
|
+
color: #2563eb;
|
|
96
|
+
text-decoration: underline;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.disclaimer {
|
|
100
|
+
font-size: 0.9em;
|
|
101
|
+
color: #777;
|
|
102
|
+
margin-top: 1.5em;
|
|
103
|
+
}
|
|
90
104
|
|
|
91
105
|
.footer {
|
|
92
106
|
text-align: center;
|
whatdidyoudo/templates/form.html
CHANGED
|
@@ -34,22 +34,32 @@
|
|
|
34
34
|
{% if error %}
|
|
35
35
|
<p class=error>{{ error }}</p>
|
|
36
36
|
{% elif changes %}
|
|
37
|
-
<p>{{ user }} did {{ changes.values() | sum }} changes in {{ changesets }} changeset{{ "s" if changesets > 1 else "" }} on {{ date }}
|
|
37
|
+
<p><a href="https://www.openstreetmap.org/user/{{ user }}">{{ user }}</a> did {{ changes.values() | sum }} changes in {{ changesets }} changeset{{ "s" if changesets > 1 else "" }} on {{ date }}:</p>
|
|
38
38
|
<ul>
|
|
39
39
|
{% for app, count in changes.items() %}
|
|
40
40
|
<li>{{ count }} changes in {{ app }}</li>
|
|
41
41
|
{% endfor %}
|
|
42
42
|
</ul>
|
|
43
43
|
{% else %}
|
|
44
|
-
<p>{{ user }} did not do anything on {{ date }}.</p>
|
|
44
|
+
<p><a href="https://www.openstreetmap.org/user/{{ user }}">{{ user }}</a> did not do anything on {{ date }}.</p>
|
|
45
45
|
{% endif %}
|
|
46
46
|
{% else %}
|
|
47
47
|
<p>
|
|
48
|
-
How much did you contribute to OpenStreetMap today? Or any other day?
|
|
48
|
+
How much did you contribute to <a href="https://www.openstreetmap.org/">OpenStreetMap</a> today? Or any other day?
|
|
49
49
|
</p>
|
|
50
50
|
<p>
|
|
51
51
|
To answer this question, enter your OSM username and the date you want to check above and click "Show".
|
|
52
52
|
</p>
|
|
53
|
+
<div class="disclaimer">
|
|
54
|
+
<h4>Disclaimers</h4>
|
|
55
|
+
<ul>
|
|
56
|
+
<li>This is a very simple service. It does exactly one job and tries to do it good.</li>
|
|
57
|
+
<li>Quality beats quantity. While it's nice to see big numbers here, please remember
|
|
58
|
+
that just one high-effort change will help more that any amount of mediocre changes.</li>
|
|
59
|
+
<li>This service is rate-limited to 10 OSM API requests per minute and caches results
|
|
60
|
+
for 1 hour to reduce load on the API.</li>
|
|
61
|
+
</ul>
|
|
62
|
+
</div>
|
|
53
63
|
{% endif %}
|
|
54
64
|
<p class="footer">Powered by <a href="https://github.com/rompe/whatdidyoudo">whatdidyoudo {{ version }}</a></p>
|
|
55
65
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: whatdidyoudo
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.10
|
|
4
4
|
Summary: A minimal Flask app that shows the amount of OpenStreetMap changes made by a user on a day.
|
|
5
5
|
Project-URL: Homepage, https://github.com/rompe/whatdidyoudo
|
|
6
6
|
Project-URL: Issues, https://github.com/rompe/whatdidyoudo/issues
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
whatdidyoudo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
whatdidyoudo/app.py,sha256=UIn97xtOEXpEPlO0Q2oF3WAaw8ZhjFjfxKI58NG6jbc,3450
|
|
3
|
+
whatdidyoudo/static/style.css,sha256=12zy5W9qyalwpSDRrU-wvvRRj_FMkW1Z96LhHRPiClU,2359
|
|
4
|
+
whatdidyoudo/templates/form.html,sha256=llTZodSbofcx68iO5ENWnWznr6D4EFG3PO8pApdgbLI,3172
|
|
5
|
+
whatdidyoudo-0.1.10.dist-info/METADATA,sha256=mToPClTcz3QgAe5c6gkSMhH9EYOhiV6jQKOVa2mFySU,2511
|
|
6
|
+
whatdidyoudo-0.1.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
+
whatdidyoudo-0.1.10.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
whatdidyoudo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
whatdidyoudo/app.py,sha256=PtmYfkuxxAEIG2wJOOB1XXBsBp1q66VxWsQcmBPpo9c,3449
|
|
3
|
-
whatdidyoudo/static/style.css,sha256=XrRIQNPklkOp5nbT5cVRRvuvXFjOnBT5FvmZMVsrEaY,2147
|
|
4
|
-
whatdidyoudo/templates/form.html,sha256=ynQglHlxhSTmWEtTYg_zyE-dYLJty4a8376dt_mmx0o,2399
|
|
5
|
-
whatdidyoudo-0.1.9.dist-info/METADATA,sha256=xpLdAqNImZ_O6pl-x79EdFOUDEDLzItY_qevVZKjP2o,2510
|
|
6
|
-
whatdidyoudo-0.1.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
7
|
-
whatdidyoudo-0.1.9.dist-info/RECORD,,
|
|
File without changes
|