diff --git a/gazouilleur/lib/webmonitor.py b/gazouilleur/lib/webmonitor.py index 809d431..b723c8b 100644 --- a/gazouilleur/lib/webmonitor.py +++ b/gazouilleur/lib/webmonitor.py @@ -108,9 +108,10 @@ def build_diff_page(self): data = { "name": self.name, "url": self.url, + "versions": self.versions, + "versions_str": ",".join(self.versions), "screenshots": bool(URL_MANET) } - data["versions"] = sorted(self.versions, reverse=True) self.render_template("monitor.html", quote_plus(self.name), data) diff --git a/web/templates/monitor.html b/web/templates/monitor.html index 8d97c49..5f9b9b4 100644 --- a/web/templates/monitor.html +++ b/web/templates/monitor.html @@ -4,35 +4,109 @@ WebMonitor for {{name}} powered by Gazouilleur - -

WebMonitor for {{name}} at {{url}} Powered by Gazouilleur

+

+ WebMonitor for {{name}} at {{url}}
+ Powered by Gazouilleur +

Available versions

- {{#screenshots}} -
+
+
+
+
+
+
+
+
{{/screenshots}} -

Actual version

- + +

Actual version

+ + +