mirror of https://github.com/kiwix/libkiwix.git
Fixed links to various download option icons
This commit is contained in:
parent
fa7d044037
commit
2825c4c63d
|
@ -209,26 +209,26 @@
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-regular-download">
|
<div class="modal-regular-download">
|
||||||
<a href="${downloadLink}" download>
|
<a href="${downloadLink}" download>
|
||||||
<img src="../skin/download.png?KIWIXCACHEID" alt="direct download" />
|
<img src="${root}/skin/download.png?KIWIXCACHEID" alt="direct download" />
|
||||||
<div>Direct</div>
|
<div>Direct</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-regular-download">
|
<div class="modal-regular-download">
|
||||||
<a href="${downloadLink}.sha256" download>
|
<a href="${downloadLink}.sha256" download>
|
||||||
<img src="../skin/hash.png?KIWIXCACHEID" alt="download hash" />
|
<img src="${root}/skin/hash.png?KIWIXCACHEID" alt="download hash" />
|
||||||
<div>Sha256 hash</div>
|
<div>Sha256 hash</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
${magnetLink ?
|
${magnetLink ?
|
||||||
`<div class="modal-regular-download">
|
`<div class="modal-regular-download">
|
||||||
<a href="${magnetLink}" target="_blank">
|
<a href="${magnetLink}" target="_blank">
|
||||||
<img src="../skin/magnet.png?KIWIXCACHEID" alt="download magnet" />
|
<img src="${root}/skin/magnet.png?KIWIXCACHEID" alt="download magnet" />
|
||||||
<div>Magnet link</div>
|
<div>Magnet link</div>
|
||||||
</a>
|
</a>
|
||||||
</div>` : ``}
|
</div>` : ``}
|
||||||
<div class="modal-regular-download">
|
<div class="modal-regular-download">
|
||||||
<a href="${downloadLink}.torrent" download>
|
<a href="${downloadLink}.torrent" download>
|
||||||
<img src="../skin/bittorrent.png?KIWIXCACHEID" alt="download torrent" />
|
<img src="${root}/skin/bittorrent.png?KIWIXCACHEID" alt="download torrent" />
|
||||||
<div>Torrent file</div>
|
<div>Torrent file</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -63,7 +63,7 @@ const ResourceCollection resources200Compressible{
|
||||||
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.css" },
|
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.css" },
|
||||||
{ STATIC_CONTENT, "/ROOT%23%3F/skin/index.css?cacheid=316dbc21" },
|
{ STATIC_CONTENT, "/ROOT%23%3F/skin/index.css?cacheid=316dbc21" },
|
||||||
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.js" },
|
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/index.js" },
|
||||||
{ STATIC_CONTENT, "/ROOT%23%3F/skin/index.js?cacheid=e0a31131" },
|
{ STATIC_CONTENT, "/ROOT%23%3F/skin/index.js?cacheid=a1d9a5d5" },
|
||||||
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/iso6391To3.js" },
|
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/iso6391To3.js" },
|
||||||
{ STATIC_CONTENT, "/ROOT%23%3F/skin/iso6391To3.js?cacheid=ecde2bb3" },
|
{ STATIC_CONTENT, "/ROOT%23%3F/skin/iso6391To3.js?cacheid=ecde2bb3" },
|
||||||
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/isotope.pkgd.min.js" },
|
{ DYNAMIC_CONTENT, "/ROOT%23%3F/skin/isotope.pkgd.min.js" },
|
||||||
|
@ -283,7 +283,7 @@ R"EXPECTEDRESULT( href="/ROOT%23%3F/skin/index.css?cacheid=316dbc21"
|
||||||
<script type="module" src="/ROOT%23%3F/skin/i18n.js?cacheid=6da2bca0" defer></script>
|
<script type="module" src="/ROOT%23%3F/skin/i18n.js?cacheid=6da2bca0" defer></script>
|
||||||
<script src="/ROOT%23%3F/skin/isotope.pkgd.min.js?cacheid=2e48d392" defer></script>
|
<script src="/ROOT%23%3F/skin/isotope.pkgd.min.js?cacheid=2e48d392" defer></script>
|
||||||
<script src="/ROOT%23%3F/skin/iso6391To3.js?cacheid=ecde2bb3"></script>
|
<script src="/ROOT%23%3F/skin/iso6391To3.js?cacheid=ecde2bb3"></script>
|
||||||
<script type="text/javascript" src="/ROOT%23%3F/skin/index.js?cacheid=e0a31131" defer></script>
|
<script type="text/javascript" src="/ROOT%23%3F/skin/index.js?cacheid=a1d9a5d5" defer></script>
|
||||||
<img src="/ROOT%23%3F/skin/feed.png?cacheid=56a672b1" class="feedLogo" alt="Library OPDS Feed" aria-label="Library OPDS Feed" title="Library OPDS Feed">
|
<img src="/ROOT%23%3F/skin/feed.png?cacheid=56a672b1" class="feedLogo" alt="Library OPDS Feed" aria-label="Library OPDS Feed" title="Library OPDS Feed">
|
||||||
)EXPECTEDRESULT"
|
)EXPECTEDRESULT"
|
||||||
},
|
},
|
||||||
|
@ -294,10 +294,10 @@ R"EXPECTEDRESULT( background-image: url('../skin/search-icon.svg?cacheid=b10a
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
/* url */ "/ROOT%23%3F/skin/index.js",
|
/* url */ "/ROOT%23%3F/skin/index.js",
|
||||||
R"EXPECTEDRESULT( <img src="../skin/download.png?cacheid=a39aa502" alt="direct download" />
|
R"EXPECTEDRESULT( <img src="${root}/skin/download.png?cacheid=a39aa502" alt="direct download" />
|
||||||
<img src="../skin/hash.png?cacheid=f836e872" alt="download hash" />
|
<img src="${root}/skin/hash.png?cacheid=f836e872" alt="download hash" />
|
||||||
<img src="../skin/magnet.png?cacheid=73b6bddf" alt="download magnet" />
|
<img src="${root}/skin/magnet.png?cacheid=73b6bddf" alt="download magnet" />
|
||||||
<img src="../skin/bittorrent.png?cacheid=4f5c6882" alt="download torrent" />
|
<img src="${root}/skin/bittorrent.png?cacheid=4f5c6882" alt="download torrent" />
|
||||||
)EXPECTEDRESULT"
|
)EXPECTEDRESULT"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue