Andy Baugh 5 жил өмнө
parent
commit
a64bc80675

+ 4 - 0
lib/Troglodyne/CGI.pm

@@ -9,6 +9,10 @@ sub get_args {
     return $args_hr;
 }
 
+
+# XXX TODO TODO TODO Need to make API calls return 304 unmodified if the data is
+# unchanged! hehehe
+
 # Yay. I now have ~250ms pageloads instead of 350+ms pageloads.
 # XXX Need to check when the chrome updates and pop cache then too?
 # Maybe upcp hook instead?

+ 3 - 2
templates/ui/pgupgrade.tmpl

@@ -11,9 +11,10 @@ SET styleSheets = [
 ];
 
 WRAPPER 'master_templates/master.tmpl'
-    header = '<img src="/addon_plugins/troglophant.png"></img> ' _ locale.maketext("PostgreSQL Upgrade by ") _ '<a href="https://troglodyne.net">Troglodyne</a>'
+    header = locale.maketext("PostgreSQL Upgrade by ") _ '<a href="https://troglodyne.net">Troglodyne</a>'
     stylesheets = styleSheets,
-    theme='bootstrap';
+    theme='bootstrap',
+    icon='/addon_plugins/troglophant.png';
 %]
 
 <p>