Permanent Link on Project Page

Added a link pointing to /projects/{uuid} on the project detail pages
in the upper right corner of the project area.

Change-Id: Ibc23342ed54e30f9ecd25b5f5ecaa848b577096b
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
diff --git a/org.eclipse.skalli.view/search/project.jsp b/org.eclipse.skalli.view/search/project.jsp
index f9dba9a..e41d982 100644
--- a/org.eclipse.skalli.view/search/project.jsp
+++ b/org.eclipse.skalli.view/search/project.jsp
@@ -73,6 +73,11 @@
 
     <%-- project header --%>
     <c:if test="${project!=null && editmode==false}">
+        <div class="permalink">
+            <a class="smallgrey" href="${webLocator}/projects/${projectUUID}">Permanent Link</a>
+            |
+            <a class="smallgrey" href="${webLocator}/api/projects/${projectUUID}">REST</a>
+        </div>
         <div class="projectheader">
             <c:choose>
                 <c:when test="${nature == 'PROJECT'}">
diff --git a/org.eclipse.skalli.view/search/style.css b/org.eclipse.skalli.view/search/style.css
index e4582ca..c182427 100644
--- a/org.eclipse.skalli.view/search/style.css
+++ b/org.eclipse.skalli.view/search/style.css
@@ -35,6 +35,15 @@
     text-decoration: underline;
 }
 
+a.smallgrey {
+    font-size:x-small;
+    color:#707070;
+}
+
+a.smallgrey:hover {
+    text-decoration: underline;
+}
+
 img {
     border: none;
 }
@@ -668,13 +677,18 @@
     padding-right: 10px;
 }
 
+.projectarearight .permalink {
+    font-size:x-small;
+    color:#707070;    
+    text-align:right;
+}
+
 .projectarearight .projectheader {
     font-size: 28px;
     font-weight: bolder;
     text-shadow: silver 2px 1px;
     line-height: 28px;
     padding-bottom: 16px;
-    padding-top: 8px;
 }
 
 .projectarearight .projectheader img {