]> source.dussan.org Git - archiva.git/commitdiff
artifactInfo view: do not hide infos and display version on the rigth
authorOlivier Lamy <olamy@apache.org>
Mon, 5 Mar 2012 08:44:25 +0000 (08:44 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 5 Mar 2012 08:44:25 +0000 (08:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1296962 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html

index acd9c5bf84fee24e94ed3c002ce7115aae3df3aa..eca45d90baebbc411565463f4b060c80a48dde88 100644 (file)
 
 <script id="browse-artifact-tmpl" type="text/html">
   <div class="row-fluid">
-    <div>
-      <a href="#" data-bind="click: function(){displayArtifactInfo()}">
-          ${$.i18n.prop('browse.artifact.display.artifactInfo')}
-      </a>
+    <div class="span6">
+    <div class="page-header">
+      <h4>${$.i18n.prop('browse.artifact.display.artifactInfo')}</h4>
     </div>
-    <br/>
-    <div id="artifact-info" class="alert alert-info" style="display: none">
+    <div id="artifact-info" class="alert alert-info">
       <table class="table table-condensed">
         <tbody>
           <tr>
         </tbody>
       </table>
     </div>
-
+    </div>
+    <div class="span4">
     <div class="page-header">
       <h4>${$.i18n.prop('browse.artifact.versions')}</h4>
     </div>
-
-    <div>
-      <ul>
+    <div class="alert alert-success">
+      <table class="table table-condensed">
       {{each(i,version) versions}}
-        <li>${version}</li>
+        <tr><th>${version}</th></tr>
       {{/each}}
-      </ul>
+      </table>
+    </div>
     </div>
   </div>
 </script>