Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 462275
Collapse All | Expand All

(-)a/_projectCommon/styles.css (-108 lines)
Lines 1-108 Link Here
1
body {
2
	text-align: center;
3
}
4
5
#leftcol {
6
	margin-top: -20px;
7
}
8
9
#midcolumn {
10
	width: 703px;
11
	margin-top: -36px;
12
	margin-right: 0;
13
	margin-left: -20px;
14
	padding-top: 20px;
15
	padding-right: 50px;
16
	padding-left: 40px;
17
}
18
19
.sideitem {
20
	background: url(/eclipse.org-common/themes/Nova/images/thinModalBg.png)
21
		repeat-x scroll 0 0;
22
}
23
24
.sideitem h6 {
25
	color: #575757;
26
	font-size: 20px;
27
	padding-top: -6px;
28
}
29
30
.areaIcon {
31
	margin-left: 50px;
32
}
33
34
#leftnav li.separator {
35
	margin-top: 20px;
36
}
37
38
#leftnav li.separatorNolink {
39
	margin-top: 20px;
40
	margin-left: 0;
41
	padding-top: 5px;
42
	padding-right: 0;
43
	list-style-image: none;
44
	border-top: 1px dotted #d4d4dd;
45
	font-size: 12px;
46
	font-weight: bold;
47
	color: #575757;
48
}
49
50
#leftnav li.selected {
51
	list-style-image:
52
		url(/eclipse.org-common/themes/Nova/images/leftNavSelected.png);
53
}
54
55
#infoDiv {
56
	margin-top: 80px;
57
	margin-left: 45px;
58
	width: 300px;
59
	text-align: left;
60
	font-size: 14px;
61
	float: left;
62
}
63
64
.linkBlock {
65
	margin-top: 20px;
66
	margin-bottom: 20px;
67
	margin-left: 20px;
68
	float: left;
69
	width: 460px;
70
}
71
72
.link img {
73
	position: relative;
74
	top: -20px;
75
	float: left;
76
	padding: 5px;
77
}
78
79
.link {
80
	clear: both;
81
	padding: 20px;
82
}
83
84
.link p.heading {
85
	font-size: 16px;
86
}
87
88
.link p.subText {
89
	font-size: 12px;
90
}
91
92
li p.heading {
93
	font-size: 120%;
94
	margin-bottom: 5px;
95
	margin-top: 5px;
96
	text-align: left;
97
}
98
99
li p.subText {
100
	margin-top: 0px;
101
	font-size: 80%;
102
	text-align: left;
103
	font-weight: normal;
104
}
105
106
.relatedLinks li {
107
	list-style-image: none !important;
108
}
(-)a/_styles.css (-29 lines)
Lines 1-29 Link Here
1
#novaContent {
2
	padding-top: 60px;
3
	background: #FFF url('background.jpg') top left repeat-x;
4
}
5
6
#fullcolumn {
7
	padding-top: 50px;
8
}
9
10
#midcolumn {
11
	width: 613px;
12
	margin-top: 0px;
13
	margin-right: 40px;
14
	margin-bottom: 0px;
15
	margin-left: 0px;
16
	padding-top: 0px;
17
	padding-right: 0px;
18
	padding-bottom: 0px;
19
	padding-left: 40px;
20
}
21
22
a.heading {
23
	font-size: 18px;
24
}
25
26
p.subText {
27
	font-style: italic;
28
	color: #575757;
29
}
(-)a/_toolkit/custom/nav.php (-5 / +5 lines)
Lines 1-6 Link Here
1
<?php
1
<?php
2
2
3
print '<div id="leftcol">';
3
print '<aside id="leftcol" class="col-md-4">';
4
4
5
global $navIconURL;
5
global $navIconURL;
6
if ($navIconURL != "")
6
if ($navIconURL != "")
Lines 8-14 if ($navIconURL != "") Link Here
8
	print '<img class="areaIcon" src="' . $navIconURL . '"/>';
8
	print '<img class="areaIcon" src="' . $navIconURL . '"/>';
