From: David ‘Bombe’ Roden Date: Sat, 23 Oct 2010 01:11:50 +0000 (+0200) Subject: Add online/offline marker in Sone top
. X-Git-Tag: 0.1-RC1~69 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a19c6f5632d28cdcdf5023666d926d5929c347a1;p=Sone.git Add online/offline marker in Sone top
. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index f1603ac..cd27cc3 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1,5 +1,9 @@ /* Sone JavaScript functions. */ +function isOnline() { + return $("#sone").hasClass("online"); +} + function registerInputTextareaSwap(inputSelector, defaultText, inputFieldName, optional) { $(inputSelector).each(function() { textarea = $("").blur(function() { diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 797e7a9..233a9cd 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -1,4 +1,4 @@ -
+
<% formPassword|html>