diff --git a/guacamole/src/main/webapp/index.xhtml b/guacamole/src/main/webapp/index.xhtml index 68926d9c8..87d14ce0a 100644 --- a/guacamole/src/main/webapp/index.xhtml +++ b/guacamole/src/main/webapp/index.xhtml @@ -71,22 +71,14 @@
- -

- - Available Connections -

- - - - - - - - - - -
Name
+ +

Recent Connections

+
+
+ +

Other Connections

+
+
@@ -139,40 +131,75 @@ } // Remove all rows from connections list - var tbody = document.getElementById("connections-tbody"); - tbody.innerHTML = ""; + var recent_connections = document.getElementById("recent-connections"); + var other_connections = document.getElementById("other-connections"); - // Add one row per connection + // Get thumbnail set from local storage + var thumbnails = {}; + try { + thumbnails = JSON.parse(localStorage.getItem("GUAC_THUMBNAILS")); + } + catch (e) { + } + for (var test in thumbnails) + console.log(test); + + // Add connection icons for (var i=0; i