9
}
9
}
10
10
11
print '<ul id="leftnav">';
11
print '<ul id="leftnav" class="ul-left-nav fa-ul hidden-print">';
12
for ($i = 0; $i < $Nav->getLinkCount(); $i++)
12
for ($i = 0; $i < $Nav->getLinkCount(); $i++)
13
{
13
{
14
	$Link = $Nav->getLinkAt($i);
14
	$Link = $Nav->getLinkAt($i);
Lines 25-31 for ($i = 0; $i < $Nav->getLinkCount(); $i++) Link Here
25
	}
25
	}
26
	elseif (stripos($Link->getURL(), 'project_summary.php') !== FALSE)
26
	elseif (stripos($Link->getURL(), 'project_summary.php') !== FALSE)
27
	{
27
	{
28
		print '<li class="about"><a href="' . $Link->getURL() . '">' . $Link->getText() . '</a></li>';
28
		print '<li class="about"><i class="fa fa-angle-double-right orange fa-fw"></i><a href="' . $Link->getURL() . '">' . $Link->getText() . '</a></li>';
29
	}
29
	}
30
	else
30
	else
31
	{
31
	{
Lines 37-48 for ($i = 0; $i < $Nav->getLinkCount(); $i++) Link Here
37
		{
37
		{
38
			global $pagePath;
38
			global $pagePath;
39
			$selected = (strpos($pagePath, $Link->getURL()) === 0) ? ' class="selected"' : '';
39
			$selected = (strpos($pagePath, $Link->getURL()) === 0) ? ' class="selected"' : '';
40
			print '<li' . $selected . '><a href="' . $Link->getURL() . '">' . $Link->getText() . '</a></li>';
40
			print '<li' . $selected . '><i class="fa fa-angle-double-right orange fa-fw"></i><a href="' . $Link->getURL() . '">' . $Link->getText() . '</a></li>';
41
		}
41
		}
42
	}
42
	}
43
}
43
}
44
44
45
print '</ul>';
45
print '</ul>';
46
print '</div>';
46
print '</aside>';
47
47
48
?>
48
?>
(-)a/_toolkit/includes/defs.php (-9 lines)
Lines 146-160 class CustomApp extends App Link Here
146
}
146
}
147
147
148
$App = new CustomApp();
148
$App = new CustomApp();
149
$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/home/content/nova.css"/>' . "\n\t");
150
$App->AddExtraHtmlHeader('<!--[if IE 6]> <link rel="stylesheet" type="text/css" href="/home/content/ie6_nova.css" media="screen"/> <![endif]-->' . "\n\t");
151
$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="' . $projectPath . '/_projectCommon/styles.css" media="screen"/>' . "\n\t");
152
$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="' . $areaPath . '/_styles.css" media="screen"/>' . "\n\t");
153
if ($pageFolderPath != $areaPath)
154
{
155
	$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="' . $pageFolderPath . '/_styles.css" media="screen"/>' . "\n\t");
156
}
157
158
$App->Promotion = TRUE; # set true to enable current eclipse.org site-wide promo
149
$App->Promotion = TRUE; # set true to enable current eclipse.org site-wide promo
159
//addGoogleAnalyticsTrackingCodeToHeader();
150
//addGoogleAnalyticsTrackingCodeToHeader();
160
151
(-)a/_toolkit/includes/styles.css (-71 lines)
Lines 1-71 Link Here
1
body {
2
	text-align: center;
3
}
4
5
#novaContent {
6
	background: #FFF url('background.jpg') top left repeat-x;
7
}
8
9
#fullcolumn {
10
	padding-top: 50px;
11
}
12
13
#midcolumn {
14
	padding-left: 30px;
15
	width: 650px !important;
16
}
17
18
#infoDiv {
19
	margin-top: 80px;
20
	margin-left: 45px;
21
	width: 300px;
22
	text-align: left;
23
	font-size: 14px;
24
	float: left;
25
}
26
27
.linkBlock {
28
	margin-top: 20px;
29
	margin-bottom: 20px;
30
	margin-left: 20px;
31
	float: left;
32
	width: 460px;
33
}
34
35
.link img {
36
	position: relative;
37
	top: -20px;
38
	float: left;
39
	padding: 5px;
40
}
41
42
.link {
43
	clear: both;
44
	padding: 20px;
45
}
46
47
.link p.heading {
48
	font-size: 16px;
49
}
50
51
.link p.subText {
52
	font-size: 12px;
53
}
54
55
li p.heading {
56
	font-size: 120%;
57
	margin-bottom: 5px;
58
	margin-top: 5px;
59
	text-align: left;
60
}
61
62
li p.subText {
63
	margin-top: 0px;
64
	font-size: 80%;
65
	text-align: left;
66
	font-weight: normal;
67
}
68
69
.relatedLinks li {
70
	list-style-image: none !important;
71
}
(-)a/community/_styles.css (-4 lines)
Lines 1-4 Link Here
1
#midcolumn {
2
	background: url('background.jpg') top left repeat-x;
