Add Downloads Index
diff --git a/_theme-nav-statet.php b/_theme-nav-statet.php
index 6b58c7c..acf23a6 100644
--- a/_theme-nav-statet.php
+++ b/_theme-nav-statet.php
@@ -2,4 +2,5 @@
$Nav->addNavSeparator("StatET", "/statet");
$Nav->addCustomNav("News", "/statet/news", "_self", 3);
+$Nav->addCustomNav("Downloads", "/statet/downloads", "_self", 3);
$Nav->addCustomNav("Mailing List: statet-users", "https://accounts.eclipse.org/mailing-list/statet-users", "_self", 3);
diff --git a/downloads/4.0.html b/downloads/4.0.html
index 5e7ee27..c7351d3 100644
--- a/downloads/4.0.html
+++ b/downloads/4.0.html
@@ -13,7 +13,7 @@
<h1>StatET 4.0 - Downloads</h1>
-<table class="downloads">
+<table class="statet-grid downloads">
<colgroup>
<col class="title" />
<col />
diff --git a/downloads/4.1.html b/downloads/4.1.html
index 98f4056..437631d 100644
--- a/downloads/4.1.html
+++ b/downloads/4.1.html
@@ -13,7 +13,7 @@
<h1>StatET 4.1 - Downloads</h1>
-<table class="downloads">
+<table class="statet-grid downloads">
<colgroup>
<col class="title" />
<col />
diff --git a/downloads/4.2.html b/downloads/4.2.html
index a60c89c..f863809 100644
--- a/downloads/4.2.html
+++ b/downloads/4.2.html
@@ -13,7 +13,7 @@
<h1>StatET 4.2 - Downloads</h1>
-<table class="downloads">
+<table class="statet-grid downloads">
<colgroup>
<col class="title" />
<col />
diff --git a/downloads/4.3.html b/downloads/4.3.html
index 10b276d..02918e4 100644
--- a/downloads/4.3.html
+++ b/downloads/4.3.html
@@ -13,7 +13,7 @@
<h1>StatET 4.3 - Downloads</h1>
-<table class="downloads">
+<table class="statet-grid downloads">
<colgroup>
<col class="title" />
<col />
diff --git a/downloads/4.4.html b/downloads/4.4.html
index 85c1ff6..ef266ae 100644
--- a/downloads/4.4.html
+++ b/downloads/4.4.html
@@ -13,7 +13,7 @@
<h1>StatET 4.4 - Downloads</h1>
-<table class="downloads">
+<table class="statet-grid downloads">
<colgroup>
<col class="title" />
<col />
diff --git a/downloads/4.5.html b/downloads/4.5.html
index 9270f90..f29637c 100644
--- a/downloads/4.5.html
+++ b/downloads/4.5.html
@@ -13,7 +13,7 @@
<h1>StatET 4.5 - Downloads</h1>
-<table class="downloads">
+<table class="statet-grid downloads">
<colgroup>
<col class="title" />
<col />
diff --git a/downloads/download.css b/downloads/download.css
index 8f1e4c9..7295cf1 100644
--- a/downloads/download.css
+++ b/downloads/download.css
@@ -3,8 +3,6 @@
}
table.downloads {
- table-layout: auto;
- border-collapse: collapse;
margin-top: 30px;
}
@@ -12,40 +10,11 @@
width: 25%;
}
-table.downloads td {
- padding: 2px 4px;
- border: thin solid #828282;
- vertical-align: baseline;
-}
-
-table.downloads tr.latest td {
- background-color: #fcf8e3;
- color: #8a6d3b;
- border-color: #8a6d3b;
-}
-
table.downloads tr.section td {
padding: 0px;
border-width: 0;
}
-table.downloads th {
- padding: 1px 4px 0px;
- border: thin solid #828282;
- background-color: #fcfcfc;
- color: #828282;
- font-size: 90%;
- font-weight: 600;
-}
-
-table.downloads h3, table.downloads h4, table.downloads p {
- margin-bottom: 2px;
-}
-
-table.downloads tr td.title {
- font-weight: bold;
-}
-
table.downloads tr td.content {
white-space: nowrap;
}
diff --git a/downloads/index.html b/downloads/index.html
new file mode 100644
index 0000000..57f3d81
--- /dev/null
+++ b/downloads/index.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<meta name="copyright" content="Copyright (c) Eclipse contributors and others 2018, 2021."/>
+<meta http-equiv="Content-Language" content="en-us"/>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+<title>StatET Downloads</title>
+
+</head>
+<body>
+
+<h1>Downloads</h1>
+
+<h2>Releases</h2>
+
+<table class="statet-grid">
+<colgroup>
+ <col class="title" style="width: 100px;" />
+ <col />
+ <col />
+ <col />
+</colgroup>
+<tbody>
+ <tr class="header">
+ <th></th>
+ <th>For</th>
+ </tr>
+ <tr class="latest">
+ <td class="title"><a href="4.5.php">StatET 4.5</a></td>
+ <td>Eclipse IDE 2021-12</td>
+ </tr>
+ <tr>
+ <td class="title"><a href="4.5.php">StatET 4.4</a></td>
+ <td>Eclipse IDE 2021-06</td>
+ </tr>
+ <tr>
+ <td class="title"><a href="4.5.php">StatET 4.3</a></td>
+ <td>Eclipse IDE 2020-12</td>
+ </tr>
+ <tr>
+ <td class="title"><a href="4.5.php">StatET 4.2</a></td>
+ <td>Eclipse IDE 2020-06</td>
+ </tr>
+ <tr>
+ <td class="title"><a href="4.5.php">StatET 4.1</a></td>
+ <td>Eclipse IDE 2019-12</td>
+ </tr>
+ <tr>
+ <td class="title"><a href="4.5.php">StatET 4.0</a></td>
+ <td>Eclipse IDE 2018-12</td>
+ </tr>
+</tbody>
+</table>
+
+</body>
+</html>
diff --git a/downloads/index.php b/downloads/index.php
new file mode 100644
index 0000000..7a821e3
--- /dev/null
+++ b/downloads/index.php
@@ -0,0 +1,34 @@
+<?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");
+require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+$App = new App();
+$Nav = new Nav();
+$Menu = new Menu();
+
+$keywords= 'eclipse, statet, downloads';
+
+require('../_theme-def.php');
+
+$themeVariables['btn_cfa'] = array(
+ 'hide' => FALSE,
+ 'href' => 'https://projects.eclipse.org/projects/science.statet/',
+ 'text' => '<i class="fa fa-home"></i> StatET'
+);
+
+require('../_theme-nav-statet.php');
+
+$file= basename($App->getScriptName(), '.php').'.html';
+
+$doc = new DOMDocument;
+$doc->loadhtmlfile($file);
+
+$title = $doc->getElementsByTagName('title')->item(0);
+$title = innerHTML($title);
+
+$body = $doc->getElementsByTagName('body')->item(0);
+$body = innerHTML($body);
+
+$App->Promotion = FALSE;
+
+require('../_theme-page.php');
diff --git a/news/noteworthy.css b/news/noteworthy.css
index 648d7f9..45999cd 100644
--- a/news/noteworthy.css
+++ b/news/noteworthy.css
@@ -70,7 +70,6 @@
table.news tr td.title {
vertical-align: top;
- font-weight: bold;
}
table.news tr td.content {
diff --git a/solstice-statet.css b/solstice-statet.css
index e36fcb8..12ffefc 100644
--- a/solstice-statet.css
+++ b/solstice-statet.css
@@ -4,6 +4,10 @@
font-weight: 300;
}
+.title {
+ font-weight: bold;
+}
+
.content br+img {
margin-top: 2px;
}
@@ -12,30 +16,51 @@
margin-top: 20px;
background-color: #f6f8fc;
}
-
.message-info {
margin-bottom: 2px;
background-color: #eff0f1;
padding: 8px 10px 8px 10px;
}
-
.message-info .message-stamp {
font-family: monospace;
}
-
.message-info .message-author {
margin-left: 20px;
float: right;
}
-
.message-content {
padding: 8px 10px 6px 10px;
}
-
.message-content h3 {
margin-top: 0px;
}
-
.message-content h5 {
margin-top: 12px;
}
+
+table.statet-grid {
+ table-layout: auto;
+ border-collapse: collapse;
+}
+table.statet-grid th {
+ padding: 1px 4px 0px;
+ border: thin solid #828282;
+ background-color: #fcfcfc;
+ color: #828282;
+ font-size: 90%;
+ font-weight: 600;
+}
+table.statet-grid td {
+ padding: 2px 4px;
+ border: thin solid #828282;
+ vertical-align: baseline;
+}
+table.statet-grid tr.latest td {
+ background-color: #fcf8e3;
+ color: #8a6d3b;
+ border-color: #8a6d3b;
+}
+
+table.statet-grid h3, table.statet-grid h4, table.statet-grid p {
+ margin-bottom: 2px;
+}