You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2011/08/08 15:26:35 UTC
svn commit: r1154957 - in /lucene/cms/trunk: content/lucene/css/core.css
content/lucene/css/global.css content/lucene/css/solr.css lib/path.pm
templates/core.html templates/footer.html templates/main.html
templates/solr.html
Author: gsingers
Date: Mon Aug 8 13:26:34 2011
New Revision: 1154957
URL: http://svn.apache.org/viewvc?rev=1154957&view=rev
Log:
LUCENE-2748: clean up some style issues, various other minor fixes
Added:
lucene/cms/trunk/content/lucene/css/solr.css
- copied, changed from r1154806, lucene/cms/trunk/content/lucene/css/core.css
Modified:
lucene/cms/trunk/content/lucene/css/core.css
lucene/cms/trunk/content/lucene/css/global.css
lucene/cms/trunk/lib/path.pm
lucene/cms/trunk/templates/core.html
lucene/cms/trunk/templates/footer.html
lucene/cms/trunk/templates/main.html
lucene/cms/trunk/templates/solr.html
Modified: lucene/cms/trunk/content/lucene/css/core.css
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/css/core.css?rev=1154957&r1=1154956&r2=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/content/lucene/css/core.css (original)
+++ lucene/cms/trunk/content/lucene/css/core.css Mon Aug 8 13:26:34 2011
@@ -2,7 +2,7 @@
The Apache Software Foundation
Derived from: Open for Business Project Website
-
+
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -21,7 +21,7 @@ Derived from: Open for Business Project
under the License.
*********************************/
-/********************************
+/********************************
Global Reset
********************************/
html, body, div, span, applet, object, iframe,
@@ -33,11 +33,11 @@ b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
- border:0;
- margin:0;
- outline:0;
- padding:0;
- background:transparent;
+ border:0;
+ margin:0;
+ outline:0;
+ padding:0;
+ background:transparent;
vertical-align: baseline;
}
@@ -49,7 +49,7 @@ blockquote:before,
blockquote:after,
q:before,
q:after {
- content:'';
+ content:'';
content: none;
}
@@ -72,9 +72,9 @@ table {
border-spacing: 0;
}
-/********************************
+/********************************
General Layout
-********************************/
+********************************/
* {margin:0;padding:0;}
html, body, #wrap {height: 100%;}
@@ -118,7 +118,7 @@ html[xmlns] .clearfix {
clear:left;
}
-/********************************
+/********************************
Typography
********************************/
a,a:active,a:link {
@@ -181,7 +181,7 @@ dd {
padding-left: 25px;
}
-/********************************
+/********************************
../images
********************************/
img {
@@ -203,7 +203,7 @@ img.float-left {
margin: 5px 10px 10px 0px;
}
-/********************************
+/********************************
Code Snippets and Quotes
********************************/
code {
@@ -236,7 +236,7 @@ blockquote {
color: #976957;
}
-/********************************
+/********************************
Tables
********************************/
table {
@@ -264,7 +264,7 @@ td {
padding-right: 11px;
}
-/********************************
+/********************************
Forms
********************************/
input,select {
@@ -302,7 +302,7 @@ input.button {
border-color: #ebebeb #d4d4d4 #d4d4d4 #ebebeb;
}
-/********************************
+/********************************
Generic Classes
********************************/
.float-left {
@@ -325,7 +325,7 @@ input.button {
clear: both;
}
-/********************************
+/********************************
Page Layout
********************************/
#wrap{
@@ -347,7 +347,7 @@ input.button {
padding:30px 0 25px 0;
}
-/********************************
+/********************************
Footer
********************************/
#footer {
@@ -369,7 +369,7 @@ input.button {
left:30px;
}
-/********************************
+/********************************
Header
********************************/
#header {
@@ -420,7 +420,7 @@ input.button {
text-align: right;
}
-/********************************
+/********************************
Search
********************************/
#search {
@@ -443,7 +443,7 @@ input.button {
color: #001f2f;
}
-/********************************
+/********************************
Top Navigation
********************************/
#nav {
@@ -502,7 +502,7 @@ input.button {
background-image: url(../images/header_hot.jpg);
}
-/********************************
+/********************************
Content Sections
********************************/
#main {
@@ -686,7 +686,7 @@ input.button {
margin-left:20px;
}
-/********************************
+/********************************
Content Styles
********************************/
.postmeta {
@@ -744,7 +744,7 @@ p.thumbs {
border: none
}
-/********************************
+/********************************
Page Specific Styles
********************************/
/*HOME*/
@@ -759,6 +759,7 @@ body#home #wrap {
body#home #header {
position: relative;
width: 945px;
+ height: 403px;
padding: 0;
margin: 0 auto;
background: transparent;
Modified: lucene/cms/trunk/content/lucene/css/global.css
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/css/global.css?rev=1154957&r1=1154956&r2=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/content/lucene/css/global.css (original)
+++ lucene/cms/trunk/content/lucene/css/global.css Mon Aug 8 13:26:34 2011
@@ -352,8 +352,7 @@ input.button {
********************************/
#footer {
position: relative;
- margin: -50px auto 0px auto;
- height: 50px;
+ height: 80px;
clear:both;
font-size:11px;
font-family:Verdana, Arial, sans-serif;
@@ -793,6 +792,16 @@ body#home #header #slides .callout {
color: #2b1f48;
}
+body#home #header #slides .descwrapper {
+ position: absolute;
+ top: 175px;
+ font-size: 14px;
+ line-height: 15px;
+ background-color: #2B2A38;
+ width: 945px;
+ height: 85px;
+}
+
body#home #header #slides .description {
position: absolute;
top: 175px;
@@ -800,10 +809,20 @@ body#home #header #slides .description {
font-size: 14px;
line-height: 15px;
color: #e0e0e0;
- background-color: #2B2A38;
width: 350px;
}
+body#home #header #slides .descwrapper .description {
+ position: relative;
+ top: 15px;
+ left: 10px;
+ font-size: 14px;
+ line-height: 15px;
+ color: #e0e0e0;
+ width: 350px;
+}
+
+
body#home #header #slides .controls {
width: 100px;
position: absolute;
Copied: lucene/cms/trunk/content/lucene/css/solr.css (from r1154806, lucene/cms/trunk/content/lucene/css/core.css)
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/content/lucene/css/solr.css?p2=lucene/cms/trunk/content/lucene/css/solr.css&p1=lucene/cms/trunk/content/lucene/css/core.css&r1=1154806&r2=1154957&rev=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/content/lucene/css/core.css (original)
+++ lucene/cms/trunk/content/lucene/css/solr.css Mon Aug 8 13:26:34 2011
@@ -2,7 +2,7 @@
The Apache Software Foundation
Derived from: Open for Business Project Website
-
+
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
@@ -21,7 +21,7 @@ Derived from: Open for Business Project
under the License.
*********************************/
-/********************************
+/********************************
Global Reset
********************************/
html, body, div, span, applet, object, iframe,
@@ -33,11 +33,11 @@ b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
- border:0;
- margin:0;
- outline:0;
- padding:0;
- background:transparent;
+ border:0;
+ margin:0;
+ outline:0;
+ padding:0;
+ background:transparent;
vertical-align: baseline;
}
@@ -49,7 +49,7 @@ blockquote:before,
blockquote:after,
q:before,
q:after {
- content:'';
+ content:'';
content: none;
}
@@ -72,9 +72,9 @@ table {
border-spacing: 0;
}
-/********************************
+/********************************
General Layout
-********************************/
+********************************/
* {margin:0;padding:0;}
html, body, #wrap {height: 100%;}
@@ -118,7 +118,7 @@ html[xmlns] .clearfix {
clear:left;
}
-/********************************
+/********************************
Typography
********************************/
a,a:active,a:link {
@@ -181,7 +181,7 @@ dd {
padding-left: 25px;
}
-/********************************
+/********************************
../images
********************************/
img {
@@ -203,7 +203,7 @@ img.float-left {
margin: 5px 10px 10px 0px;
}
-/********************************
+/********************************
Code Snippets and Quotes
********************************/
code {
@@ -236,7 +236,7 @@ blockquote {
color: #976957;
}
-/********************************
+/********************************
Tables
********************************/
table {
@@ -264,7 +264,7 @@ td {
padding-right: 11px;
}
-/********************************
+/********************************
Forms
********************************/
input,select {
@@ -302,7 +302,7 @@ input.button {
border-color: #ebebeb #d4d4d4 #d4d4d4 #ebebeb;
}
-/********************************
+/********************************
Generic Classes
********************************/
.float-left {
@@ -325,7 +325,7 @@ input.button {
clear: both;
}
-/********************************
+/********************************
Page Layout
********************************/
#wrap{
@@ -347,7 +347,7 @@ input.button {
padding:30px 0 25px 0;
}
-/********************************
+/********************************
Footer
********************************/
#footer {
@@ -369,7 +369,7 @@ input.button {
left:30px;
}
-/********************************
+/********************************
Header
********************************/
#header {
@@ -420,7 +420,7 @@ input.button {
text-align: right;
}
-/********************************
+/********************************
Search
********************************/
#search {
@@ -443,7 +443,7 @@ input.button {
color: #001f2f;
}
-/********************************
+/********************************
Top Navigation
********************************/
#nav {
@@ -502,7 +502,7 @@ input.button {
background-image: url(../images/header_hot.jpg);
}
-/********************************
+/********************************
Content Sections
********************************/
#main {
@@ -686,7 +686,7 @@ input.button {
margin-left:20px;
}
-/********************************
+/********************************
Content Styles
********************************/
.postmeta {
@@ -744,7 +744,7 @@ p.thumbs {
border: none
}
-/********************************
+/********************************
Page Specific Styles
********************************/
/*HOME*/
@@ -759,6 +759,7 @@ body#home #wrap {
body#home #header {
position: relative;
width: 945px;
+ height: 403px;
padding: 0;
margin: 0 auto;
background: transparent;
Modified: lucene/cms/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/lib/path.pm?rev=1154957&r1=1154956&r2=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/lib/path.pm (original)
+++ lucene/cms/trunk/lib/path.pm Mon Aug 8 13:26:34 2011
@@ -6,15 +6,28 @@ use ASF::Value;
our @patterns = (
# [qr!/sitemap\.html$!, sitemap => { headers => { title => "Lucene Sitemap" }} ],
- [qr!core\/.*?\.mdtext$!, main => { template => "core.html"}],
- [qr!solr\/.*?\.mdtext$!, main => { template => "solr.html" }],
+ [qr!core\/.*?\.mdtext$!, main => { template => "core.html",
+ svn => ASF::Value::SVN->new(project => "lucene", limit => 5),
+ jira => ASF::Value::Jira->new(limit => 5,
+ url => "https://issues.apache.org/jira/sr/jira.issueviews:searchrequest-comments-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+LUCENE+ORDER+BY+updatedDate+DESC&tempMax=20"),
+ dev => ASF::Value::Mail->new(list => 'dev@lucene.apache.org',
+ limit => 3),
+ coreuser => ASF::Value::Mail->new(list => 'java-user@lucene.apache.org',
+ limit => 3)
+ }],
+ [qr!solr\/.*?\.mdtext$!, main => { template => "solr.html",
+ svn => ASF::Value::SVN->new(project => "lucene/dev/trunk/solr", limit => 5),
+ jira => ASF::Value::Jira->new(limit => 5,
+ url => "https://issues.apache.org/jira/sr/jira.issueviews:searchrequest-comments-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+SOLR+ORDER+BY+updatedDate+DESC&tempMax=20"),
+ dev => ASF::Value::Mail->new(list => 'dev@lucene.apache.org',
+ limit => 3),
+ solruser => ASF::Value::Mail->new(list => 'solr-user@lucene.apache.org',
+ limit => 3),
+ }],
[qr!pylucene\/.*?\.mdtext$!, main => { template => "pylucene.html" }],
[qr!openrelevance\/.*?\.mdtext$!, main => { template => "orp.html" }],
# keep the general one last
[qr!\.mdtext$!, main => { template => "main.html",
- svn => ASF::Value::SVN->new(project => "lucene", limit => 5),
- jira => ASF::Value::Jira->new(limit => 5,
- url => "https://issues.apache.org/jira/sr/jira.issueviews:searchrequest-comments-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+LUCENE+ORDER+BY+updatedDate+DESC&tempMax=1000"),
dev => ASF::Value::Mail->new(list => 'dev@lucene.apache.org',
limit => 3),
coreuser => ASF::Value::Mail->new(list => 'java-user@lucene.apache.org',
Modified: lucene/cms/trunk/templates/core.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/core.html?rev=1154957&r1=1154956&r2=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/templates/core.html (original)
+++ lucene/cms/trunk/templates/core.html Mon Aug 8 13:26:34 2011
@@ -20,6 +20,7 @@
limitations under the License.
-->
+ <link href="../css/global.css" rel="stylesheet" type="text/css">
<link href="../css/core.css" rel="stylesheet" type="text/css">
<title>Apache Lucene - {% block title %}{{ headers.title }}{% endblock %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@@ -55,5 +56,36 @@
{% block sidebar %}
<div id="sidebar">
{% filter markdown %}{% include "corenav.mdtext" %}{% endfilter %}
+ <div class="status">
+ <div id="svn">
+ <h1>Latest SVN</h1>
+ <div class="status-item">
+ {% for e in svn.list %}
+ <a class="svn" href="http://svn.apache.org/viewvc?revision={{ e.revision }};view=revision">r{{ e.revision }}</a>
+ {{ e.message|safe|truncatewords_html:20 }} ({{
+ e.projects|safe }}) —
+ <a href="http://people.apache.org/committer-index.html#{{ e.author }}">{{ e.author }}</a>
+ {% endfor %}</div></div>
+ <div id="jira">
+ <h1>Latest JIRA</h1>
+ <div class="status-item">{% for e in jira.list %}
+ <a class="bug" href="{{ e.url }}">{{ e.title|safe }}</a><br/>
+ {{ e.content|safe|truncatewords_html:20 }}
+ {% endfor %}</div></div>
+ <div id="dev-mail">
+ <h1>Latest Dev</h1>
+ <div class="status-item">{% for e in dev.list %}
+ <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
+ <hr>
+ {% endfor %}</div>
+ </div>
+ <div id="core-user-mail">
+ <h1>Latest Core User</h1>
+ <div class="status-item">{% for e in coreuser.list %}
+ <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
+ <hr>
+ {% endfor %}</div>
+ </div>
+ </div>
</div>
{% endblock %}
\ No newline at end of file
Modified: lucene/cms/trunk/templates/footer.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/footer.html?rev=1154957&r1=1154956&r2=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/templates/footer.html (original)
+++ lucene/cms/trunk/templates/footer.html Mon Aug 8 13:26:34 2011
@@ -4,7 +4,9 @@
Copyright © 2011 The Apache Software Foundation, Licensed under
the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
<br/>
- Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+ Apache and the Apache feather logo are trademarks of The Apache Software Foundation. Apache Lucene, Apache Solr and their
+ respective logos are trademarks of the Apache Software Foundation. Please see the <a href="http://www.apache.org/foundation/marks/">Apache Trademark Policy</a>
+ for more information.
</p>
</div>
</div>
\ No newline at end of file
Modified: lucene/cms/trunk/templates/main.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/main.html?rev=1154957&r1=1154956&r2=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/templates/main.html (original)
+++ lucene/cms/trunk/templates/main.html Mon Aug 8 13:26:34 2011
@@ -64,13 +64,13 @@ https://docs.djangoproject.com/en/dev/to
{% block slides %}
<div id="slides">
<div class="slideshow" id="mantleSlides">
- <div id="slide1" style="opacity: 0.5">
+ <div id="slide1" >
<div class="callout">
Ultra-fast Search Library and Server<br/>
</div>
- <div class="description">
+ <div class="descwrapper"><div class="description">
Apache Lucene and Solr set the standard for search and indexing performance
- </div>
+ </div></div>
<div class="mantle">
<img alt="Apache Lucene" src="images/mantle-lucene-solr.png"/>
</div>
@@ -79,10 +79,10 @@ https://docs.djangoproject.com/en/dev/to
<div class="callout">
Proven search capabilities<br/>
</div>
- <div class="description">
+ <div class="descwrapper"><div class="description">
Our core algorithms along with the Solr search server power applications the world over, ranging
from mobile devices to sites like Twitter, Apple and Wikipedia.
- </div>
+ </div></div>
<div class="mantle">
<img alt="Lucene Power" src="images/mantle-power.png"/>
</div>
@@ -91,9 +91,9 @@ https://docs.djangoproject.com/en/dev/to
<div class="callout">
Large, Vibrant community
</div>
- <div class="description">
+ <div class="descwrapper"><div class="description">
The goal of Apache Lucene and Solr is to provide world class search capabilities
- </div>
+ </div></div>
<div class="mantle">
<img alt="Apache Mahout community" src="images/mantle-community.png"/>
</div>
@@ -102,9 +102,9 @@ https://docs.djangoproject.com/en/dev/to
<div class="callout">
Apache 2.0 licensed
</div>
- <div class="description">
+ <div class="descwrapper"><div class="description">
Apache Lucene and Solr are distributed under a commercially friendly Apache Software license
- </div>
+ </div></div>
<div class="mantle">
<img alt="Apache Software Foundation" src="images/mantle-asf.png"/>
</div>
@@ -136,21 +136,6 @@ https://docs.djangoproject.com/en/dev/to
<div id="sidebar">
{% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
<div class="status">
- <div id="svn">
- <h1>Latest SVN</h1>
- <div class="status-item">
- {% for e in svn.list %}
- <a class="svn" href="http://svn.apache.org/viewvc?revision={{ e.revision }};view=revision">r{{ e.revision }}</a>
- {{ e.message|safe|truncatewords_html:20 }} ({{
- e.projects|safe }}) —
- <a href="http://people.apache.org/committer-index.html#{{ e.author }}">{{ e.author }}</a>
- {% endfor %}</div></div>
- <div id="jira">
- <h1>Latest JIRA</h1>
- <div class="status-item">{% for e in jira.list %}
- <a class="bug" href="{{ e.url }}">{{ e.title|safe }}</a><br/>
- {{ e.content|safe|truncatewords_html:20 }}
- {% endfor %}</div></div>
<div id="dev-mail">
<h1>Latest Dev</h1>
<div class="status-item">{% for e in dev.list %}
@@ -176,7 +161,7 @@ https://docs.djangoproject.com/en/dev/to
</div>
{% endblock %}
</div>
+ {% include "footer.html" %}
</div>
-{% include "footer.html" %}
</body>
</html>
Modified: lucene/cms/trunk/templates/solr.html
URL: http://svn.apache.org/viewvc/lucene/cms/trunk/templates/solr.html?rev=1154957&r1=1154956&r2=1154957&view=diff
==============================================================================
--- lucene/cms/trunk/templates/solr.html (original)
+++ lucene/cms/trunk/templates/solr.html Mon Aug 8 13:26:34 2011
@@ -19,8 +19,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
- <link href="../css/core.css" rel="stylesheet" type="text/css">
+ <link href="../css/global.css" rel="stylesheet" type="text/css">
+ <link href="../css/solr.css" rel="stylesheet" type="text/css">
<title>Apache Lucene - {% block title %}{{ headers.title }}{% endblock %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
@@ -41,19 +41,52 @@
<a href="index.html"><img border="0" src="../images/solr.png" alt="Solr Logo"/></a>
{% endblock %}
{% block slides %}
+
{% endblock %}
{% block nav %}
<ul>
<li><a href="index.html">Solr</a></li>
<li><a href="downloads.html">Download</a></li>
<li><a href="documentation.html">Documentation</a></li>
- <li><a href="quickstart.html">Tutorials</a></li>
- <li><a href="https://issues.apache.org/jira/browse/LUCENE">Bug Tracker</a></li>
- <li><a class="last" href="mailing-lists.html">Discussion</a></li>
+ <li><a href="quickstart.html">Tutorial</a></li>
+ <li><a href="https://issues.apache.org/jira/browse/SOLR">Bug Tracker</a></li>
+ <li><a href="mailing-lists.html">Discussion</a></li>
+ <li><a class="last" href="../">Lucene</a></li>
</ul>
{% endblock %}
{% block sidebar %}
<div id="sidebar">
{% filter markdown %}{% include "solrnav.mdtext" %}{% endfilter %}
+ <div class="status">
+ <div id="svn">
+ <h1>Latest SVN</h1>
+ <div class="status-item">
+ {% for e in svn.list %}
+ <a class="svn" href="http://svn.apache.org/viewvc?revision={{ e.revision }};view=revision">r{{ e.revision }}</a>
+ {{ e.message|safe|truncatewords_html:20 }} ({{
+ e.projects|safe }}) —
+ <a href="http://people.apache.org/committer-index.html#{{ e.author }}">{{ e.author }}</a>
+ {% endfor %}</div></div>
+ <div id="jira">
+ <h1>Latest JIRA</h1>
+ <div class="status-item">{% for e in jira.list %}
+ <a class="bug" href="{{ e.url }}">{{ e.title|safe }}</a><br/>
+ {{ e.content|safe|truncatewords_html:20 }}
+ {% endfor %}</div></div>
+ <div id="dev-mail">
+ <h1>Latest Dev</h1>
+ <div class="status-item">{% for e in dev.list %}
+ <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
+ <hr>
+ {% endfor %}</div>
+ </div>
+ <div id="solr-user-mail">
+ <h1>Latest Solr User</h1>
+ <div class="status-item">{% for e in solruser.list %}
+ <h4><a href="{{ e.url }}">{{ e.title }}</a></h4>
+ <hr>
+ {% endfor %}</div>
+ </div>
+ </div>
</div>
{% endblock %}
\ No newline at end of file