95e2c3a93202ee912624bb730724313faae7c886 chmalee Wed Dec 4 16:41:31 2024 -0800 Use the DataTables select API instead of implementing my own checkboxes Working child/parent rows. Just need to add checkboxes to the children and indent them a smidge Fix log in for api key in pre-finish hook. Make the pre-finish hook determine if we came from hubtools or not and don't create hub.txts if we did. Fix writing of parentRows. Make client not use .child() but instead show or hide based on a load time constraint, which is not quite working all the way yet Make select/deselect work with child files. Remove some dead code Make deletes work by moving any requested directories to the end of the delete list and then deleting the directories so rmdir doesn't fail Fix new table rows not animating on add Make newly updloaded files show up in table include their parent dir and hub.txt, and indent them appropriately Hash filenames to file objects in the client so we don't add duplicate rows to the table when multiple files are uploaded at once. Update the selected file div after deleting files. Make clicks on hub.txt files load the hub. Turn the file clicked on to pack. Remove some old copy from the template page Revert early experimental commit when trying to allow bigDataUrl uploads directly through hgCustom Fix up some comments to be more correct Remove old CGI experiment diff --git src/hg/htdocs/inc/hgMyData.html src/hg/htdocs/inc/hgMyData.html index 14ad3a9..cc9925d 100755 --- src/hg/htdocs/inc/hgMyData.html +++ src/hg/htdocs/inc/hgMyData.html @@ -1,31 +1,24 @@ <div id='hubUpload'> <div id='titleDiv' class='gbTrackTitleBanner'> Manage my data - - <a href='#INFO_SECTION' title='Jump to help section'> - <span class='gbIconSmall fa-stack'> - <i class='gbBlueDarkColor fa fa-circle fa-stack-2x'></i> - <i class='gbWhiteColor fa fa-info fa-stack-1x'></i> - </span> - </a> </div> <div id='fileTableInfoDiv' class='tabSection'> - <p>THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. -THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. THIS IS JUST EXAMPLE COPY. + <p> + Upload track hub files directly to UCSC from this page. You can then immediately view your BigWigs and BAM without relying on third party hosting providers like DropBox or Google Drive or AWS. Users are limited to 10GB of total storage. This is not intended to be long term indefinite storage space, please keep a backup of what you upload here if intend to need it later. </p> </div> <div id='selectedFileInfo' class="tabSection"> <div id='placeHolderInfo'>Selected file information</div> <div style="display: none"> <span id='numberSelectedFiles'></span> selected. <button id='viewSelectedFiles'></button><button id='deleteSelectedFiles'></button> </div> </div> <div id='filesDiv' class='tabSection'> <table id="filesTable" class="sessionTable stripe hover row-border compact" borderwidth=0> </table> </div>