mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
[fix] Download on install pages
This commit is contained in:
parent
d01b5aa9f8
commit
957cfcc8c4
3 changed files with 19 additions and 19 deletions
|
@ -238,7 +238,7 @@ Ci-dessous une liste de fournisseurs de VPS supportant nativement YunoHost :
|
|||
<div id="cards-list">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/template" id="image-template">
|
||||
<template id="image-template">
|
||||
<div id="{id}" class="card panel panel-default">
|
||||
<div class="panel-body text-center pt-2">
|
||||
<h3>{name}</h3>
|
||||
|
@ -248,14 +248,14 @@ Ci-dessous une liste de fournisseurs de VPS supportant nativement YunoHost :
|
|||
</div>
|
||||
</div>
|
||||
<div class="annotations flex-container">
|
||||
<div class="flex-child annotation"><a href="{file}.sha256sum">[fa=barcode] Somme de contrôle</a></div>
|
||||
<div class="flex-child annotation"><a href="{file}.sha256sum">[fa=barcode] Checksum</a></div>
|
||||
<div class="flex-child annotation"><a href="{file}.sig">[fa=tag] Signature</a></div>
|
||||
</div>
|
||||
<div class="btn-group" role="group">
|
||||
<a href="{file}" target="_BLANK" type="button" class="btn btn-info col-sm-12">[fa=download] Télécharger <small>{version}</small></a>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
</template>
|
||||
<script>
|
||||
var hardware = "{{ hardware|escape('js') }}";
|
||||
/*
|
||||
|
@ -274,13 +274,13 @@ $(document).ready(function () {
|
|||
.replace('{id}', infos.id)
|
||||
.replace('{name}', infos.name)
|
||||
.replace('{comment}', infos.comment || " ")
|
||||
.replace('%7Bimage%7D', infos.image)
|
||||
.replace('{image}', infos.image)
|
||||
.replace('{version}', infos.version);
|
||||
|
||||
if (infos.file.startsWith("http"))
|
||||
html = html.replace(/{file}/g, infos.file);
|
||||
else
|
||||
html = html.replace(/{file}/g, "https://build.yunohost.org/"+infos.file);
|
||||
if (!infos.file.startsWith("http"))
|
||||
infos.file="https://build.yunohost.org/"+infos.file;
|
||||
html = html.replace(/%7Bfile%7D/g, infos.file).replace(/{file}/g, infos.file);
|
||||
|
||||
if ((typeof(infos.has_sig_and_sums) !== 'undefined') && infos.has_sig_and_sums == false)
|
||||
{
|
||||
|
|
|
@ -230,7 +230,7 @@ Here are some VPS providers supporting YunoHost natively :
|
|||
<div id="cards-list">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/template" id="image-template">
|
||||
<template id="image-template">
|
||||
<div id="{id}" class="card panel panel-default">
|
||||
<div class="panel-body text-center pt-2">
|
||||
<h3>{name}</h3>
|
||||
|
@ -247,7 +247,7 @@ Here are some VPS providers supporting YunoHost natively :
|
|||
<a href="{file}" target="_BLANK" type="button" class="btn btn-info col-sm-12">[fa=download] Download <small>{version}</small></a>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
</template>
|
||||
<script>
|
||||
var hardware = "{{ hardware|escape('js') }}";
|
||||
/*
|
||||
|
@ -266,13 +266,13 @@ $(document).ready(function () {
|
|||
.replace('{id}', infos.id)
|
||||
.replace('{name}', infos.name)
|
||||
.replace('{comment}', infos.comment || " ")
|
||||
.replace('%7Bimage%7D', infos.image)
|
||||
.replace('{image}', infos.image)
|
||||
.replace('{version}', infos.version);
|
||||
|
||||
if (infos.file.startsWith("http"))
|
||||
html = html.replace(/{file}/g, infos.file);
|
||||
else
|
||||
html = html.replace(/{file}/g, "https://build.yunohost.org/"+infos.file);
|
||||
if (!infos.file.startsWith("http"))
|
||||
infos.file="https://build.yunohost.org/"+infos.file;
|
||||
html = html.replace(/%7Bfile%7D/g, infos.file).replace(/{file}/g, infos.file);
|
||||
|
||||
if ((typeof(infos.has_sig_and_sums) !== 'undefined') && infos.has_sig_and_sums == false)
|
||||
{
|
||||
|
|
|
@ -369,7 +369,7 @@ Here are some VPS providers supporting YunoHost natively :
|
|||
<div id="cards-list">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/template" id="image-template">
|
||||
<template id="image-template">
|
||||
<div id="{id}" class="card panel panel-default">
|
||||
<div class="panel-body text-center pt-2">
|
||||
<h3>{name}</h3>
|
||||
|
@ -386,7 +386,7 @@ Here are some VPS providers supporting YunoHost natively :
|
|||
<a href="{file}" target="_BLANK" type="button" class="btn btn-info col-sm-12">[fa=download] Download <small>{version}</small></a>
|
||||
</div>
|
||||
</div>
|
||||
</script>
|
||||
</template>
|
||||
<script>
|
||||
var hardware = "{{ hardware|escape('js') }}";
|
||||
/*
|
||||
|
@ -405,13 +405,13 @@ $(document).ready(function () {
|
|||
.replace('{id}', infos.id)
|
||||
.replace('{name}', infos.name)
|
||||
.replace('{comment}', infos.comment || " ")
|
||||
.replace('%7Bimage%7D', infos.image)
|
||||
.replace('{image}', infos.image)
|
||||
.replace('{version}', infos.version);
|
||||
|
||||
if (infos.file.startsWith("http"))
|
||||
html = html.replace(/{file}/g, infos.file);
|
||||
else
|
||||
html = html.replace(/{file}/g, "https://build.yunohost.org/"+infos.file);
|
||||
if (!infos.file.startsWith("http"))
|
||||
infos.file="https://build.yunohost.org/"+infos.file;
|
||||
html = html.replace(/%7Bfile%7D/g, infos.file).replace(/{file}/g, infos.file);
|
||||
|
||||
if ((typeof(infos.has_sig_and_sums) !== 'undefined') && infos.has_sig_and_sums == false)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue