2016-09-03 15:54:33 +02:00
< div class = "container-fluid" >
< div class = "row" >
< div class = "col-lg-12" >
2017-02-08 14:36:28 +01:00
< h3 class = "page-header" > < i class = "fa fa-download fa-fw" > < / i > < span data-i18n = "main_menu_update_token" > Update< / span > < / h3 >
2016-09-03 15:54:33 +02:00
< div class = "introd" >
2016-12-04 19:32:23 +01:00
< h4 data-i18n = "update_label_intro" > Overview about all available Hyperion versions. On top you could update or downgrade your version of Hyperion whenever you want. Sorted from newest to oldest< / h4 >
2019-06-22 21:30:17 +02:00
< h4 > At the moment the install buttons are not working. Development is still ongoing here. < / h4 >
2016-12-21 18:24:03 +01:00
< hr / >
2016-09-03 15:54:33 +02:00
< / div >
< h4 id = "update_currver" > < / h4 >
< hr >
< div class = "col-lg-12" id = "versionlist" >
< / div >
< / div >
< / div >
< / div >
< script >
2019-06-05 18:19:08 +02:00
// performTranslation('trans_update');
performTranslation();
2019-06-22 21:30:17 +02:00
if(window.gitHubVersionList != null)
{
for (key in window.gitHubVersionList)
2016-09-03 15:54:33 +02:00
{
2019-06-22 21:30:17 +02:00
if(window.gitHubVersionList[key].name == null || (window.serverConfig.general.versionBranch == "Stable" & & window.gitHubVersionList[key].prerelease == true))
{
continue;
}
$('#versionlist').append('< div class = "col-lg-6" > < div class = "panel panel-'+ (window.gitHubVersionList[key].prerelease == true ? " danger " : " default " ) + ' " > < div class = "panel-heading" > < i class = "fa fa-television fa-fw" > < / i > Hyperion V'+window.gitHubVersionList[key].tag_name+'< / div > < div class = "panel-body" > < p > < span style = "font-weight:bold;" > '+$.i18n('update_label_type') + '< / span > ' + (window.gitHubVersionList[key].prerelease == true ? "Beta" : "Stable") + '< / p > < p > < span style = "font-weight:bold;" > '+$.i18n('update_label_description')+'< / span > '+window.gitHubVersionList[key].body+'< / p > < hr > < a class = "btn btn-primary" href = "'+ window.gitHubVersionList[key].html_url +'" target = "_blank" > < i class = "fa fa-list fa-fw" > < / i > < span style = "font-weight:bold;" > '+$.i18n('update_button_changelog')+'< / span > < / a > < button type = "button" class = "btn btn-warning pull-right" ' + ( window . gitHubVersionList [ key ] . tag_name = = window . currentVersion ? " disabled " : " " ) + ' > < i class = "fa fa-download fa-fw" > < / i > '+$.i18n('update_button_install')+'< / button > < / div > < / div > < / div > ');
2016-09-03 15:54:33 +02:00
}
2016-12-04 19:32:23 +01:00
$('#update_currver').append($.i18n('update_versreminder', currentVersion));
2019-06-22 21:30:17 +02:00
}
else
{
$('#versionlist').append($.i18n('update_error_getting_versions'));
}
2016-09-03 15:54:33 +02:00
< / script >