1rst dawnsci content commit
diff --git a/_projectCommon.php b/_projectCommon.php
index 0fe02c9..6681d9a 100644
--- a/_projectCommon.php
+++ b/_projectCommon.php
@@ -8,6 +8,7 @@
*
* Contributors:
* Christopher Guindon (Eclipse Foundation) - Initial implementation
+ * Baha El Kassaby (Diamond Light Source) - Initial DAWNSci eclipse page content
*******************************************************************************/
# Set the theme for your project's web pages.
@@ -17,7 +18,11 @@
# Define your project-wide Nav bars here.
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank).
- $Nav->addNavSeparator("Solstice", "/eclipse.org-common/themes/solstice/docs/");
- $Nav->addCustomNav("Documentation", "/eclipse.org-common/themes/solstice/docs/", "_self", NULL);
- $Nav->addCustomNav("Source code", "http://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/tree/themes/solstice/", "_self", NULL);
- $Nav->addCustomNav("Using Phoenix", "http://wiki.eclipse.org/Using_Phoenix", "_self", NULL);
+ $Nav->addNavSeparator("Eclipse DAWNSci Home", "/dawnsci");
+ $Nav->addCustomNav("Information", "https://projects.eclipse.org/projects/technology.dawnsci", "_self", NULL);
+ $Nav->addCustomNav("Wiki", "https://wiki.eclipse.org/Dawnsci", "_self", NULL);
+ $Nav->addCustomNav("Downloads", "https://projects.eclipse.org/projects/technology.dawnsci/downloads", "_self", NULL);
+ $Nav->addCustomNav("Repository", "https://github.com/eclipse/dawnsci", "_self", NULL);
+ $Nav->addCustomNav("Bugs", "https://bugs.eclipse.org/bugs/describecomponents.cgi?product=dawnsci", "_self", NULL);
+ $Nav->addCustomNav("Contact Us", "https://projects.eclipse.org/projects/technology.dawnsci/contact", "_self", NULL);
+
\ No newline at end of file
diff --git a/content/en_index.php b/content/en_index.php
index f4e6422..3ae3306 100644
--- a/content/en_index.php
+++ b/content/en_index.php
@@ -8,23 +8,87 @@
*
* Contributors:
* Christopher Guindon (Eclipse Foundation) - Initial implementation
+ * Baha El Kassaby (Diamond Light Source) - Initial DAWNSci eclipse page content
*******************************************************************************/
?>
<!-- Main content area -->
<div id="midcolumn">
- <h1><?php print $pageTitle;?></h1>
- <p><a href="solstice-starterkit.zip" class="btn btn-warning">Download Starterkit</a></p>
+ <h1><?php print $pageTitle;?></h1>
+ <img style="float: right; width: 303px; height: 228px" alt="DAWNSci Logo"
+ src="/dawnsci/images/dawnsci_logo.png">
+ <p>This project provides features to allow scientific software to be
+ inter-operable. Algorithms exist today which could be shared between
+ existing Eclipse-based applications however in practice they describe
+ data and do plotting using specific APIs which are not inter-operable
+ or interchangeable. This project defines a structure to make this a
+ thing of the past. It defines an inter-operable layer upon which to
+ build RCP applications such that your user interface, data or plotting
+ can be reused by others.</p>
+ <h3>At the core of DAWN</h3>
+ <p>Data Analysis WorkbeNch (DAWN) is an eclipse based workbench for
+ doing scientific data analysis. It implements sophisticated support
+ for :
+
+ <li>(1) Visualization of data in 1D, 2D and 3D</li>
+ <li>(2) Python script development, debugging and execution</li>
+ <li>(3) Processing and Workflows for visual algorithms analyzing
+ scientific data DAWN is not restricted to one scientific domain.</li>
+ It is developed by and for the synchrotron community foremost but has
+ strong overlap with other communities like neutron scattering, photon
+ science and any scientific communities with the above or similar needs.
+ If you would like to know more, the DAWN project has an active mailing
+ list which is open to subscribers Jiscmail Mailing list. Alternatively
+ you could follow us on Twitter. Dawn is open source and available on
+ github.
+ </p>
+ <div class="news-list">
+ <h2>
+ <a href="/community/news/eclipsenews.php">Updates</a>
+ </h2>
+ <div class="news_item">
+ <div class="news_item_date">2015/11/06</div>
+ <div class="news_item_title">
+ <h3>
+ <a
+ href="http://www.dawnsci.org/news/dawn110releaseavailablefordownload">
+ DAWN version 1.10</a>
+ </h3>
+ </div>
+ <div class="news_item_description">DAWN latest version is now available for download</div>
+ </div>
+ <div class="news_item">
+ <div class="news_item_date">March 2015</div>
+ <div class="news_item_title">
+ <h3>
+ <a
+ href="http://journals.iucr.org/s/issues/2015/03/00/fv5032/fv5032.pdf">DAWN paper published</a>
+ </h3>
+ </div>
+ <div class="news_item_description">Paper about DAWN in the Journal of Synchrotron Radiation</div>
+ </div>
+ </div>
</div>
<!-- ./end #midcolumn -->
<!-- Start of the right column -->
<div id="rightcolumn">
- <div class="sideitem">
- <h2>Related Links</h2>
- <ul>
- <li><a target="_self" href="/eclipse.org-common/themes/solstice/docs/">Documentation</a></li>
- </ul>
- </div>
+ <div class="sideitem">
+ <h2>Related Links</h2>
+ <p align="center">
+ <a href="https://science.eclipse.org"> <img
+ src="/dawnsci/images/science_wg.png">
+ </a>
+ </p>
+ <ul>
+ </ul>
+ </div>
+ <div class="sideitem">
+ <h2>Eclipse DAWNSci on Twitter</h2>
+ <a class="twitter-timeline"
+ href="https://twitter.com/search?src=typd&q=dawnscience"
+ data-widget-id="624610866063749121">#dawnscience Tweets</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>
+ </div>
</div>
-<!-- ./end #rightcolumn -->
+<!-- ./end #rightcolumn -->
\ No newline at end of file
diff --git a/images/dawnsci_logo.png b/images/dawnsci_logo.png
new file mode 100644
index 0000000..a9a5fee
--- /dev/null
+++ b/images/dawnsci_logo.png
Binary files differ
diff --git a/images/science_wg.png b/images/science_wg.png
new file mode 100644
index 0000000..fee8eab
--- /dev/null
+++ b/images/science_wg.png
Binary files differ
diff --git a/index.php b/index.php
index 82ca02a..88c9d5d 100644
--- a/index.php
+++ b/index.php
@@ -1 +1,72 @@
-<?php header('Location: http://eclipse.org/projects/project.php?id=technology.dawnsci'); ?>
\ No newline at end of file
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014-2015 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christopher Guindon (Eclipse Foundation) - Initial implementation
+ * Baha El Kassaby (Diamond Light Source) - Initial DAWNSci eclipse page content
+ *******************************************************************************/
+
+require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
+require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
+require_once ($_SERVER ['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+
+$App = new App ();
+$Nav = new Nav ();
+$Menu = new Menu ();
+
+// Shared variables/configs for all pages of your website.
+require_once ('_projectCommon.php');
+
+// Begin: page-specific settings. Change these.
+$pageTitle = "The Data Analysis WorkbeNch Science (DAWNSci) project";
+$pageKeywords = "data analysis, visualization, reduction, processing";
+$pageAuthor = "Christopher Guindon & Baha El Kassaby";
+
+// Initialize custom solstice $variables.
+$variables = array ();
+
+// Add classes to <body>. (String)
+$variables ['body_classes'] = '';
+
+// Insert custom HTML in the breadcrumb region. (String)
+$variables ['breadcrumbs_html'] = "";
+
+// Hide the breadcrumbs. (Bool)
+$variables ['hide_breadcrumbs'] = FALSE;
+
+// Insert HTML before the left nav. (String)
+$variables ['leftnav_html'] = '';
+
+// Update the main container class (String)
+$variables ['main_container_classes'] = 'container';
+
+// Insert HTML after opening the main content container, before the left sidebar. (String)
+$variables ['main_container_html'] = '';
+
+// CFA Link - Big orange button in header
+$variables ['btn_cfa'] = array (
+ 'hide' => FALSE, // Optional - Hide the CFA button.
+ 'html' => '', // Optional - Replace CFA html and insert custom HTML.
+ 'class' => 'btn btn-huge btn-warning', // Optional - Replace class on CFA link.
+ 'href' => '//www.eclipse.org/downloads/', // Optional - Replace href on CFA link.
+ 'text' => '<i class="fa fa-download"></i> Download'
+); // Optional - Replace text of CFA link.
+
+// Set Solstice theme variables. (Array)
+$App->setThemeVariables ( $variables );
+
+// Place your html content in a file called content/en_pagename.php
+ob_start ();
+include ("content/en_" . $App->getScriptName ());
+$html = ob_get_clean ();
+
+// Insert extra html before closing </head> tag.
+// $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="style.css" media="screen" />');
+
+// Generate the web page
+$App->generatePage ( $theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html );