]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
jQuery UI is used to display message about checked out files.
authorrkv <rkv@opencascade.com>
Wed, 12 Dec 2012 09:16:07 +0000 (09:16 +0000)
committerrkv <rkv@opencascade.com>
Wed, 12 Dec 2012 09:16:07 +0000 (09:16 +0000)
Workspace/Siman/WebContent/layout/baseLayout.jsp
Workspace/Siman/WebContent/skin/default.css

index 7356f060c751631524895d0fa2686c318be6a3c7..07aff59914204b61aee546c049f37432457b0ca6 100644 (file)
        <tiles:insertAttribute name="presentation_pane" ignore="true" />
     </div>
 <s:if test="message != ''">
+<div id="message"><p><s:property value="message"/></p></div>
 <script>
-    alert("<s:property value="message"/>");
+    $(document).ready(function () {
+        $( "#message" ).dialog({
+            autoOpen: true,
+            width: 400,
+            buttons: [
+                {
+                    text: '<s:text name="button.ok"/>',
+                    click: function() {
+                        $( this ).dialog( "close" );
+                    }
+                }
+            ]
+        });
+    });
 </script>
 </s:if>
   </body>
index 8226fd93dda05d7243a102e8cb9e756fd2bd1395..d2fb58dd8cb1042d35e60422996339690ae17f2e 100644 (file)
@@ -4,6 +4,7 @@ body {
     margin: 0;
     background-image: url("image.background.png");
     background-repeat: repeat-x;
+    font: 62.5% Arial, Helvetica, sans-serif;
 }
 
 #header {             /* Page header including contextual menu-bar */