Created
February 18, 2013 12:22
-
-
Save anak10thn/4976986 to your computer and use it in GitHub Desktop.
Sysinfo use IGNSDK API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="qrc:///js/jquery.js"></script> | |
<script src="qrc:///js/bootstrap.js"></script> | |
<script src="qrc:///js/bootstrap-reponsive.js"></script> | |
<link href="qrc:///css/bootstrap.css" rel="stylesheet"> | |
<meta charset=utf-8 /> | |
<title>System Info</title> | |
<script> | |
ign.setDev(true); | |
ign.WidgetSizeMax(300,450); | |
$(function(){ | |
$('.release').html('Release: '+ign.cliOut('cat /etc/ign-release')); | |
$('.arc').html('Arch: '+ign.cliOut('uname -m')); | |
$('.kernel').html('Kernel: '+ign.cliOut('uname -r')); | |
}) | |
</script> | |
</head> | |
<body style='background:transparent;background-color:rgba(255,255,255,0.5)'> | |
<div class="container span4"> | |
<p><strong class='release'></strong></p> | |
<p><strong class='arc'></strong></p> | |
<p><strong class='kernel'></strong></p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment