epigen-UCSD / epigen_ucsd_django

1 stars 1 forks source link

[scAPP] integrate download link to websummary #415

Closed biomystery closed 4 years ago

biomystery commented 4 years ago

http://epigenomics.sdsc.edu:8000/setqc/MM_328/web_summary.html

in practice:

brandonGonzalez01 commented 4 years ago

The 10x websummary file uses some javascript to load in the data to the html page. When I try to insert into the HTML file, it is over written and not displayed. This must be investigated further if we want to see how the html page's data is being loaded.

biomystery commented 4 years ago

Sorry that I underestimated the difficulty of this. Can you research into the code to see if we can replace the h1 string? I suspect here:

function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a=n(12),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.namescription;return i.default.createElement("div",{className:"container"},i.default.createElement("div",{className:"row"},i.default.createElement("div",{className:"col"},i.default.createElement("h1",null,t))))}

if not able to hack a link into it. Another way is manually write a div with h1 link under the "namescription-wrapper"

<body>
--
  | <div class="navbar-wrapper"></div>
  | <div class="namescription-wrapper"></div>
  | <div class="alert-wrapper"></div>

Let me know how you think?

brandonGonzalez01 commented 4 years ago

https://github.com/epigen-UCSD/epigen_ucsd_django/commit/2af87f7d84e9868693874ba19cbee16db9901153

I think this should work. I append a new <div> at line 10 containing an <a> linking to the output file.