Spaces:
Sleeping
Sleeping
update download button
Browse files
static/iresearcher/index.html
CHANGED
@@ -71,13 +71,11 @@
|
|
71 |
<div id="report-container" v-html="reportContent"></div>
|
72 |
<div id="sources-container" v-html="sourcesContent"></div>
|
73 |
</div>
|
74 |
-
<
|
75 |
-
<
|
76 |
-
<
|
77 |
-
|
78 |
-
|
79 |
-
</button>
|
80 |
-
</div>
|
81 |
</div>
|
82 |
</div>
|
83 |
</div>
|
|
|
71 |
<div id="report-container" v-html="reportContent"></div>
|
72 |
<div id="sources-container" v-html="sourcesContent"></div>
|
73 |
</div>
|
74 |
+
<button id="downloadBtn" @click="downloadHTML" title="Download HTML Report" v-if="reportFullyGenerated">
|
75 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
76 |
+
<path d="M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5"/>
|
77 |
+
</svg>
|
78 |
+
</button>
|
|
|
|
|
79 |
</div>
|
80 |
</div>
|
81 |
</div>
|