Use new site layout
Change-Id: I04817037ff455938ac4bcf29409566b086fbd7e8
diff --git a/_index.html b/_index.html
new file mode 100644
index 0000000..8eadac6
--- /dev/null
+++ b/_index.html
@@ -0,0 +1,66 @@
+<div id="bigbuttons">
+ <h3>Primary Links</h3>
+ <ul>
+ <li><a id="buttonDownload" href="http://wiki.eclipse.org/SWTBot#Latest_snapshot_build" title="Download">Eclipse
+ Distribution, Update Site, Dropins</a></li>
+ <li><a id="buttonDocumentation" href="http://wiki.eclipse.org/SWTBot"
+ title="Documentation">Tutorials, Examples, Videos, Reference Documentation</a></li>
+ <li><a id="buttonSupport" href="http://wiki.eclipse.org/SWTBot/Support" title="Support">Bug
+ Tracker, Newsgroup, Support</a></li>
+ <li><a id="buttonInvolved" href="http://wiki.eclipse.org/SWTBot/Contributing" title="Getting Involved">Contributor Guide, Mailing Lists, Wiki</a></li>
+ </ul>
+</div>
+
+<div id="midcolumn">
+ <h1>What is SWTBot?</h1>
+ <p>SWTBot is an open-source Java based UI/functional testing tool for testing <a href="/swt">SWT</a>, <a href="/">Eclipse</a> and <a href="/gef">GEF</a> based applications.</p>
+
+ <p>SWTBot provides APIs that are simple to read and write. The APIs also hide the complexities involved with SWT and Eclipse. This makes it suitable for UI/functional testing by everyone, not just developers. SWTBot also provides its own set of assertions that are useful for SWT. You can also use your own assertion framework with SWTBot.</p>
+
+ <p>SWTBot integrates with Eclipse PDE, Eclipse headless testing framework, Ant and <a href="http://eclipse.org/tycho">Tycho</a>, so it's easy to use in your IDE and Headless Builds (as part of a CI job for example).</p>
+
+ <p>SWTBot can run on all platforms that SWT runs on. Very few other testing tools provide such a wide variety of platforms.</p>
+
+ <p>Starting from version 2.1.0, SWTBot also provide a <a href="http://wiki.eclipse.org/SWTBot/Generator">Test Recorder and Generator</a> that you can use to generate your test case simply by recording the UI actions as an end-user would perform them. This is really helpful to get quickly a first sketch of your SWTBot scenario and reduce costs of writing tests.</p>
+
+</div>
+
+<div id="rightcolumn">
+
+<p>
+<a class="twitter-timeline" href="https://twitter.com/search?q=%23SWTBot" data-widget-id="387570714603053056">Tweets about "#SWTBot"</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+</p>
+
+<script type="text/javascript" src="http://www.ohloh.net/p/34990/widgets/project_factoids_stats.js"></script>
+
+</div>
+
+
+
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-910670-2']);
+ _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>
+<script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-414875-5']);
+ _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>
\ No newline at end of file
diff --git a/_projectCommon.php b/_projectCommon.php
index fada931..5805041 100755
--- a/_projectCommon.php
+++ b/_projectCommon.php
@@ -28,4 +28,15 @@
$Nav->addCustomNav("Who's Using It?", "http://wiki.eclipse.org/SWTBot/Who_Is_Using_SWTBot");
$Nav->addCustomNav("All Pages", "http://wiki.eclipse.org/Category:SWTBot");
+ $Menu->setMenuItemList(array());
+ $Menu->addMenuItem("Home", "/swtbot/", "_self");
+ $Menu->addMenuItem("Download", "ttp://wiki.eclipse.org/SWTBot#Update_Sites", "_self");
+ $Menu->addMenuItem("Documentation", "http://wiki.eclipse.org/SWTBot/UsersGuide", "_self");
+ $Menu->addMenuItem("Support", "http://wiki.eclipse.org/SWTBot/Support", "_self");
+ $Menu->addMenuItem("Contribute", "http://wiki.eclipse.org/SWTBot/Contributing", "_self");
+
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css"/>' . "\n\t");
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style2.css"/>' . "\n\t");
+
+ $App->Promotion = TRUE;
?>
diff --git a/images/backgroundMain.png b/images/backgroundMain.png
new file mode 100644
index 0000000..c059672
--- /dev/null
+++ b/images/backgroundMain.png
Binary files differ
diff --git a/images/buttonDocumentation.png b/images/buttonDocumentation.png
new file mode 100644
index 0000000..bbfdde0
--- /dev/null
+++ b/images/buttonDocumentation.png
Binary files differ
diff --git a/images/buttonDocumentation_sel.png b/images/buttonDocumentation_sel.png
new file mode 100644
index 0000000..8affb93
--- /dev/null
+++ b/images/buttonDocumentation_sel.png
Binary files differ
diff --git a/images/buttonDownload.png b/images/buttonDownload.png
new file mode 100644
index 0000000..e620092
--- /dev/null
+++ b/images/buttonDownload.png
Binary files differ
diff --git a/images/buttonDownload_new.png b/images/buttonDownload_new.png
new file mode 100644
index 0000000..e620092
--- /dev/null
+++ b/images/buttonDownload_new.png
Binary files differ
diff --git a/images/buttonDownload_sel.png b/images/buttonDownload_sel.png
new file mode 100644
index 0000000..d3a0330
--- /dev/null
+++ b/images/buttonDownload_sel.png
Binary files differ
diff --git a/images/buttonInvolved.png b/images/buttonInvolved.png
new file mode 100644
index 0000000..bd115b0
--- /dev/null
+++ b/images/buttonInvolved.png
Binary files differ
diff --git a/images/buttonInvolved_sel.png b/images/buttonInvolved_sel.png
new file mode 100644
index 0000000..8dbf275
--- /dev/null
+++ b/images/buttonInvolved_sel.png
Binary files differ
diff --git a/images/buttonSupport.png b/images/buttonSupport.png
new file mode 100644
index 0000000..bd36086
--- /dev/null
+++ b/images/buttonSupport.png
Binary files differ
diff --git a/images/buttonSupport_sel.png b/images/buttonSupport_sel.png
new file mode 100644
index 0000000..a535fe8
--- /dev/null
+++ b/images/buttonSupport_sel.png
Binary files differ
diff --git a/images/star.png b/images/star.png
new file mode 100644
index 0000000..17c24b7
--- /dev/null
+++ b/images/star.png
Binary files differ
diff --git a/index.php b/index.php
index 0be21c4..6fb285f 100755
--- a/index.php
+++ b/index.php
@@ -1,3 +1,4 @@
+2
<?php
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..526317a
--- /dev/null
+++ b/style.css
@@ -0,0 +1,34 @@
+#novaContent {
+ background: url("images/backgroundMain.png") no-repeat;
+ padding-top: 210px;
+}
+
+#midcolumn {
+ width: 600px;
+ padding: 0 10px 10px 10px;
+}
+
+#rightcolumn {
+ width: 300px;
+}
+
+#padding {
+ height: 20px;
+}
+
+h3 {
+ clear: both;
+}
+
+h7 {
+ font-weight: bold;
+ padding: 5px;
+}
+
+a strong {
+ text-decoration: underline;
+}
+
+#rightcolumn ul {
+ margin-left: 10px;
+}
\ No newline at end of file
diff --git a/style2.css b/style2.css
new file mode 100644
index 0000000..d48a359
--- /dev/null
+++ b/style2.css
@@ -0,0 +1,168 @@
+#novaContent {
+ background: url("images/backgroundMain.png") no-repeat white;
+ padding-top: 170px;
+}
+
+#introText p.left {
+ width: 48%;
+ float: left;
+}
+
+#border {
+ border-style: solid;
+ border-width: 5px;
+ border-color: rgb(230,228,242);
+}
+
+#border_top {
+ border-style: solid;
+ border-width: 5px;
+ border-color: rgb(230,228,242);
+ border-bottom: 0px;
+ border-left: 0px;
+ border-right: 0px;
+}
+
+#border p.top {
+ background-color: rgb(230,228,242);
+ border-bottom: 2px solid #FFF;
+ font-size: 14px;
+ font-weight: bold;
+ margin-bottom: 0px;
+ -moz-border-radius-topleft:3px;
+ -moz-border-radius-topright:3px;
+}
+
+#introText p.right {
+ width: 48%;
+ float: right;
+}
+
+#feature_axf {
+ float: left;
+ width: 30%;
+ margin-right: 3%;
+}
+
+#feature_agf {
+ float: left;
+ width: 30%;
+ margin-right: 3%;
+}
+
+#feature_escape {
+ float: left;
+ width: 30%;
+ margin-right: 3%
+}
+
+#feature_generation {
+ float: left;
+ width: 30%;
+}
+
+#feature_experience {
+ clear: both;
+ float: left;
+ width: 63%;
+ margin-right: 3%;
+}
+
+#feature_more {
+ float: left;
+ width: 30%;
+}
+
+#bigbuttons {
+ position: relative;
+ left: 420px;
+ top: -170px;
+}
+#bigbuttons h3{
+ visibility: hidden;
+}
+
+#bigbuttons a {
+}
+
+#bigbuttons ul li {
+ display:block;
+ list-style-type:none;
+ background-color: red;
+ padding: 0;
+ margin: 0;
+}
+
+#bigbuttons a:hover {
+ text-decoration: none;
+}
+
+#bigbuttons a {
+ display: block;
+ height:77px; width:250px;
+ padding: 0;
+ margin: 20px;
+ text-indent: -9000px;
+ position: absolute;
+}
+
+#buttonDownload {
+ background:transparent url("images/buttonDownload.png") no-repeat 0 0;
+ top: 0px;
+ left: 0px;
+}
+
+#buttonDownload:hover {
+ background:transparent url("images/buttonDownload_sel.png") no-repeat 0 0;
+}
+
+
+#buttonDocumentation {
+ background:transparent url("images/buttonDocumentation.png") no-repeat 0 0;
+ top: 87px;
+ left: 0px;
+}
+
+#buttonDocumentation:hover {
+ background:transparent url("images/buttonDocumentation_sel.png") no-repeat 0 0;
+}
+
+#buttonSupport {
+ background:transparent url("images/buttonSupport.png") no-repeat 0 0;
+ top: 0px;
+ left: 280px;
+}
+
+#buttonSupport:hover {
+ background:transparent url("images/buttonSupport_sel.png") no-repeat 0 0;
+}
+
+#buttonInvolved {
+ background:transparent url("images/buttonInvolved.png") no-repeat 0 0;
+ top: 87px;
+ left: 280px;
+}
+
+#buttonInvolved:hover {
+ background:transparent url("images/buttonInvolved_sel.png") no-repeat 0 0;
+}
+
+#bigbuttons a * {
+ visibility: hidden;
+}
+
+
+/*
+#screencast {
+ margin: 20px;
+ position: relative;
+ left: 50px;
+ width: 480px;
+ background-color: black;
+ clear: both;
+ height: 340px;
+ color: white;
+ text-align: center;
+ vertical-align: middle;
+}
+*/
\ No newline at end of file