diff --git a/guacamole/src/main/webapp/scripts/admin-ui.js b/guacamole/src/main/webapp/scripts/admin-ui.js index 55fb4f5e8..820f0a9fa 100644 --- a/guacamole/src/main/webapp/scripts/admin-ui.js +++ b/guacamole/src/main/webapp/scripts/admin-ui.js @@ -704,8 +704,8 @@ GuacAdmin.addConnection = function(connection) { if (connection.history.length > 0) { // History section - var history_table = GuacUI.createChildElement( - GuacUI.createChildElement(sections, "dd"), + var history_section = GuacUI.createChildElement(sections, "dd"); + var history_table = GuacUI.createChildElement(history_section, "table", "history section"); var history_table_header = GuacUI.createChildElement( @@ -720,6 +720,12 @@ GuacAdmin.addConnection = function(connection) { GuacUI.createChildElement(history_table_header, "th").textContent = "Duration"; + // Paginated body of history + var history_buttons = GuacUI.createChildElement(history_section, "div", + "list-pager-buttons"); + var history_body = GuacUI.createChildElement(history_table, "tbody"); + var history_pager = new GuacUI.Pager(history_body); + // Add history for (i=0; i .icon { opacity: 1.0; }