Salome HOME
Fix for uploading of files with names containing specific (accented, ampersand) chara...
[tools/siman.git] / Workspace / Siman / WebContent / layout / baseLayout.jsp
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2     pageEncoding="ISO-8859-1"%>
3 <%@ taglib prefix="s" uri="/struts-tags"%>
4 <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
5 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
6
7 <html>
8
9  <head>
10     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
11     <tiles:importAttribute name="title" scope="request"/>       
12         <title>
13                 <s:property value="%{getText(#request.title)}"/>
14         </title>
15     <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css"/>
16     <link href=<s:url value="/css/cupertino/jquery-ui-1.9.0.custom.css"/> rel="stylesheet"/>
17     <script src=<s:url value="/js/jquery-1.8.2.js"/>></script>
18     <script src=<s:url value="/js/jquery-ui-1.9.0.custom.js"/>></script>
19 </head>
20
21 <body>
22         <!-- Menu-bar  -->
23     <tiles:insertAttribute name="menu_bar" ignore="true" />
24
25         <!-- Title-bar -->
26         <tiles:insertAttribute name="title_bar" ignore="true" />
27
28 <!-- Left pane -->
29     <div id=left-pane>
30         <tiles:insertAttribute name="tool_bar" ignore="true" />
31         <div id=top-spacer></div>
32         <tiles:insertAttribute name="left_menus" ignore="true" />
33         <tiles:insertAttribute name="study_properties" ignore="true" />
34     </div>
35
36 <!-- Message pane
37      =============================================================================================================================
38   -->
39     <div id=main-pane>
40         <tiles:insertAttribute name="presentation_pane" ignore="true" />
41     </div>
42 <s:if test="message != ''">
43 <div id="message"><p><s:property value="message"/></p></div>
44 <script>
45     $(document).ready(function () {
46         $( "#message" ).dialog({
47             autoOpen: true,
48             width: 400,
49             buttons: [
50                 {
51                     text: '<s:text name="button.ok"/>',
52                     click: function() {
53                         $( this ).dialog( "close" );
54                     }
55                 }
56             ]
57         });
58     });
59 </script>
60 </s:if>
61   </body>
62