3
}
4
(-)a/development/_styles.css (-4 lines)
Lines 1-4 Link Here
1
#midcolumn {
2
	background: url('background.jpg') top left repeat-x;
3
}
4
(-)a/documentation/_styles.css (-16 lines)
Lines 1-16 Link Here
1
#midcolumn {
2
	background: url('background.jpg') top left repeat-x;
3
}
4
5
b {
6
  font-weight:bold;
7
}
8
9
em {
10
  font-style:italic;
11
}
12
13
.middle {
14
  text-align: center;
15
  margin-bottom: 30px;
16
}
(-)a/documentation/index.php (-4 lines)
Lines 12-21 $latest = $help . "/org.eclipse.emf.cdo.doc/html"; Link Here
12
$others = "<p class=\"middle\"><i>This overview is an extract from the <a href=\"$help\">4.1 Release Help</a>.<br>\nFor other versions select from the menu bar at the left side.</i></p>\n\n";
12
$others = "<p class=\"middle\"><i>This overview is an extract from the <a href=\"$help\">4.1 Release Help</a>.<br>\nFor other versions select from the menu bar at the left side.</i></p>\n\n";
13
13
14
global $App;
14
global $App;
15
if ($App != NULL)
16
{
17
	$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="' . $latest . '/book.css" media="screen"/>' . "\n\t");
18
}
19
15
20
print '<div id="midcolumn">' . "\n\n";
16
print '<div id="midcolumn">' . "\n\n";
21
print "<h1 class=\"middle\">CDO Model Repository Overview</h1>\n";
17
print "<h1 class=\"middle\">CDO Model Repository Overview</h1>\n";
(-)a/documentation/presentations/index.php (-1 lines)
Lines 5-11 $pageTitle = "Presentations"; Link Here
5
//$pageKeywords	= "";
5
//$pageKeywords	= "";
6
$pageAuthor		= "Eike Stepper";
6
$pageAuthor		= "Eike Stepper";
7
7
8
$App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="' . $pageFolderPath . '/styles.css" media="screen"/>' . "\n\t");
9
8
10
print '<div id="midcolumn">' . "\n";
9
print '<div id="midcolumn">' . "\n";
11
print '<h1 id="pagetitle">Presentations</h1>' . "\n";
10
print '<h1 id="pagetitle">Presentations</h1>' . "\n";
(-)a/downloads/_styles.css (-95 lines)
Lines 1-95 Link Here
1
#midcolumn {
2
	background: url('background.jpg') top left repeat-x;
3
}
4
5
#midcolumn div,span,p,blockquote,pre,code,em,sub,sup,dl,dt,dd,ol,ul,fieldset,form,legend,table,caption,tbody,tfoot,thead,tr,th,td {
6
    line-height: 12px;
7
}
8
9
#midcolumn li {
10
	list-style-image: url('separator.png');
11
	margin-right: 0px;
12
	padding: 0px;
13
}
14
15
#midcolumn img {
16
 padding-top: 2px;
