]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman/WebContent/study/displayKnowledge.jsp
Salome HOME
Left menu is improved
[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
21 <!-- Title-bar
22      =============================================================================================================================
23   -->
24     <jsp:include page="/jsp/titlebar.jsp" />
25
26 <!-- Left pane
27      =============================================================================================================================
28   -->
29     <div id=left-pane>
30       <jsp:include page="/jsp/toolbar.jsp" />
31       <div id=top-spacer></div>
32       <jsp:include page="/jsp/menuitem.jsp" />
33       <jsp:include page="/jsp/knowledgeProperties.jsp" />
34     </div>
35
36     <div id=main-pane>
37
38 <!-- Description and simulation context sections
39      =============================================================================================================================
40
41      Display of tabs
42   -->
43       <div id="tab-bar">
44       <div id="tab-description">
45           <span id="tab-front">&nbsp;&nbsp;<s:text name="title.description"/>&nbsp;&nbsp;</span>
46       </div>
47       <div id="tab-context">
48           <span id="tab-front">&nbsp;&nbsp;<s:text name="title.context"/>&nbsp;&nbsp;</span>
49       </div>
50       </div>
51
52 <!-- Display of contents
53   -->
54       <div id="article-box">
55         <table width=100% border=0 cellspacing=0 cellpadding=0>
56           <tr valign=top>
57
58 <!--      Description of the knowledge element -->
59           <td width=38%>     <!-- Must conform to the width of above tab-description -->
60             <div id="top-spacer"></div>
61             <div id=article-body class=text>
62               <jsp:include page="/jsp/readDescription.jsp">
63                 <jsp:param name="entity" value="knowledge" />
64               </jsp:include>
65             </div>
66           </td>
67
68 <!--      Separator                            -->
69           <td width=1 bgcolor=#AAAAAA></td>
70
71 <!--      Simulation contexts                  -->
72           <td width=62%>
73             <div id="top-spacer"></div>
74             <div id=article-body class=text>
75               <jsp:include page="/jsp/readContext.jsp" />
76             </div>
77           </td>
78           </tr>
79         </table>
80       </div>
81
82 <!-- Knowledge elements section
83      =============================================================================================================================
84   -->
85       <s:if test="knowledges != null">
86       <div id=article-box>
87         <div id=section><s:text name="title.otherknowledge"/></div>
88         <div id=article-body class=text>
89           <jsp:include page="/jsp/readKnowledge.jsp">
90             <jsp:param name="entity" value="knowledge" />
91           </jsp:include>
92         </div>
93       </div>
94       </s:if>
95
96 <!-- Documents section
97      =============================================================================================================================
98   -->
99       <s:if test="documents != null">
100       <div id=article-box>
101         <div id=section><s:text name="title.document"/></div>
102         <div id=article-body class=text>
103           <jsp:include page="/jsp/readContents.jsp">
104             <jsp:param name="entity" value="knowledge" />
105           </jsp:include>
106         </div>
107       </div>
108       </s:if>
109     </div>
110
111   </body>
112 </html>