This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-webskin.git


The following commit(s) were added to refs/heads/master by this push:
     new 620b7ef  add more customization to skin
     new a68aa65  Merge pull request #6 from ebarboni/master
620b7ef is described below

commit 620b7efa810bf42779ebddea45f0d3bc5403366c
Author: Eric Barboni <[email protected]>
AuthorDate: Fri Sep 23 13:58:20 2022 +0200

    add more customization to skin
---
 pom.xml                                   |  6 ++++++
 src/main/resources/META-INF/maven/site.vm | 24 ++++++------------------
 2 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/pom.xml b/pom.xml
index f92f27c..4e9fce2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,6 +20,12 @@
         <system>jira</system>
         <url>https://issues.apache.org/jira/browse/NETBEANS</url>
     </issueManagement>
+    <distributionManagement>
+        <site>
+            <id>netbeans.bits</id>
+            
<url>https://bits.netbeans.org/mavenutilities/netbeans-webskin</url>
+        </site>
+    </distributionManagement>
     <licenses>
         <license>
             <name>Apache License 2</name>
diff --git a/src/main/resources/META-INF/maven/site.vm 
b/src/main/resources/META-INF/maven/site.vm
index f0302d6..7d313e8 100644
--- a/src/main/resources/META-INF/maven/site.vm
+++ b/src/main/resources/META-INF/maven/site.vm
@@ -34,25 +34,12 @@
     <div class="top-bar-right">
         <ul class="vertical medium-horizontal menu" style="right: 90px;" 
data-responsive-menu="drilldown medium-dropdown">
 #* *##set( $stylecompensate = "style='line-height: 1;margin-bottom: 0;padding: 
0.7rem 1rem;display: block;'" )
-#* *##if ($project.artifactId == 'nb-repository-plugin')
-            <li> <strong $stylecompensate >NB Repository Plugin</strong> </li>
+#* *##foreach( $menu in $decoration.body.links )
+#* *##if ($menu.href)
+           <li> <a href="$menu.href">$menu.name</a> </li>
 #* *##else
-            <li> <a href="../nb-repository-plugin/index.html">NB Repository 
Plugin</a> </li>
+           <li> <strong $stylecompensate >$menu.name</strong> </li>
 #* *##end
-#* *##if ($project.artifactId == 'nbm-maven-plugin')
-            <li> <strong $stylecompensate >NBM Plugin</strong> </li>
-#* *##else
-            <li> <a href="../nbm-maven-plugin/index.html">NBM Plugin</a> </li>
-#* *##end
-#* *##if ($project.artifactId == 'nb-shared')
-            <li> <strong $stylecompensate>Shared</strong> </li>
-#* *##else
-            <li> <a href="../nb-shared/index.html">Shared</a> </li>
-#* *##end
-#* *##if ($project.artifactId == 'utilities-parent')
-            <li> <strong $stylecompensate>Parent</strong> </li>
-#* *##else
-            <li> <a href="../parent/index.html">Parent</a> </li>
 #* *##end
         </ul>
     </div>
@@ -99,7 +86,8 @@ $bodyContent
         
     </div>
 </div>
-<a href="${project.scm.url}"><img style="position: absolute; top: 0; right: 0; 
border: 0;" 
src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"; 
alt="Fork me on GitHub"></a>
+#*  *##set ( $gitHubProjectId = $decoration.getCustomValue( 
'NetBeanSkin.gitHub.projectId' ) )
+<a href="https://github.com/$gitHubProjectId";><img style="position: absolute; 
top: 0; right: 0; border: 0;" 
src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"; 
alt="Fork me on GitHub"></a>
 
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to