321bb7e5cd86f33caac0f1975fc1197c01d301a6 chmalee Tue Mar 18 12:39:55 2025 -0700 More hubspace changes. Set height of selected file row to prevent page jumping, cgiEncode the actual ui values to display filenames correctly, make file uploads to an already existing hub actually display the files in that hub, make clicks on table rows more fine tuned: clicks on the checkbox select the file or all subdirectory files like before, but clicks anywhere else depend on the row that was clicked, if a regular row, just select, if a directory row, open the directory (and clear previous selections) diff --git src/hg/htdocs/style/hgMyData.css src/hg/htdocs/style/hgMyData.css index a0e763bc28f..7d0b3a46a14 100644 --- src/hg/htdocs/style/hgMyData.css +++ src/hg/htdocs/style/hgMyData.css @@ -1,62 +1,68 @@ #fileList { display: grid; grid-template-columns: 20px 2fr 1fr 1fr 1fr; column-gap: 2px; } .fileListHeader { display: none; } .batchTypeSelect { grid-column-start: 3; } .batchDbSelect { grid-column-start: 4; } .button { background-color: #E8E8E8; padding: 5px 10px; border-radius: 5px; border: 1px ridge black; font-size: 0.8rem; } .pickedFiles { } .pickedFile { 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; } 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; font-size: larger; } + +/* Prevent the page from jumping around slightly when a button gets added + * into this div */ +#selectedFileInfo { + height: 1.2em; +}