2020-11-11 11:47:10 +01:00
---
title: Images
template: docs
taxonomy:
category: docs
2021-02-06 18:22:00 +01:00
routes:
default: '/images'
2020-11-11 11:47:10 +01:00
---
2018-06-18 19:30:43 +02:00
2018-11-26 19:26:20 +01:00
< span class = "javascriptDisclaimer" >
Cette page requiert que Javascript soit activé pour s'afficher correctement :s.
< br / >
< br / >
< / span >
2021-12-20 19:33:51 +01:00
!!!! Même si l'image ne correspond pas à la dernière version de YunoHost, vous pouvez tout de même l'utiliser puis faire une mise à jour du système après l'installation !
2022-01-08 15:11:59 +01:00
!!! Si vous souhaitez vérifier la validité de nos images signées, vous pouvez [télécharger notre clé publique ](https://forge.yunohost.org/yunohost.asc ).
2021-02-07 21:43:06 +01:00
< div class = "hardware-image" >
2018-06-18 19:30:43 +02:00
< div id = "cards-list" >
< / div >
2021-02-07 21:43:06 +01:00
< / div >
2022-09-15 23:59:05 +02:00
< template id = "image-template" >
< div id = "{id}" class = "card panel panel-default" >
2018-06-18 19:30:43 +02:00
< div class = "panel-body text-center" >
< h3 > {name}< / h3 >
< div class = "card-comment" > {comment}< / div >
< div class = "card-desc text-center" >
2022-09-15 23:59:05 +02:00
< img src = "/user/images/{image}" height = 100 style = "vertical-align:middle" >
2018-06-18 19:30:43 +02:00
< / div >
< / div >
2021-02-07 21:43:06 +01:00
< div class = "annotations flex-container" >
< 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 >
2018-06-18 19:30:43 +02:00
< / div >
< div class = "btn-group" role = "group" >
< a href = "{file}" target = "_BLANK" type = "button" class = "btn btn-info col-sm-12" > < span class = "glyphicon glyphicon-download-alt" aria-hidden = "true" > < / span > Télécharger < small > {version}< / small > < / a >
< / div >
2022-09-15 23:59:05 +02:00
< / div >
< / template >
2018-06-18 19:30:43 +02:00
< script >
/*
###############################################################################
Script that loads the infos from javascript and creates the corresponding
cards
###############################################################################
*/
$(document).ready(function () {
console.log("in load");
$.getJSON('https://build.yunohost.org/images.json', function (images) {
$.each(images, function(k, infos) {
2023-06-23 03:37:34 +02:00
if (infos.hide == true) { return; }
2018-06-18 19:30:43 +02:00
// Fill the template
html = $('#image-template').html()
.replace('{id}', infos.id)
.replace('{name}', infos.name)
.replace('{comment}', infos.comment || " ")
2022-09-15 23:59:05 +02:00
.replace('%7Bimage%7D', infos.image)
2018-06-18 19:30:43 +02:00
.replace('{image}', infos.image)
.replace('{version}', infos.version);
2022-09-15 23:59:05 +02:00
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);
2018-06-18 19:30:43 +02:00
if ((typeof(infos.has_sig_and_sums) !== 'undefined') & & infos.has_sig_and_sums == false)
{
var $html = $(html);
$html.find(".annotations").html(" ");
html = $html[0];
}
$('#cards-list').append(html);
});
});
});
< / script >