Files
gitx/Site/templates/site.html
T
Johannes Gilger 788cd7163b Site: W3C-Valid and CSS/HTML corrections
* Makes all the pages (except "See it") W3C Valid
* Adjusts a few texts here and there a little bit
* Makes the menubar span the whole div and display correct on FF/Linux
* Moves "GitX" in the header a few px down to center it

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2009-09-06 14:38:48 +02:00

56 lines
2.1 KiB
HTML

<%
def create_link(name, description)
"<a href='#{name}.html' class='#{name == @filename.gsub(".html", "") ? 'here' : ''}'>#{description}</a>"
end
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>
GitX - <%= @title %>
</title>
<link rel="stylesheet" href="css/master.css" type="text/css" media="screen" title="Main Style" charset="utf-8">
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
<link href="http://gitx.frim.nl/Downloads/appcast.xml" rel="alternate" type="application/rss+xml" title="GitX Application Update Feed">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div id="container">
<div id="header">
GitX
</div>
<div id="nav">
<%= create_link("index", "Home") %>
<%= create_link "seeit", "See it" %>
<%= create_link "contribute", "Contribute" %>
<%= create_link 'release_history', "Release&nbsp;History" %>
<%= create_link 'user_manual', "User Manual" %>
<%= create_link 'links', "Links" %>
<%= create_link 'contact', "Contact" %>
</div>
<!-- <div id="subnav">
<a href="#">Home</a>
<a href="#">Screenshots</a>
<a href="#">Movies</a>
<a href="#">Open Source</a>
<a href="#">About</a>
</div> -->
<div id="content">
<%= @body %>
</div>
<div id="footer">
© Some rights reserved. <a href="http://github.com/pieter/gitx/tree/master/COPYING" title="GPL">GPL v2</a>. <a href="mailto:frimmirf+gitx@gmail.com">Pieter de Bie</a> (<a href="http://twitter.com/pdebie">@pdebie</a>) is the GitX maintainer. Website design by <a href="http://www.ai.rug.nl/~kdoes/index.php?id=webdesign">Kim Does</a>.
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4534244-3");
pageTracker._trackPageview();
</script>
</body>
</html>