summaryrefslogtreecommitdiffstats
path: root/templates/page-minilinux.html
blob: c1a4ebd6cd947248aef336a841b55478e223dff6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div class="container" id="systemlist">
	<div class="panel panel-default">Liste wird abgerufen...</div>
	<script type="text/javascript">
		var slx_check = setInterval(function() {
			if (typeof $ === 'undefined') return;
			clearInterval(slx_check);
			$('#systemlist').load('{{{listurl}}}', function( response, status, xhr ) {
				if ( status === "error" ) {
					var msg = "Fehler beim Abruf: ";
					$( "#systemlist" ).html( msg + xhr.status + " " + xhr.statusText );
				}
			})
		}, 100);
	</script>
</div>