mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	Update Check: - New Property which allows you to select stable or beta branch checks. - This would rely on current versions.json. It selects the first version in list with you branch (stable, beta). If it is newer hyperion tells you that a update is available - For this we should keep our deployment pipeline in mind to format the json this way. Cleanup: - I cleaned up the WebUI from dead links and the support page with the affiliate links and donation adresses as we don't have them under our control. Currently only disabled, not deleated Switcher: - If the address which is published via bonjour serve is IPv6 the Switcher was bugged. Fixed that.
		
			
				
	
	
		
			53 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<div class="container-fluid">
 | 
						|
	<h3 class="page-header"><i class="fa fa-info-circle fa-fw"></i><span  data-i18n="main_menu_about_token">About Hyperion</span></h3>
 | 
						|
	<div class="row">
 | 
						|
		<div class="col-lg-6">
 | 
						|
			<div id="about_cont"></div>
 | 
						|
		</div>
 | 
						|
		<div id="danger_act"class="col-lg-6" style="display:none">
 | 
						|
			<h4>You found a hidden service menu!</h4>
 | 
						|
			<button id="reset_cache" class="btn btn-danger">Reset Browser Cache</button>
 | 
						|
			<button id="hyp_restart" class="btn btn-danger">Force Hyperion Restart</button>
 | 
						|
		</div>
 | 
						|
	</div>
 | 
						|
</div>
 | 
						|
 | 
						|
<script type="text/javascript">
 | 
						|
	performTranslation();
 | 
						|
 | 
						|
	var si = sysInfo.hyperion;
 | 
						|
	var libs = {"Bootstrap 3" : "http://getbootstrap.com/", "JQuery" : "https://jquery.com/", "Bootstrap Colorpicker" : "https://itsjavi.com/bootstrap-colorpicker/", "JSON-Editor" : "http://jeremydorn.com/json-editor/", "jQuery.i18n" : "https://github.com/wikimedia/jquery.i18n", "metisMenu" : "http://mm.onokumus.com/index.html", "download.js" : "http://danml.com/download.html", "gijgo" : "http://gijgo.com/"};
 | 
						|
	var libh = "";
 | 
						|
	var lang = [];
 | 
						|
	var dcount = 0;
 | 
						|
 | 
						|
	for(var i = 0; i<availLang.length; i++)
 | 
						|
		lang.push($.i18n('general_speech_'+availLang[i]));
 | 
						|
	for(key in libs)
 | 
						|
		libh += '<a href="'+libs[key]+'" target="_blank">'+key+'</a>, ';
 | 
						|
	libh += "<br/>"+$.i18n("about_credits");
 | 
						|
 | 
						|
	lang = lang.toString().replace(/,/g,", ");
 | 
						|
 | 
						|
	var fc = ['<span id="danger_trig">'+$.i18n("about_version")+'<span>',$.i18n("about_build"),$.i18n("about_builddate"),$.i18n("about_translations"),$.i18n("about_resources", $.i18n("general_webui_title"))];
 | 
						|
	var sc = [currentVersion,si.build,si.time,'('+availLang.length+')<p>'+lang+'</p><p><a href="https://github.com/hyperion-project/hyperion.ng" target="_blank">'+$.i18n("about_contribute")+'</a></p>',libh];
 | 
						|
 | 
						|
	createTable("","atb","about_cont");
 | 
						|
	for(var i = 0; i<fc.length; i++)
 | 
						|
		$('.atb').append(createTableRow([fc[i],sc[i]], "atb", false));
 | 
						|
 | 
						|
	$('#danger_trig').off().on('click',function(){
 | 
						|
		dcount++;
 | 
						|
		if(dcount > 2)
 | 
						|
			$('#danger_act').toggle(true);
 | 
						|
	});
 | 
						|
 | 
						|
	$('#reset_cache').off().on('click',function(){
 | 
						|
		localStorage.clear();
 | 
						|
	});
 | 
						|
 | 
						|
	$('#hyp_restart').off().on('click',function(){
 | 
						|
		initRestart();
 | 
						|
	});
 | 
						|
</script>
 |