From 7dc1f360063ce641c3fcfe7f0d7669119ba86e4c Mon Sep 17 00:00:00 2001 From: Yusuf Davids Date: Tue, 23 Oct 2007 10:02:59 +0000 Subject: [PATCH] KTS-2450 "Add "Candy Stripe" to indicate activity to all pages that keep the user waiting." Fixed. --- resources/css/kt-framing.css | 14 ++++++++++++++ resources/graphics/thirdparty/loader.gif | Bin 0 -> 10819 bytes resources/js/loader.js | 13 ++++++++++++- templates/kt3/standard_page.smarty | 5 +++++ 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 resources/graphics/thirdparty/loader.gif diff --git a/resources/css/kt-framing.css b/resources/css/kt-framing.css index 45c5d97..7377c4a 100644 --- a/resources/css/kt-framing.css +++ b/resources/css/kt-framing.css @@ -2053,4 +2053,18 @@ body #content #add_dashlet font-weight: normal; float: right; margin-right: 3em; +} + +.modalDiv{ + filter:alpha(opacity=80); + -moz-opacity:0.8; + padding-left: 30px; + padding-top: 5px; + width: 260px; + height: 50px; + background-color: #CCCCCC; + position: absolute; + top: 400px; + left: 500px; + display: block; } \ No newline at end of file diff --git a/resources/graphics/thirdparty/loader.gif b/resources/graphics/thirdparty/loader.gif new file mode 100644 index 0000000..eb90eef Binary files /dev/null and b/resources/graphics/thirdparty/loader.gif differ diff --git a/resources/js/loader.js b/resources/js/loader.js index efb5edc..2198d2f 100644 --- a/resources/js/loader.js +++ b/resources/js/loader.js @@ -26,4 +26,15 @@ window.onload = function() var footerBlock = new curvyCorners(settings, footer); footerBlock.applyCornersToAll(); } - } \ No newline at end of file + Loader(); + } + + window.onsubmit = function(){ + var myElem = document.getElementById("modalDiv"); + myElem.style.display = "block"; + } + function Loader() +{ + var myElem = document.getElementById("modalDiv"); + myElem.style.display = "none"; +} \ No newline at end of file diff --git a/templates/kt3/standard_page.smarty b/templates/kt3/standard_page.smarty index 7c55d34..d83d3df 100644 --- a/templates/kt3/standard_page.smarty +++ b/templates/kt3/standard_page.smarty @@ -312,6 +312,11 @@ {/if} {/foreach} +
+
+
Loading...
+ +
content_class}class="{$page->content_class}"{/if}> -- libgit2 0.21.4