@@ -8,7 +8,9 @@
@@ -16,7 +18,7 @@
/* these functions are necessary for updating Sone statuses. */
$(document).ready(function() {
$("#sone .sone").each(function() {
- watchSone($(this).find(".id").text());
+ watchSone($(this).find(".id").text(), $(this).hasClass("local"));
});
});
@@ -24,27 +26,103 @@
+
+
+
+
@@ -68,43 +146,81 @@
});
return false;
});
- $("#sone .block").submit(function() {
- var blockElement = this;
- $.getJSON("ajax/blockSone.ajax", { "sone": getSoneId(this), "formPassword": getFormPassword() }, function() {
- $(blockElement).addClass("hidden");
- $(blockElement).parent().find(".unblock").removeClass("hidden");
- });
- return false;
- });
- $("#sone .unblock").submit(function() {
- var unblockElement = this;
- $.getJSON("ajax/unblockSone.ajax", { "sone": getSoneId(this), "formPassword": getFormPassword() }, function() {
- $(unblockElement).addClass("hidden");
- $(unblockElement).parent().find(".block").removeClass("hidden");
- });
- return false;
- });
});
+
+
+
+
+
+
+
+
+ <%foreach webInterface.notifications.all notification>
+
+ <%if notification.dismissable>
+
+ <%/if>
+ <% notification>
+
+ <%/foreach>
+
+