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