cd0b41f1116bd93328ab34e9eceaa5f9afa8b825 chmalee Thu Feb 6 13:36:29 2025 -0800 Lots of changes to hub space UI after code review and QA feedback. 1) Make the table interface more like a file explorer where you view the 'root' directory by default and then can click into 'folders'. Also adds a breadcrumb nav so you can go backwards. 2) Fix bug in delete command to remove directories correctly. 3) cgiEncode the parentDir of incoming requests to prevent moving files to weird locations diff --git src/hg/htdocs/style/hgMyData.css src/hg/htdocs/style/hgMyData.css index f9038bb956e..46b0b8e2b7e 100644 --- src/hg/htdocs/style/hgMyData.css +++ src/hg/htdocs/style/hgMyData.css @@ -30,22 +30,32 @@ font-size: smaller; } #filesDiv table.dataTable input.dt-select-checkbox { appearance: auto; position:relative; display:inline-block; width:12px; height:12px; border:1px solid; border-radius:3px; vertical-align:middle; margin-top:1px; color:inherit; font-size:20px; - line-height:1em + line-height:1em; +} + +table.dataTable input.dt-select-checkbox:checked:after, +table.dataTable input.dt-select-checkbox:indeterminate:after { + content: none; } /* make the search bar and table have rows have a normal white background */ #filesDiv input.dt-input,#filesDiv .dt-scroll-body { background-color: #f9f9f9; } + +.breadcrumb { + text-decoration: underline; + cursor: pointer; +}