Salome HOME
Duplicated menu after a second study opening is fixed.
[tools/siman.git] / Workspace / Siman / WebContent / study / displayKnowledge.jsp
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2     pageEncoding="ISO-8859-1"
3 %><%@
4     taglib prefix="s" uri="/struts-tags"
5 %>
6 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
7 <html>
8
9   <head>
10     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
11     <title><s:text name="name.module"/></title>
12     <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
13   </head>
14
15   <body>
16 <!-- Menu-bar
17      =============================================================================================================================
18   -->
19     <jsp:include page="/jsp/menubar.jsp">
20       <jsp:param name="menu" value="knowledge" />
21     </jsp:include>
22
23 <!-- Title-bar
24      =============================================================================================================================
25   -->
26     <jsp:include page="/jsp/titlebar.jsp">
27       <jsp:param name="entity" value="knowledge" />
28     </jsp:include>
29
30 <!-- Left pane
31      =============================================================================================================================
32   -->
33     <div id=left-pane>
34       <jsp:include page="/jsp/toolbar.jsp">
35         <jsp:param name="tools" value="none" />
36       </jsp:include>
37       <div id=top-spacer></div>
38       <jsp:include page="/jsp/menuitem.jsp">
39         <jsp:param name="menu" value="knowledge" />
40       </jsp:include>
41       <jsp:include page="/jsp/knowledgeProperties.jsp" />
42     </div>
43
44     <div id=main-pane>
45
46 <!-- Description and simulation context sections
47      =============================================================================================================================
48
49      Display of tabs
50   -->
51       <div id="tab-bar">
52       <div id="tab-description">
53           <span id="tab-front">&nbsp;&nbsp;<s:text name="title.description"/>&nbsp;&nbsp;</span>
54       </div>
55       <div id="tab-context">
56           <span id="tab-front">&nbsp;&nbsp;<s:text name="title.context"/>&nbsp;&nbsp;</span>
57       </div>
58       </div>
59
60 <!-- Display of contents
61   -->
62       <div id="article-box">
63         <table width=100% border=0 cellspacing=0 cellpadding=0>
64           <tr valign=top>
65
66 <!--      Description of the knowledge element -->
67           <td width=38%>     <!-- Must conform to the width of above tab-description -->
68             <div id="top-spacer"></div>
69             <div id=article-body class=text>
70               <jsp:include page="/jsp/readDescription.jsp">
71                 <jsp:param name="entity" value="knowledge" />
72               </jsp:include>
73             </div>
74           </td>
75
76 <!--      Separator                            -->
77           <td width=1 bgcolor=#AAAAAA></td>
78
79 <!--      Simulation contexts                  -->
80           <td width=62%>
81             <div id="top-spacer"></div>
82             <div id=article-body class=text>
83               <jsp:include page="/jsp/readContext.jsp" />
84             </div>
85           </td>
86           </tr>
87         </table>
88       </div>
89
90 <!-- Knowledge elements section
91      =============================================================================================================================
92   -->
93       <s:if test="knowledges != null">
94       <div id=article-box>
95         <div id=section><s:text name="title.otherknowledge"/></div>
96         <div id=article-body class=text>
97           <jsp:include page="/jsp/readKnowledge.jsp">
98             <jsp:param name="entity" value="knowledge" />
99           </jsp:include>
100         </div>
101       </div>
102       </s:if>
103
104 <!-- Documents section
105      =============================================================================================================================
106   -->
107       <s:if test="documents != null">
108       <div id=article-box>
109         <div id=section><s:text name="title.document"/></div>
110         <div id=article-body class=text>
111           <jsp:include page="/jsp/readContents.jsp">
112             <jsp:param name="entity" value="knowledge" />
113           </jsp:include>
114         </div>
115       </div>
116       </s:if>
117     </div>
118
119   </body>
120 </html>