diff options
| author | Shireesh Anjal <shireesh@gluster.com> | 2011-08-03 20:39:01 +0530 |
|---|---|---|
| committer | Shireesh Anjal <shireesh@gluster.com> | 2011-08-03 20:39:41 +0530 |
| commit | 7b46aa84c5578f693971da53946ee1d8a6f60208 (patch) | |
| tree | c3e2fd0a9cb43975a76e4a23cd3fed7146341a86 /src/com.gluster.storage.management.gateway | |
| parent | 3d97cb7353530f79ab204c96698962f75f0058e7 (diff) | |
Modified to make sure that volumes summary page refreshes the pie chart properly when new volume is created
Diffstat (limited to 'src/com.gluster.storage.management.gateway')
| -rw-r--r-- | src/com.gluster.storage.management.gateway/WebContent/index.html | 10 | ||||
| -rw-r--r-- | src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/utils/GlusterUtil.java | 5 |
2 files changed, 11 insertions, 4 deletions
diff --git a/src/com.gluster.storage.management.gateway/WebContent/index.html b/src/com.gluster.storage.management.gateway/WebContent/index.html index 85b03dbf..d8ad6414 100644 --- a/src/com.gluster.storage.management.gateway/WebContent/index.html +++ b/src/com.gluster.storage.management.gateway/WebContent/index.html @@ -101,11 +101,13 @@ </DIV> <DIV ID="unknown_arch" style="display: none"> Could not identify your CPU architecture. Please click on the appropriate link below to invoke Gluster Management Console! - </DIV> + </DIV><br> <DIV ID="always_on" style="display: none"> - Linux - <a href="linux.gtk.x86/gluster-management-console.jnlp">32 bit</a> <a href="linux.gtk.x86_64/gluster-management-console.jnlp">64 bit</a><br> - Mac OS X - <a href="macosx.cocoa.x86/gluster-management-console.jnlp">32 bit</a> <a href="macosx.cocoa.x86_64/gluster-management-console.jnlp">64 bit</a><br> - Windows - <a href="win32.win32.x86/gluster-management-console.jnlp">32 bit</a> <a href="win32.win32.x86_64/gluster-management-console.jnlp">64 bit</a><br> + <table style="width: 479px; "> + <tr><td style="width: 100px;">Linux</td><td style="width: 60px;"><a href="linux.gtk.x86/gluster-management-console.jnlp">32 bit</a></td><td style="width: 60px;"><a href="linux.gtk.x86_64/gluster-management-console.jnlp">64 bit</a></td></tr> + <tr><td style="width: 100px;">Mac OS X</td><td style="width: 60px;"><a href="macosx.cocoa.x86/gluster-management-console.jnlp">32 bit</a></td><td style="width: 60px;"><a href="macosx.cocoa.x86_64/gluster-management-console.jnlp">64 bit</a></td></tr> + <tr><td style="width: 100px;">Windows</td><td style="width: 60px;"><a href="win32.win32.x86/gluster-management-console.jnlp">32 bit</a></td><td style="width: 60px;"><a href="win32.win32.x86_64/gluster-management-console.jnlp">64 bit</a></td></tr> + </table> </DIV> </body> diff --git a/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/utils/GlusterUtil.java b/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/utils/GlusterUtil.java index 50733fea..62ea6839 100644 --- a/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/utils/GlusterUtil.java +++ b/src/com.gluster.storage.management.gateway/src/com/gluster/storage/management/gateway/utils/GlusterUtil.java @@ -528,6 +528,11 @@ public class GlusterUtil { } } + // add the last read volume + if (volume != null) { + volumes.add(volume); + } + updateCifsInfo(volumes); return volumes; |
