Skip to content

Commit

Permalink
Switched to bootstrap layout, way cleaner.
Browse files Browse the repository at this point in the history
  • Loading branch information
spockz committed Aug 29, 2012
1 parent 3e13eb8 commit 14e8bdb
Show file tree
Hide file tree
Showing 11 changed files with 117 additions and 282 deletions.
43 changes: 29 additions & 14 deletions _layouts/default.html
Expand Up @@ -4,9 +4,36 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>{{ page.title }}</title>
<link rel="stylesheet" type="text/css" href="syntax.css" media="all" />
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/application.css" media="all" />
<!-- <link rel="stylesheet" type="text/css" href="syntax.css" media="all" /> -->
<!-- <link rel="stylesheet" type="text/css" href="style.css" media="all" /> -->
</head>

<body data-spy="scroll" data-target=".navbar">

<div class="container">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">UHC-JS</a>
<ul class="nav">
<li class="active"><a href="#a_short_introduction_how_to_get_started">Introduction</a></li>
<li><a href="#demo">Demo</a></li>
<li><a href="#resources">Resources</a></li>
<li><a href="#installation_instructions">Installation instructions</a></li>
</ul>
</div>
</div>

<div id="header">
<h1>The Utrecht Haskell Compiler JavaScript Backend Page</h1>
</div>
<div id="body">
{{ content }}
</div>
</div>
<script src="js/jquery-1.8.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28927322-1']);
Expand All @@ -18,18 +45,6 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>

<body>

<div id="container">
<div id="header">
<h1>The Utrecht Haskell Compiler JavaScript Backend Page</h1>
</div>
<div id="body">
{{ content }}
</div>
</div>

</body>
</html>
79 changes: 49 additions & 30 deletions _site/index.html
Expand Up @@ -4,37 +4,41 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>The Utrecht Haskell Compiler JavaScript Backend Page</title>
<link rel="stylesheet" type="text/css" href="syntax.css" media="all" />
<link rel="stylesheet" type="text/css" href="style.css" media="all" />

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28927322-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/application.css" media="all" />
<!-- <link rel="stylesheet" type="text/css" href="syntax.css" media="all" /> -->
<!-- <link rel="stylesheet" type="text/css" href="style.css" media="all" /> -->
</head>

<body>

<div id="container">
<body data-spy="scroll" data-target=".navbar">

<div class="container">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<a class="brand" href="#">UHC-JS</a>
<ul class="nav">
<li class="active"><a href="#a_short_introduction_how_to_get_started">Introduction</a></li>
<li><a href="#demo">Demo</a></li>
<li><a href="#resources">Resources</a></li>
<li><a href="#installation_instructions">Installation instructions</a></li>
</ul>
</div>
</div>

<div id="header">
<h1>The Utrecht Haskell Compiler JavaScript Backend Page</h1>
</div>
<div id="body">
<p class='note block'>
This page is currently under construction. In the mean time please
consider looking at the reports <a href='http://www.norm2782.com/improving-uhc-js-report.pdf'>Improving the
UHC JavaScript Backend</a> (Jurriën Stutterheim) and <a href='http://alessandrovermeulen.me/2012/01/26/getting-rid-of-javascript-with-haskell/'>Getting
Rid of JavaScript with Haskell</a> (Alessandro Vermeulen). Also take a look at
<a href='http://www.haskell.org/haskellwiki/The_JavaScript_Problem#UHC'>Haskell:
The JavaScript Problem</a>.
</p><div class='two-column'>
<div class='alert'>
<p>
This page is currently under construction. In the mean time please
consider looking at the reports <a href='http://www.norm2782.com/improving-uhc-js-report.pdf'>Improving the
UHC JavaScript Backend</a> (Jurriën Stutterheim) and <a href='http://alessandrovermeulen.me/2012/01/26/getting-rid-of-javascript-with-haskell/'>Getting
Rid of JavaScript with Haskell</a> (Alessandro Vermeulen). Also take a look at
<a href='http://www.haskell.org/haskellwiki/The_JavaScript_Problem#UHC'>Haskell:
The JavaScript Problem</a>.
</p>
</div><div class='two-column'>
<div class='column'>
<h2 id='a_short_introduction_how_to_get_started'>A short introduction: how to get started</h2>

