]> SALOME platform Git repositories - tools/siman.git/blob
Salome HOME
87011824210cf200c7ebef044ff483fecd0eb248
[tools/siman.git] /
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2     pageEncoding="ISO-8859-1"
3 %>
4 <%@
5     taglib prefix="s" uri="/struts-tags"
6 %>
7 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8 <html>
9
10   <head>
11     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
12     <title><s:text name="name.module"/></title>
13     <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
14     <script language="JavaScript">
15
16     function checkin (message) {
17 //  --------------------------
18       if (confirm(message)) {
19         window.location = "checkin-scenario";
20       }
21       return false;
22     }
23     </script>
24   </head>
25
26   <body>
27 <!-- Menu-bar
28      =============================================================================================================================
29   -->
30     <jsp:include page="/jsp/menubar.jsp">
31       <jsp:param name="menu" value="study" />
32     </jsp:include>
33
34 <!-- Title-bar
35      =============================================================================================================================
36   -->
37     <jsp:include page="/jsp/titlebar.jsp">
38       <jsp:param name="entity"  value="study" />
39       <jsp:param name="disable" value="true" />
40     </jsp:include>
41
42 <!-- Left pane
43      =============================================================================================================================
44   -->
45     <div id=left-pane>
46       <jsp:include page="/jsp/toolbar.jsp">
47         <jsp:param name="tools" value="back" />
48       </jsp:include>
49       <div id=top-spacer></div>
50       <jsp:include page="/jsp/menuitem.jsp">
51         <jsp:param name="menu" value="open" />
52       </jsp:include>
53       <jsp:include page="/jsp/studyProperties.jsp" />
54     </div>
55
56 <!-- Properties form
57      =============================================================================================================================
58   -->
59     <div id=main-pane>
60       <div id=article-box>
61         <div id=section>
62           <s:text name="title.prop.scenario">
63             <s:param><s:property value="%{title}"/></s:param>
64           </s:text>
65         </div>
66         <div id=article-body class=text>
67
68 <!-- Scenario checked-out (not editable)
69   -->   <s:if test="%{isCheckedout()}">
70           <table class="text">
71             <tr>
72               <td colspan=3>
73                 <s:text name="message.checkedout">
74                   <s:param><s:property value="%{author.displayName}"/></s:param>
75                   <s:param><s:property value="%{lastModificationDate}"/></s:param>
76                   <s:param><s:property value="%{author.firstName}"/></s:param>
77                 </s:text>
78               </td>
79             </tr>
80             <tr height=10><td></td></tr>
81             <tr align=middle>
82               <td align=right>
83                 <a href="mailto:<s:property value="author.mailAddress"/>?subject=<s:property value="subject"/>">
84                 <input type="button" name="mailto" value="<s:text name="button.mailto"><s:param><s:property value="%{author.firstName}"/></s:param></s:text>"/>
85                 </a>
86               </td>
87               <td>&nbsp;<s:text name="label.or"/>&nbsp;</td>
88               <td align=left>
89                 <input type="button" name="checkin" value="<s:text name="button.checkin"/>" onClick="checkin('<s:text name="message.checkin"/>')"/>
90               </td>
91             </tr>
92           </table>
93         </s:if>
94
95 <!-- Scenario ckecked-in (editable)
96   -->   <s:else>
97         <form name="property" action="valid-rename" method="post">
98           <table class="text">
99             <tr>
100               <td><s:text name="field.scenariotitle"/>*:&nbsp;</td>
101               <td>
102                 <input type=text size="25" name=title value="<s:property value="title"/>">
103               </td>
104               <td>
105                 <input type="submit" name="save"   value="<s:text name="button.save"/>"/>
106               </td>
107             </tr>
108           </table>
109         </form>
110         </s:else>
111
112         </div>
113       </div>
114     </div>
115
116   </body>
117 </html>