diff options
author | oetting <jacob@oettinger.dk> | 2008-04-23 08:11:32 +0000 |
---|---|---|
committer | oetting <jacob@oettinger.dk> | 2008-04-23 08:11:32 +0000 |
commit | 3a3f4be67f2043eaff6adb270ea2df0168e5613f (patch) | |
tree | be2432cc12ffc493804af562c345e75900ed06ca | |
parent | 079795540ffddc6f8e3d939d2046d3dbefb3afca (diff) | |
download | webgrind-3a3f4be67f2043eaff6adb270ea2df0168e5613f.zip webgrind-3a3f4be67f2043eaff6adb270ea2df0168e5613f.tar.gz webgrind-3a3f4be67f2043eaff6adb270ea2df0168e5613f.tar.bz2 |
Styling
-rw-r--r-- | styles/style.css | 4 | ||||
-rw-r--r-- | templates/index.phtml | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/styles/style.css b/styles/style.css index de2bd47..3ca0cc2 100644 --- a/styles/style.css +++ b/styles/style.css @@ -48,6 +48,7 @@ h2 { #hello_message { text-align: center; + margin: 30px 0; } #trace_view { @@ -132,6 +133,9 @@ img.list_reload { left: -1px; } +.block_box { + margin: 10px 10px; +} .num { float: left; diff --git a/templates/index.phtml b/templates/index.phtml index c3f6122..4c6f395 100644 --- a/templates/index.phtml +++ b/templates/index.phtml @@ -157,12 +157,12 @@ } function sortBlock(){ - $.blockUI('<h1>Sorting...</h1>'); + $.blockUI('<div class="block_box"><h1>Sorting...</h1></div>'); } $(document).ready(function() { - $.blockUI.defaults.pageMessage = '<h1>Loading...</h1><p>Loading information from server. If the callgrind file is large this may take some time</p>'; + $.blockUI.defaults.pageMessage = '<div class="block_box"><h1>Loading...</h1><p>Loading information from server. If the callgrind file is large this may take some time.</p></div>'; $.blockUI.defaults.overlayCSS = { backgroundColor: '#fff', opacity: '0' }; $.blockUI.defaults.fadeIn = 0; $.blockUI.defaults.fadeOut = 0; @@ -177,7 +177,6 @@ } }); $("#function_table").bind("sortStart",sortBlock).bind("sortEnd",$.unblockUI); - }); </script> |