First draft of jOOQ website

This commit is contained in:
Lukas Eder 2011-09-14 18:33:43 +00:00
parent 67e87715a4
commit a4fa361f2a
4 changed files with 78 additions and 51 deletions

View File

@ -40,7 +40,7 @@ h3 {
pre {
background: none repeat scroll 0 0 #ffeedd;
border-radius: 10px 10px 10px 10px;
border-width: 1px;
border-width: 2px;
border-style: solid;
border-color: #882222;
box-shadow: 5px 5px 20px #aa6633;
@ -109,7 +109,7 @@ a:hover {
min-height: 101%;
}
#all {
.block {
background-color: #FFFFFF;
margin: 0 auto;
position: relative;
@ -124,10 +124,6 @@ a:hover {
box-shadow: 0 0 20px #aa6633;
}
#header {
height: 240px;
}
#navigation {
height: 40px;
}
@ -137,6 +133,12 @@ div.navigation-item-left {
padding-right: 2em;
}
#content {
#tweets {
height: 40px;
}
div.tweet-item-left {
float: left;
padding-right: 2em;
}

View File

@ -5,53 +5,70 @@
<link href="js/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/prettify/prettify.js"></script>
<script type="text/javascript" src="js/prettify/lang-sql.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
</head>
<body onload="prettyPrint()">
<div id="wrapper">
<div id="all">
<div id="header">
<div id="navigation">
<div class="navigation-item-left">
<a href="index.php" title="jOOQ Home Page">Home</a>
</div>
<div class="navigation-item-left">
<a href="https://sourceforge.net/projects/jooq/files/" title="jOOQ Download">Download</a>
</div>
<div class="navigation-item-left">
<a href="manual.php" title="jOOQ User Manual">Manual</a>
</div>
<div class="navigation-item-left">
<a href="http://jooq.sourceforge.net/javadoc/latest/" title="jOOQ Main Javadoc">Javadoc</a>
</div>
<div class="navigation-item-left">
<a href="notes.php" title="jOOQ Release Notes">Release Notes</a>
</div>
<div class="navigation-item-left">
<a href="https://sourceforge.net/apps/trac/jooq/report/6" title="jOOQ Roadmap">Roadmap</a>
</div>
<div class="navigation-item-left">
<a href="contribute.php" title="Contribute to jOOQ">Contribute</a>
</div>
<div class="navigation-item-left">
<a href="https://sourceforge.net/project/project_donations.php?group_id=283484" title="Donate to jOOQ, if you like it!">Donate</a>
</div>
<div class="navigation-item-left">
<a href="links.php" title="Interesting links for jOOQ users">Links</a>
</div>
</div>
<div class="block">
<div id="tweets">
<div class="tweet-item-left">
<a href="http://twitter.com/share" class="twitter-share-button" data-text="jOOQ - A nice database abstraction library for Java" data-count="horizontal" data-via="lukaseder">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</div>
<div class="tweet-item-left">
<g:plusone size="medium"></g:plusone>
</div>
<div class="tweet-item-left">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#appId=232666253447462&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true" data-font="verdana"></div>
</div>
</div>
<div id="navigation">
<div class="navigation-item-left">
<a href="index.php" title="jOOQ Home Page">Home</a>
</div>
<div class="navigation-item-left">
<a href="https://sourceforge.net/projects/jooq/files/" title="jOOQ Download">Download</a>
</div>
<div class="navigation-item-left">
<a href="manual.php" title="jOOQ User Manual">Manual</a>
</div>
<div class="navigation-item-left">
<a href="http://jooq.sourceforge.net/javadoc/latest/" title="jOOQ Main Javadoc">Javadoc</a>
</div>
<div class="navigation-item-left">
<a href="notes.php" title="jOOQ Release Notes">Release Notes</a>
</div>
<div class="navigation-item-left">
<a href="https://sourceforge.net/apps/trac/jooq/report/6" title="jOOQ Roadmap">Roadmap</a>
</div>
<div class="navigation-item-left">
<a href="contribute.php" title="Contribute to jOOQ">Contribute</a>
</div>
<div class="navigation-item-left">
<a href="https://sourceforge.net/project/project_donations.php?group_id=283484" title="Donate to jOOQ, if you like it!">Donate</a>
</div>
<div class="navigation-item-left">
<a href="links.php" title="Interesting links for jOOQ users">Links</a>
</div>
</div>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="700">
<h1>jOOQ : A peace treaty between SQL and Java</h1></td>
<td align="right"><img src="img/logo.png" alt="jOOQ Logo"/></td>
</tr>
</table>
</div>
<div id="content">
<?php printSlogan(); ?>
<?php printContent(); ?>
</div>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="700">
<h1>jOOQ : A peace treaty between SQL and Java</h1></td>
<td align="right"><img src="img/logo.png" alt="jOOQ Logo"/></td>
</tr>
</table>
<?php printSlogan(); ?>
<?php printContent(); ?>
<br/>
<br/>

View File

@ -40,7 +40,7 @@ create.selectFrom(BOOK)
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="50%" class="left"><p>jOOQ also supports more complex SQL statements</p></td>
<td width="50%" class="right"><p>...and its equivalent in jOOQ</p></td>
<td width="50%" class="right"><p>...and their equivalent in jOOQ</p></td>
</tr>
<tr>
<td width="50%" class="left"><pre class="prettyprint lang-sql">

8
jOOQ-website/manual.php Normal file
View File

@ -0,0 +1,8 @@
<?php
require 'frame.php';
function printSlogan() {}
function printContent() {
?>
<?php
}
?>