archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1299095 - in /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp: css/archiva.css images/go-home.png js/archiva/templates/search.html
Date Fri, 09 Mar 2012 23:08:31 GMT
Author: olamy
Date: Fri Mar  9 23:08:31 2012
New Revision: 1299095

URL: http://svn.apache.org/viewvc?rev=1299095&view=rev
Log:
[MRM-1573] browse page
Submitted by Eric Barboni with modifications.

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/go-home.png
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css?rev=1299095&r1=1299094&r2=1299095&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css
Fri Mar  9 23:08:31 2012
@@ -80,7 +80,8 @@
   list-style-image: url("../images/folder.png")
 }
 .browse-list-project{
-  list-style-image: url("../images/document-open.png")
+  list-style-image: url("../images/folder-saved-search.png");
+
 }
 
 .force-upper-case{

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/go-home.png
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/go-home.png?rev=1299095&r1=1299094&r2=1299095&view=diff
==============================================================================
Binary files - no diff available.

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html?rev=1299095&r1=1299094&r2=1299095&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html
Fri Mar  9 23:08:31 2012
@@ -48,14 +48,13 @@
       {{/if}}
       {{each(i,browseResultEntry) browseResultEntries}}
         {{if browseResultEntry.project}}
-          <li class="browse-list-project" title="artifact" data-bind="click:function(){displayProjectEntry(browseResultEntry.name)}">
+          <li class="browse-list-project" data-bind="click:function(){displayProjectEntry(browseResultEntry.name)}">
+            <a href="#">${displayEntry(browseResultEntry.name)}</a>
         {{else}}
           <li class="browse-list" data-bind="click:function(){displayGroupId(browseResultEntry.name)}">
-        {{/if}}
-          <a href="#">
-            &nbsp;${displayEntry(browseResultEntry.name)}
-          </a>
-        </li>
+            <a href="#" title="folder ${displayEntry(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
+        {{/if}}          
+          </li>
       {{/each}}
     </ul>
   </div>
@@ -64,19 +63,19 @@
 <script id="browse-breadcrumb-tmpl" type="text/html">
   <ul class="breadcrumb">
     <li>
-      <a href="#" data-bind="click: function(){ browseRoot()}">
-        <!--img src="images/go-home.png"/-->
-        <i class="icon-home"/>&nbsp;</a>&nbsp;<span class="divider">/</span>
+      <a href="#" data-bind="click: function(){ browseRoot()}"><img src="images/go-home.png"/></a>&nbsp;<span
class="divider">/</span>
+        <!-- <i class="icon-home"/> -->
+        
     </li>
     {{var number=breadCrumbEntries().length}}
     {{each(i,breadCrumbEntry) breadCrumbEntries}}
       <li>
-        {{if i==number-1}}
+        {{if i==(number-1)}}
           ${breadCrumbEntry.displayValue}
         {{else}}
           <a href="#" data-bind="click: function(){displayGroupId(breadCrumbEntry.groupId)}">${breadCrumbEntry.displayValue}</a>
         {{/if}}
-        {{if i<number-1}}
+        {{if i<(number-1)}}
           <span class="divider">/</span>
         {{/if}}
       </li>



Mime
View raw message