Making the width of the left navcolumn adjustable via a property.

${maven.ui.navcol.width} now defaults to 20% and replaces a hardcoded
20% in the site.jsl.  With the new hierarchic expanding navigation,
it can get pretty wide when pushed to its limits.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
werken 2003-11-12 13:50:27 +00:00
parent bc324245e0
commit d5877e36a7
3 changed files with 12 additions and 1 deletions

View File

@ -23,6 +23,8 @@ maven.xdoc.poweredby.image=maven-propaganda.png
maven.xdoc.poweredby.title=Powered by Maven
maven.xdoc.poweredby.url=http://maven.apache.org/
# The width of the navigation column
maven.ui.navcol.width = 20%
#
# UI Color Prefs

View File

@ -143,7 +143,7 @@
<!-- Body of the page -->
<table border="0" cellspacing="0" cellpadding="8" width="100%"> <!--id="main" -->
<tr valign="top">
<td id="leftcol" width="20%">
<td id="leftcol" width="${maven.ui.navcol.width}">
<div id="navcolumn">
<j:if test="${date == 'navigation-top'}">
<div>

View File

@ -260,6 +260,15 @@
(gray).
</td>
</tr>
<tr>
<td>maven.ui.navcol.width</td>
<td>Yes</td>
<td>
Specifies the width for the navigation column. The
default value is <code>20%</code>
(gray).
</td>
</tr>
<tr>
<td>maven.ui.breadcrumbs.background</td>
<td>Yes</td>