summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/base.html
diff options
context:
space:
mode:
authorGravatar godofdream <soilfiction@gmail.com> 2012-08-16 17:49:14 +0200
committerGravatar godofdream <soilfiction@gmail.com> 2012-08-16 17:49:14 +0200
commit11c3393c73f9faeff80466e7c9ec4b7a05f97eaf (patch)
treec26b69ba384f82216e01537331405d03fbe592b6 /module/web/templates/default/base.html
parentAdded Mobile WebIf, some Layouting (diff)
parentadded tooltip (diff)
downloadpyload-11c3393c73f9faeff80466e7c9ec4b7a05f97eaf.tar.xz
Merge
Diffstat (limited to 'module/web/templates/default/base.html')
-rw-r--r--module/web/templates/default/base.html27
1 files changed, 23 insertions, 4 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index d075fe792..d5d96eef3 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -186,7 +186,27 @@
style:{
classes:'ui-tooltip-dark ui-tooltip-shadow'
}
- })
+ });
+
+ $("#notification_div").qtip({
+ content:{
+ title: {text: "Running Tasks", button:true},
+ text: "Content"
+ },
+ position:{
+ my:'top center',
+ at:'bottom center'
+ },
+ show:{ delay:500, effect: function(offset) {
+ $(this).slideDown(250); // "this" refers to the tooltip
+ }},
+ style:{
+ classes:'ui-tooltip-light ui-tooltip-shadow',
+ width: $("#notification_div").outerWidth(),
+ height: 100
+ },
+ hide: false
+ });
});
</script>
<script type="text/javascript">
@@ -199,7 +219,6 @@
internalCallback(subjects); // call internal callback
})
},
-
show:function (subjects, internalCallback) {
subjects.overlay.fadeIn(250, function () {
internalCallback(subjects); // call internal callback
@@ -209,13 +228,13 @@
animations:{
hide:function (subjects, internalCallback) {
subjects.modal.removeClass('window-container-visible');
- subjects.modal.fadeOut(function () {
+ subjects.modal.fadeOut(250, function () {
internalCallback(subjects); // call internal callback
});
},
show:function (subjects, internalCallback) {
- subjects.modal.fadeIn(function () {
+ subjects.modal.fadeIn(0, function () {
subjects.modal.addClass('window-container-visible');
internalCallback(subjects); // call internal callback
});