Skip to content

Commit

Permalink
Add download to fix safari cannot download csv file
Browse files Browse the repository at this point in the history
  • Loading branch information
nhoktenz committed Nov 18, 2024
1 parent aa48bd2 commit 1d8af40
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions templates/get_tp53data.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h3>Functional / Structural Data: <span class="fw-light">Variant Annotations and
href="/view_data?bq_view_name=MutationView"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/MutationView_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/MutationView_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>

Expand All @@ -42,7 +42,7 @@ <h3>Functional / Structural Data: <span class="fw-light">Variant Annotations and
href="/view_data?bq_view_name=FunctionDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/FunctionDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/FunctionDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>
</tr>
Expand All @@ -52,7 +52,7 @@ <h3>Functional / Structural Data: <span class="fw-light">Variant Annotations and
href="/view_data?bq_view_name=FunctionIshiokaDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/FunctionIshiokaDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/FunctionIshiokaDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a></td>
</tr>
</tbody>
Expand All @@ -75,7 +75,7 @@ <h3>Tumor Variants</h3>
href="/view_data?bq_view_name=TumorVariantDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/TumorVariantDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/TumorVariantDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>
</tr>
Expand All @@ -85,7 +85,7 @@ <h3>Tumor Variants</h3>
href="/view_data?bq_view_name=TumorVariantRefDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/TumorVariantRefDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/TumorVariantRefDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a></td>
</tr>
<tr>
Expand All @@ -94,7 +94,7 @@ <h3>Tumor Variants</h3>
href="/view_data?bq_view_name=PrevalenceDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/PrevalenceDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/PrevalenceDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a></td>
</tr>
<tr>
Expand All @@ -103,7 +103,7 @@ <h3>Tumor Variants</h3>
href="/view_data?bq_view_name=PrevalenceDownloadR249S"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/PrevalenceDownloadR249S_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/PrevalenceDownloadR249S_{{ ver }}.csv" download><i
class="fas fa-download"></i></a></td>
</tr>
<tr>
Expand All @@ -112,7 +112,7 @@ <h3>Tumor Variants</h3>
href="/view_data?bq_view_name=PrognosisDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/PrognosisDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/PrognosisDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a></td>
</tr>

Expand All @@ -136,7 +136,7 @@ <h3>Germline Variants</h3>
href="/view_data?bq_view_name=GermlineDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/GermlineDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/GermlineDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>
</tr>
Expand All @@ -146,7 +146,7 @@ <h3>Germline Variants</h3>
href="/view_data?bq_view_name=GermlineRefDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/GermlineRefDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/GermlineRefDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>
</tr>
Expand All @@ -156,7 +156,7 @@ <h3>Germline Variants</h3>
href="/view_data?bq_view_name=GermlinePrevalenceView"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/GermlinePrevalenceView_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/GermlinePrevalenceView_{{ ver }}.csv" download><i
class="fas fa-download"></i></a></td>
</tr>
<tr>
Expand All @@ -166,7 +166,7 @@ <h3>Germline Variants</h3>
href="/view_data?bq_view_name=GermlineFrequencyDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/GermlineFrequencyDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/GermlineFrequencyDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a></td>
</tr>

Expand All @@ -189,7 +189,7 @@ <h3>Cell Lines</h3>
<td class="text-center"><a aria-label="View Data" class="submit-link" href="/view_data?bq_view_name=CellLineDownload"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/CellLineDownload_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/CellLineDownload_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>
</tr>
Expand All @@ -212,7 +212,7 @@ <h3>Mouse-Models</h3>
<td class="text-center"><a aria-label="View Data" class="submit-link" href="/view_data?bq_view_name=MouseModelView"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/MouseModelView_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/MouseModelView_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>
</tr>
Expand All @@ -235,7 +235,7 @@ <h3>Experimentally Induced Variants</h3>
<td class="text-center"><a aria-label="View Data" class="submit-link" href="/view_data?bq_view_name=InducedMutationView"><i
class="fas fa-table"></i></a></td>
<td class="text-center"><a aria-label="Download Data"
href="{{ TP53_DATA_DIR_URL }}/InducedMutationView_{{ ver }}.csv"><i
href="{{ TP53_DATA_DIR_URL }}/InducedMutationView_{{ ver }}.csv" download><i
class="fas fa-download"></i></a>
</td>
</tr>
Expand Down

0 comments on commit 1d8af40

Please sign in to comment.