summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wagner2011-10-24 19:07:23 +0200
committerSebastian Wagner2011-10-24 19:07:23 +0200
commit8d3e05c258bb653d02b4c010e0bd46103cf6ab2e (patch)
tree30953adb2155359641b61f340273cafbd6d4a237
parentsome bugfixes (diff)
downloadpoolctrl-8d3e05c258bb653d02b4c010e0bd46103cf6ab2e.tar.gz
poolctrl-8d3e05c258bb653d02b4c010e0bd46103cf6ab2e.tar.xz
poolctrl-8d3e05c258bb653d02b4c010e0bd46103cf6ab2e.zip
add loading img
-rwxr-xr-xapplication/views/scripts/event/index.phtml9
-rwxr-xr-xpublic/media/css/fullcalendar.css6
-rw-r--r--public/media/img/loader.gifbin0 -> 3208 bytes
3 files changed, 12 insertions, 3 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 38ccf92..f49f104 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -2,7 +2,7 @@
<div id='calendar'
style='margin: 3em 0; font-size: 13px'></div>
-
+
<script type="text/javascript">
$(document).ready(function() {iniCalendar();});
@@ -208,6 +208,8 @@ var dayClick = false;
slotMinutes: 15,
defaultEventMinutes: 10,
+ loading: function(bool) { if (bool) $('#progress').show(); else $('#progress').hide(); },
+
/*
dayClick: function( date, allDay, jsEvent, view ) {
@@ -893,7 +895,7 @@ var dayClick = false;
}
});
});
-
+
</script>
<!-- DIALOG WINDOWS -->
@@ -990,3 +992,6 @@ selected one?</p>
<div id="defaultDialog" style="display: none">
<p>Are you sure about this change?</p>
</div>
+
+<!-- add loading image -->
+<IMG id="progress" class="mitte" src="/media/img/loader.gif"/> \ No newline at end of file
diff --git a/public/media/css/fullcalendar.css b/public/media/css/fullcalendar.css
index f7f65d5..529ca04 100755
--- a/public/media/css/fullcalendar.css
+++ b/public/media/css/fullcalendar.css
@@ -633,4 +633,8 @@ table.fc-border-separate {
_overflow: hidden;
}
-
+.mitte {
+ position: absolute;
+ left: 48%;
+ top: 60%;
+ } \ No newline at end of file
diff --git a/public/media/img/loader.gif b/public/media/img/loader.gif
new file mode 100644
index 0000000..3c2f7c0
--- /dev/null
+++ b/public/media/img/loader.gif
Binary files differ