]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1598] use bootstrap css 2.x .
authorOlivier Lamy <olamy@apache.org>
Thu, 2 Feb 2012 20:39:50 +0000 (20:39 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 2 Feb 2012 20:39:50 +0000 (20:39 +0000)
fix topbar class names

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1239813 13f79535-47bb-0310-9956-ffa450edef68

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

index 2effbe5a9ad7ea3b8a04c33ee94fed2ea31ba10a..21ac40ad2e781d3402ac74ced02f48c81946f20b 100644 (file)
@@ -2,7 +2,7 @@
 <html>
 <head>
   <link rel="stylesheet" href="css/jquery-ui-1.8.16.custom.css"/>
-  <link rel="stylesheet" href="css/bootstrap.min.2.0.0.css">
+  <link rel="stylesheet" href="css/bootstrap.css">
   <link rel="stylesheet" href="css/archiva.css">
 
 
@@ -14,7 +14,7 @@
 
 </head>
 
-<body style="padding-top: 20px;">
+<body> <!-- style="padding-top: 20px;" -->
 
 <div id="topbar-menu-container"></div>
 
index fbd8a0d374b9d231466a91c26ffe930df86cc1dc..7530b772208b3693473624c5d81072b83699aaad 100644 (file)
   ~ under the License.
 -->
 <div id="topbar-menu">
-<div class="navbar navbar-fixed-top" style="z-index: 5;">
+<div class="navbar navbar-fixed-top">
 
-  <div class="navbar-inner">
+  <div style="max-height: 40px" class="navbar-inner">
     <div class="container-fluid">
-      <a class="brand" href="index.html">Archiva</a>
+      <a class="brand pull-left" href="index.html">Archiva</a>
       <div class="nav-collapse">
-      <ul class="nav secondary-nav">
-        <li id="create-admin-link" style="display: none">
+      <ul class="nav pull-right">
+        <li id="create-admin-link" class="pull-right" style="display: none">
           <a href="#" onclick="adminCreateBox();" id="create-admin-link-a">
-            <span class="label important">${$.i18n.prop('create.admin.page.link')}</span>
+            <span class="label label-important">${$.i18n.prop('create.admin.page.link')}</span>
           </a>
         </li>
-        <li id="login-link" style="display: none">
+        <li id="login-link" class="pull-right" style="display: none">
           <a href="#" onclick="loginBox();" id="login-link-a">
-            <span class="label success">${$.i18n.prop('login')}</span>
+            <span class="label label-success">${$.i18n.prop('login')}</span>
           </a>
         </li>
-        <li id="change-password-link" style="">
+        <li id="change-password-link" class="pull-right" style="">
           <a href="#" onclick="editUserDetailsBox();">${$.i18n.prop('edit.details')}</a>
         </li>
-        <li id="logout-link" style="display: none">
+        <li id="logout-link" class="pull-right" style="display: none">
           <a href="#" onclick="logout();" id="logout-link-a">
-            <span class="label important">${$.i18n.prop('logout')}</span>
+            <span class="label label-important">${$.i18n.prop('logout')}</span>
           </a>
         </li>
-        <li id="register-link" style="display: none">
+        <li id="register-link" class="pull-right" style="display: none">
           <a href="#" onclick="registerBox();" id="register-link-a">
-            <span class="label notice">${$.i18n.prop('register')}</span>
+            <span class="label label-info">${$.i18n.prop('register')}</span>
           </a>
         </li>
+        <li class="pull-right">
+            <form class="pull-right" action="">
+              <input type="text" placeholder="Search" />
+            </form>
+        </li>
       </ul>
-      <form class="pull-right" action="">
-        <input type="text" placeholder="Search" />
-      </form>
+
       </div>
     </div>
   </div>