Salome HOME
Fix for mantis #0022093: To exclude the "In-Draft" state from drop-down list during...
[tools/siman.git] / Workspace / Siman / WebContent / study / displayKnowledge.jsp
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
2 <%@ taglib prefix="s" uri="/struts-tags"%>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5
6   <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
7
8   <body>
9
10 <!-- Description and simulation context sections
11      =============================================================================================================================
12
13      Display of tabs
14   -->
15       <div id="tab-bar">
16       <div id="tab-description">
17           <span id="tab-front">&nbsp;&nbsp;<s:text name="title.description"/>&nbsp;&nbsp;</span>
18       </div>
19       <div id="tab-context">
20           <span id="tab-front">&nbsp;&nbsp;<s:text name="title.context"/>&nbsp;&nbsp;</span>
21       </div>
22       </div>
23
24 <!-- Display of contents
25   -->
26       <div id="article-box">
27         <table width=100% border=0 cellspacing=0 cellpadding=0>
28           <tr valign=top>
29
30 <!--      Description of the knowledge element -->
31           <td width=38%>     <!-- Must conform to the width of above tab-description -->
32             <div id="top-spacer"></div>
33             <div id=article-body class=text>
34               <jsp:include page="/jsp/readDescription.jsp">
35                 <jsp:param name="entity" value="knowledge" />
36               </jsp:include>
37             </div>
38           </td>
39
40 <!--      Separator                            -->
41           <td width=1 bgcolor=#AAAAAA></td>
42
43 <!--      Simulation contexts                  -->
44           <td width=62%>
45             <div id="top-spacer"></div>
46             <div id=article-body class=text>
47               <jsp:include page="/jsp/readContext.jsp" />
48             </div>
49           </td>
50           </tr>
51         </table>
52       </div>
53
54 <!-- Knowledge elements section
55      =============================================================================================================================
56   -->
57       <s:if test="knowledges != null">
58       <div id=article-box>
59         <div id=section><s:text name="title.otherknowledge"/></div>
60         <div id=article-body class=text>
61           <jsp:include page="/jsp/readKnowledge.jsp">
62             <jsp:param name="entity" value="knowledge" />
63           </jsp:include>
64         </div>
65       </div>
66       </s:if>
67
68 <!-- Documents section
69      =============================================================================================================================
70   -->
71       <s:if test="documents != null">
72       <div id=article-box>
73         <div id=section><s:text name="title.document"/></div>
74         <div id=article-body class=text>
75           <jsp:include page="/jsp/readContents.jsp">
76             <jsp:param name="entity" value="knowledge" />
77           </jsp:include>
78         </div>
79       </div>
80       </s:if>
81
82   </body>
83 </html>