From: Brett Porter Date: Sat, 26 Aug 2006 08:16:08 +0000 (+0000) Subject: fix location of template for WW X-Git-Tag: archiva-0.9-alpha-1~649 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e352b7e147d8a7e87efef4b8325212feb6967306;p=archiva.git fix location of template for WW git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437122 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-webapp/src/main/webapp/template/archiva/radiomap.ftl b/archiva-webapp/src/main/webapp/template/archiva/radiomap.ftl new file mode 100644 index 000000000..89ef578d1 --- /dev/null +++ b/archiva-webapp/src/main/webapp/template/archiva/radiomap.ftl @@ -0,0 +1,39 @@ +<@ww.iterator value="parameters.list"> + <#if parameters.listKey?exists> + <#assign itemKey = stack.findValue(parameters.listKey)/> + <#else> + <#assign itemKey = stack.findValue('top')/> + + <#if parameters.listValue?exists> + <#assign itemValue = stack.findString(parameters.listValue)/> + <#else> + <#assign itemValue = stack.findString('top')/> + + +<#if tag.contains(parameters.nameValue, itemKey)> + checked="checked"<#rt/> + +<#if itemKey?exists> + value="${itemKey?html}"<#rt/> + +<#if parameters.disabled?default(false)> + disabled="disabled"<#rt/> + +<#if parameters.tabindex?exists> + tabindex="${parameters.tabindex?html}"<#rt/> + +<#if parameters.cssClass?exists> + class="${parameters.cssClass?html}"<#rt/> + +<#if parameters.cssStyle?exists> + style="${parameters.cssStyle?html}"<#rt/> + +<#if parameters.title?exists> + title="${parameters.title?html}"<#rt/> + +<#include "/${parameters.templateDir}/simple/scripting-events.ftl" /> +/><#rt/> +
+ diff --git a/archiva-webapp/src/main/webapp/template/archiva/theme.properties b/archiva-webapp/src/main/webapp/template/archiva/theme.properties new file mode 100644 index 000000000..b0dfbe775 --- /dev/null +++ b/archiva-webapp/src/main/webapp/template/archiva/theme.properties @@ -0,0 +1,17 @@ +# +# Copyright 2005-2006 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +parent = xhtml diff --git a/archiva-webapp/src/main/webapp/template/repository-manager/radiomap.ftl b/archiva-webapp/src/main/webapp/template/repository-manager/radiomap.ftl deleted file mode 100644 index 89ef578d1..000000000 --- a/archiva-webapp/src/main/webapp/template/repository-manager/radiomap.ftl +++ /dev/null @@ -1,39 +0,0 @@ -<@ww.iterator value="parameters.list"> - <#if parameters.listKey?exists> - <#assign itemKey = stack.findValue(parameters.listKey)/> - <#else> - <#assign itemKey = stack.findValue('top')/> - - <#if parameters.listValue?exists> - <#assign itemValue = stack.findString(parameters.listValue)/> - <#else> - <#assign itemValue = stack.findString('top')/> - - -<#if tag.contains(parameters.nameValue, itemKey)> - checked="checked"<#rt/> - -<#if itemKey?exists> - value="${itemKey?html}"<#rt/> - -<#if parameters.disabled?default(false)> - disabled="disabled"<#rt/> - -<#if parameters.tabindex?exists> - tabindex="${parameters.tabindex?html}"<#rt/> - -<#if parameters.cssClass?exists> - class="${parameters.cssClass?html}"<#rt/> - -<#if parameters.cssStyle?exists> - style="${parameters.cssStyle?html}"<#rt/> - -<#if parameters.title?exists> - title="${parameters.title?html}"<#rt/> - -<#include "/${parameters.templateDir}/simple/scripting-events.ftl" /> -/><#rt/> -
- diff --git a/archiva-webapp/src/main/webapp/template/repository-manager/theme.properties b/archiva-webapp/src/main/webapp/template/repository-manager/theme.properties deleted file mode 100644 index b0dfbe775..000000000 --- a/archiva-webapp/src/main/webapp/template/repository-manager/theme.properties +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright 2005-2006 The Apache Software Foundation. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -parent = xhtml