Author: fchrist
Date: Wed Sep 5 12:03:36 2012
New Revision: 1381149
URL: http://svn.apache.org/viewvc?rev=1381149&view=rev
Log:
STANBOL-691 applied patch from Sergio Fernández
Modified:
incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css
incubator/stanbol/site/trunk/lib/view.pm
incubator/stanbol/site/trunk/templates/skeleton.html
Modified: incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css?rev=1381149&r1=1381148&r2=1381149&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css (original)
+++ incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css Wed Sep 5
12:03:36 2012
@@ -131,6 +131,16 @@ h1,h2,h3,h4,h5,h6 {
color: #000;
}
+div.breadcrumbs {
+ font-size: 80%;
+ padding-top: 0.8em;
+}
+
+div.breadcrumbs ul li.item:before {
+ content: "\00BB";
+ padding-right: 10px;
+}
+
#footer {
background-color:#404040;
color:#717171;
@@ -173,4 +183,5 @@ span.nd { /* Java Annotations */
}
span.s , span.s2 { /* Strings */
color: #1500ff;
-}
\ No newline at end of file
+}
+
Modified: incubator/stanbol/site/trunk/lib/view.pm
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/lib/view.pm?rev=1381149&r1=1381148&r2=1381149&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/lib/view.pm (original)
+++ incubator/stanbol/site/trunk/lib/view.pm Wed Sep 5 12:03:36 2012
@@ -177,7 +177,7 @@ sub breadcrumbs {
$_ ||= "Home";
push @rv, qq(<a href="$relpath">\u$_</a>);
}
- return join " » ", @rv;
+ return "<ul> <li>". join("</li> <li class=\"item\">", @rv) . "</li> </ul>";
}
@@ -199,3 +199,4 @@ sub breadcrumbs {
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
+
Modified: incubator/stanbol/site/trunk/templates/skeleton.html
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/templates/skeleton.html?rev=1381149&r1=1381148&r2=1381149&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/templates/skeleton.html (original)
+++ incubator/stanbol/site/trunk/templates/skeleton.html Wed Sep 5 12:03:36
2012
@@ -44,7 +44,7 @@
{% filter markdown %}{% include "sidenav.mdtext" %}{% endfilter %}
</div>
<div id="content">
- <div class="breadcrump" style="font-size: 80%;">
+ <div class="breadcrumbs">
{{ breadcrumbs|safe }}
</div>
<h1 class="title">{% block title %}{{ headers.title }}{% endblock %}</h1>
@@ -64,3 +64,4 @@
</body>
</html>
+