]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1598] use bootstrap css 2.x fix alert/user messages boxes
authorOlivier Lamy <olamy@apache.org>
Thu, 2 Feb 2012 20:41:50 +0000 (20:41 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 2 Feb 2012 20:41:50 +0000 (20:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1239822 13f79535-47bb-0310-9956-ffa450edef68

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

index 9a1f37188aa58cac466a5c956e563ecadf61af04..522c77e81c0ec950444f2b350b2affd753ada854 100644 (file)
   ~ under the License.
 -->
 <script id='alert-message-success' type='text/x-jquery-tmpl'>
-  <div class="alert-message fade in success" data-alert="alert">
+  <div class="alert fade in alert-success" data-alert="alert">
     <a class="close" href="#" id='alert-message-success-close-a'>&#215;</a>
-    <p>${message}</p>
+    ${message}
   </div>
 </script>
 <script id='alert-message-error' type='text/x-jquery-tmpl'>
-  <div class="alert-message fade in error" data-alert="alert">
+  <div class="alert fade in alert-error" data-alert="alert">
     <a class="close" href="#" id='alert-message-error-close-a'>&#215;</a>
-    <p>${message}</p>
+    ${message}
   </div>
 </script>
 <script id='alert-message-warning' type='text/x-jquery-tmpl'>
-  <div class="alert-message fade in warning" data-alert="alert">
+  <div class="alert fade in alert-heading" data-alert="alert">
     <a class="close" href="#" id='alert-message-warning-close-a'>&#215;</a>
-    <p>${message}</p>
+    ${message}
   </div>
 </script>
 <script id='alert-message-info' type='text/x-jquery-tmpl'>
-  <div class="alert-message fade in info" data-alert="alert">
+  <div class="alert fade in alert-info" data-alert="alert">
     <a class="close" href="#" id='alert-message-info-close-a'>&#215;</a>
-    <p>${message}</p>
+    ${message}
   </div>
 </script>