Expand Down Expand Up @@ -76,11 +80,13 @@ <h2 id='installation_instructions'>Installation instructions</h2>
</div>
<p>Now build the UHC:</p>
<div class='highlight'><pre><code class='bash'><span class='lineno'>1</span> <span class='nv'>$&gt;</span> <span class='nb'>cd </span>somewhere
<span class='lineno'>2</span> <span class='nv'>$&gt;</span> svn co https://subversion.cs.uu.nl/repos/project.UHC.pub/branches/js/EHC ehc
<span class='lineno'>3</span> <span class='nv'>$&gt;</span> <span class='nb'>cd </span>ehc
<span class='lineno'>4</span> <span class='nv'>$&gt;</span> autoconf
<span class='lineno'>5</span> <span class='nv'>$&gt;</span> ./configure
<span class='lineno'>6</span> <span class='nv'>$&gt;</span> make -j8 101/ehc <span class='o'>&amp;&amp;</span> make -j8 101/ehclib <span class='nv'>EHC_VARIANT_TARGET</span><span class='o'>=</span>js
<span class='lineno'>2</span> <span class='nv'>$&gt;</span> git clone git://github.com/UU-ComputerScience/uhc.git
<span class='lineno'>3</span> <span class='nv'>$&gt;</span> <span class='nb'>cd </span>uhc
<span class='lineno'>4</span> <span class='nv'>$&gt;</span> git checkout js
<span class='lineno'>5</span> <span class='nv'>$&gt;</span> <span class='nb'>cd </span>EHC
<span class='lineno'>6</span> <span class='nv'>$&gt;</span> autoconf
<span class='lineno'>7</span> <span class='nv'>$&gt;</span> ./configure
<span class='lineno'>8</span> <span class='nv'>$&gt;</span> make uhc <span class='o'>&amp;&amp;</span> make 101/ehclib <span class='nv'>EHC_VARIANT_TARGET</span><span class='o'>=</span>js
</code></pre>
</div>
<p>Optionally perform a <code>make install</code>.</p>
Expand All @@ -96,6 +102,19 @@ <h3 id='installation_script_for_jcuhs'>Installation script for JCU-HS</h3>
<p>Follow the on screen instructions when running the installer.</p>
</div>
</div>
<script src="js/jquery-1.8.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28927322-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

</body>
</html>
7 changes: 7 additions & 0 deletions css/application.css
@@ -0,0 +1,7 @@
body {
padding-top: 40px;
}

.navbar .brand {
margin-left:0;
}
9 changes: 9 additions & 0 deletions css/bootstrap.min.css

Large diffs are not rendered by default.

Binary file added img/glyphicons-halflings-white.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/glyphicons-halflings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 15 additions & 11 deletions index.md
Expand Up @@ -3,17 +3,21 @@ layout: default
title: "The Utrecht Haskell Compiler JavaScript Backend Page"
---

<p class="note block">
This page is currently under construction. In the mean time please
consider looking at the reports <a
href="http://www.norm2782.com/improving-uhc-js-report.pdf">Improving the
UHC JavaScript Backend</a> (Jurriën Stutterheim) and <a
href="http://alessandrovermeulen.me/2012/01/26/getting-rid-of-javascript-with-haskell/">Getting
Rid of JavaScript with Haskell</a> (Alessandro Vermeulen). Also take a look at
<a
href="http://www.haskell.org/haskellwiki/The_JavaScript_Problem#UHC">Haskell:
The JavaScript Problem</a>.
</p>
{:toc}

<div class="alert">
<p>
This page is currently under construction. In the mean time please
consider looking at the reports <a
href="http://www.norm2782.com/improving-uhc-js-report.pdf">Improving the
UHC JavaScript Backend</a> (Jurriën Stutterheim) and <a
href="http://alessandrovermeulen.me/2012/01/26/getting-rid-of-javascript-with-haskell/">Getting
Rid of JavaScript with Haskell</a> (Alessandro Vermeulen). Also take a look at
<a
href="http://www.haskell.org/haskellwiki/The_JavaScript_Problem#UHC">Haskell:
The JavaScript Problem</a>.
</p>
</div>

{% capture introduction %}
A short introduction: how to get started
Expand Down
6 changes: 6 additions & 0 deletions js/bootstrap.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions js/jquery-1.8.0.min.js

Large diffs are not rendered by default.

0 comments on commit 14e8bdb

Please sign in to comment.