17
}
18
19
.repo-info td {
20
	padding: 0px;
21
}
22
23
.repo-item li {
24
	margin-top: 10px;
25
	margin-right: 0px;
26
	padding-right: 0px;
27
}
28
29
.repo-item table {
30
	margin-bottom: 0px;
31
}
32
33
.repo-label1 {
34
  color: #000000;
35
  font-size: 18pt;
36
}
37
38
.repo1 {
39
	padding: 5px 0px 5px 0px;
40
  margin-bottom: 20px;
41
  border-bottom: 3px solid #D4D4DD;
42
}
43
44
.repo-label2 {
45
  color: #000000;
46
  font-size: 14pt;
47
}
48
49
.repo2 {
50
	padding: 5px 0px 5px 0px;
51
}
52
53
.drop-label {
54
  color: #000000;
55
  font-size: 12pt;
56
  font-weight: bold;
57
	margin-bottom: 0px;
58
  margin-top: 0px;
59
  padding-bottom: 0px;
60
  padding-top: 0px;
61
}
62
63
.drop {
64
	margin-top: 0px;
65
	margin-bottom: 0px;
66
	padding: 5px 0px 0px 0px;
67
}
68
69
.drop-info {
70
	padding-top: 3px;
71
}
72
73
.drop-info td {
74
	padding: 1px;
75
}
76
77
.drop-separator {
78
	border: none;
79
	border-bottom: 2px solid #D4D4DD;
80
	margin-bottom: 3px;
81
  margin-top: 3px;
82
}
83
84
.file-size {
85
	text-align: right;
86
}
87
88
.level1 {
89
	padding-right: 49px;
90
}
91
92
.level2 {
93
	padding-right: 26px;
94
}
95
(-)a/downloads/index.php (+1 lines)
Lines 10-15 $App->AddExtraHtmlHeader('<script src="/modeling/includes/downloads.js" type="te Link Here
10
$pageAuthor		= "Eike Stepper";
10
$pageAuthor		= "Eike Stepper";
11
11
12
print '<div id="midcolumn">' . "\n";
12
print '<div id="midcolumn">' . "\n";
13
print '<h1>Downloads</h1>';
13
readfile("http://download.eclipse.org/modeling/emf/cdo/updates/index.html");
14
readfile("http://download.eclipse.org/modeling/emf/cdo/updates/index.html");
14
print '</div>';
15
print '</div>';
15
16
(-)a/index.php (-36 / +67 lines)
Lines 6-50 $pageTitle = ""; Link Here
6
$pageKeywords	= "";
6
$pageKeywords	= "";
7
$pageAuthor		= "Eike Stepper";
7
$pageAuthor		= "Eike Stepper";
8
8
9
?>
9
  // Initialize $variables.
10
  $variables = array();
11
  $links = array();
10
12
11
	<div class="linkBlock">
13
  $links[] = array(
12
		<div class="link">
14
    'icon' => 'fa-download', // Required
13
			<a href="downloads"><img src="http://dev.eclipse.org/huge_icons/actions/go-down.png" alt="Downloads"/></a>
15
    'url' => '/cdo/downloads/', // Required
14
			<a class="heading" href="downloads">Downloads</a>
16
    'title' => 'Download', // Required
15
			<p class="subText">Looking for the latest build?<br/>Milestones, maintenance builds, and more...</p>
17
    //'target' => '_blank', // Optional
16
		</div>
18
    'text' => 'Looking for the latest build?<br/>Milestones, maintenance builds, and more...' // Optional
17
		<div class="link">
19
  );
18
			<a href="documentation"><img src="http://dev.eclipse.org/huge_icons/mimetypes/x-office-book.png" alt="Documentation"/></a>
19
			<a class="heading" href="documentation">Documentation</a>
20
			<p class="subText">Browse through the product documentation, tutorials, presentations and the JavaDocs...</p>
21
		</div>
22
		<div class="link">
23
			<a href="support"><img src="http://dev.eclipse.org/huge_icons/apps/help-browser.png" alt="Support"/></a>
24
			<a class="heading" href="support">Support</a>
25
			<p class="subText">You have problems or questions not answered in the documentation? Look here for help...</p>
26
		</div>
27
	</div>
28
20
29
	<div class="linkBlock">
21
  $links[] = array(
30
		<div class="link">
22
    'icon' => 'fa-book', // Required
31
			<a href="community"><img src="http://dev.eclipse.org/huge_icons/categories/applications-internet.png" alt="Community"/></a>
23
    'url' => '/cdo/documentation', // Required
32
			<a class="heading" href="community">Community</a>
24
    'title' => 'Documentation', // Required
33
			<p class="subText">Visit the community pages for information about various product and development topics...</p>
25
    //'target' => '_blank', // Optional
34
		</div>
26
    'text' => 'Browse through the product documentation, tutorials, presentations and the JavaDocs...' // Optional
35
		<div class="link">
27
  );
36
			<a href="development"><img src="http://dev.eclipse.org/huge_icons/actions/edit-clear.png" alt="Development"/></a>
28
37
			<a class="heading" href="development">Development</a>
29
  $links[] = array(
38
			<p class="subText">Get the sources and find out more about the CDO project and its development process...</p>
30
    'icon' => 'fa-support', // Required
39
		</div>
31
    'url' => '/cdo/support/', // Required
40
		<div class="link">
32
    'title' => 'Support', // Required
41
			<a href="team"><img src="http://dev.eclipse.org/huge_icons/apps/system-users.png" alt="Team"/></a>
33
    //'target' => '_blank', // Optional
42
			<a class="heading" href="team">Team</a>
34
    'text' => 'You have problems or questions not answered in the documentation? Look here for help...' // Optional
43
			<p class="subText">About us and our activity...</p>
35
  );
44
		</div>
45
	</div>
46
36
47
37
38
  $links[] = array(
39
    'icon' => 'fa-globe', // Required
40
    'url' => '/cdo/community/', // Required
41
    'title' => 'Community', // Required
42
    //'target' => '_blank', // Optional
43
    'text' => 'Visit the community pages for information about various product and development topics...' // Optional
44
  );
45
46
  $links[] = array(
47
    'icon' => 'fa-code', // Required
48
    'url' => '/cdo/development/', // Required
49
    'title' => 'Development', // Required
50
    //'target' => '_blank', // Optional
51
    'text' => 'Get the sources and find out more about the CDO project and its development process...' // Optional
52
  );
53
54
55
  $links[] = array(
56
    'icon' => 'fa fa-users', // Required
57
    'url' => '/cdo/team/', // Required
58
    'title' => 'Team', // Required
59
    //'target' => '_blank', // Optional
60
    'text' => 'About us and our activity...' // Optional
61
  );
62
63
64
  $variables['header_nav'] = array(
65
    'links' =>  $links, // Required
66
    'logo' => array( // Required
67
      'src' => '/cdo/images/Logo-CDO.png', // Required
68
      'alt' => 'The Eclipse Foundation', // Optional
69
      'url' => 'http://www.eclipse.org', // Optional
70
      //'target' => '_blank' // Optional
71
     ),
72
  );
73
74
  // Set Solstice theme variables (Array)
75
  $App->setThemeVariables($variables);
76
77
?>
78
48
	<div id="midcolumn">
79
	<div id="midcolumn">
49
		<div class="sideitem">
80
		<div class="sideitem">
50
			<h6><a href="<?=$PR?>/news-whatsnew.php"><img alt="RSS Feed" src="http://www.eclipse.org/images/rss2.gif"/></a>&nbsp;&nbsp;
81
			<h6><a href="<?=$PR?>/news-whatsnew.php"><img alt="RSS Feed" src="http://www.eclipse.org/images/rss2.gif"/></a>&nbsp;&nbsp;
Lines 73-79 $pageAuthor = "Eike Stepper"; Link Here
73
	<div id="rightcolumn">
104
	<div id="rightcolumn">
74
		<div class="sideitem">
105
		<div class="sideitem">
75
			<h6>Related Links</h6>
106
			<h6>Related Links</h6>
76
			<ul class="relatedLinks">
107
			<ul class="relatedLinks fa-ul" style="margin-left:20px;">
77
				<li>
108
				<li>
78
					<a href="http://www.eclipse.org/projects/project_summary.php?projectid=modeling.emf.cdo"><img src="http://www.eclipse.org/cdo/images/Logo-CDO-32x32-bottom.png"/></a>
109
					<a href="http://www.eclipse.org/projects/project_summary.php?projectid=modeling.emf.cdo"><img src="http://www.eclipse.org/cdo/images/Logo-CDO-32x32-bottom.png"/></a>
79
					<a href="http://www.eclipse.org/projects/project_summary.php?projectid=modeling.emf.cdo">About This Project</a>
110
					<a href="http://www.eclipse.org/projects/project_summary.php?projectid=modeling.emf.cdo">About This Project</a>
(-)a/support/_styles.css (-4 lines)
Lines 1-4 Link Here
1
#midcolumn {
2
	background: url('background.jpg') top left repeat-x;
3
}
4
(-)a/team/_styles.css (-4 lines)
Lines 1-4 Link Here
1
#midcolumn {
2
	background: url('background.jpg') top left repeat-x;
3
}
4

Return to bug 462275