Source: http://getbootstrap.com/getting-started/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1
+">
<!-- The above 3 meta tags *must* come first in the head; any othe
+r head content must come *after* these tags -->
<title>Your title</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<h1>Hello, world!</h1>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/j
+query.min.js"></script>
<!-- Include all compiled plugins (below), or include individual f
+iles as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>
Import the files in local and change the paths ;)
After that you can include this code in a .cgi script with print.
CGI: http://www.tutorialspoint.com/perl/perl_cgi
Example:
#!/usr/bin/perl
print "Content-type:text/html\r\n\r\n";
print '<html>';
print '<head>';
print '<title>Hello Word - First CGI Program</title>';
print '</head>';
print '<body>';
print '<h2>Hello Word! This is my first CGI program</h2>';
print '</body>';
print '</html>';
1;
Now put some jquery instructions if needed, server side codes (perl), custom some boostrap style definition (but not always necessary), data, include others jquery objects... |