Menu

[r3]: / py_top_web_client_01 / PSSessionPageView.tmpl  Maximize  Restore  History

Download this file

159 lines (132 with data), 7.0 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#defmacro includeFileAtCompileTime: @open(src).read()
#if $show_page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="/static/default.css" media="screen"/>
<link rel="stylesheet" type="text/css" href="/static/datatable.css">
<link rel="stylesheet" type="text/css" href="/static/psearch.css">
<script type="text/javascript" src="/static/json.js"></script>
<script type="text/javascript" src="/static/utilities.js"></script>
<script type="text/javascript" src="/static/container-min.js"></script>
<script type="text/javascript" src="/static/datasource-beta-min.js"></script>
<script type="text/javascript" src="/static/datatable-beta-min.js"></script>
<script type="text/javascript" src="/static/dci.js"></script>
<script type="text/javascript" src="/static/psearch.js"></script>
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon" />
<title>Interview Session</title>
</head>
<body onload="load_session_page()">
<div class="outer-container">
<div class="inner-container">
#includeFileAtCompileTime: ./header.incl
<div class="path">
<a href="/topengine/">Home</a> &gt; <a href="/topengine/startPSSession">New Interview Session</a>
</div>
<div class="main">
<div class="content">
<h1>Testing Interview Rules</h1>
<p>
This page allows you to test your Rules that you setup for an Interview.
</p>
<div id="error_div" class="errmsg">$err_msg</div>
<div id="status_div" class="statmsg">$status_msg</div>
<input type="hidden" name="top_status" id="top_status" value="ready"/>
<div id="ps_session_div">
#end if
<p>
<table border="0" class="ps_session">
<tr class="ps_session_pane">
<!-- First collumn: Categories -->
<td class="ps_filter_terms">
<input class="ps_c1_button" id="ps_show_all_nodes_button" type="button" value="Show All Terms" onclick="ps_show_all_nodes_fn('')"/>
<div id="all_categories_table_div" class="ps_c1_datatable">
<table>
<thead>
<tr><th>Category Name</th></tr>
</thead>
<tbody>
<tr><td/></tr>
#for $category in $all_categories_itor
<tr><td>$category.get_name()</td></tr>
#end for
</tbody>
</table>
</div>
</td>
<td class="ps_select_terms">
<!-- collumn: select Terms as answer from ps query result set -->
<div id="query_nodes_table_div" class="ps_c2_datatable">
<table>
<thead>
<tr>
<th>Term Name</th>
</tr>
</thead>
<tbody>
<tr><td/></tr>
#for $nsc in $query_result_itor
#set $tname = $nsc.get_name()
<tr><td>$tname</td></tr>
#end for
</tbody>
</table>
</div>
<!-- Buttons to Add Terms -->
<input id="psq_tname" type="hidden" name="tname" value=""/>
<input class="ps_c21_button" id="confirm_button" type="button" value="Confirm Term" disabled="y" onclick="ps_assert_node_fn('psq_tname', 'confirm_action')"/>
<input class="ps_c22_button" id="negate_button" type="button" value="Negate Term" disabled="y" onclick="ps_assert_node_fn('psq_tname', 'negate_action')"/>
</td>
</tr>
</table>
</p>
<p>
<div id="infer_nodes_table_div" class="ps_r2_datatable">
<table width="100%">
<thead>
<tr>
<th>Term Name</th>
<th>Activation</th>
</tr>
</thead>
<tbody>
<tr><td/><td/></tr>
#for $nsc in $infer_result_itor
<tr>
<td width="75%">$nsc.get_name()</td>
#if $nsc.is_has_node()
#if $nsc.is_asserted_node()
<td width="25%">Confirmed</td>
#else
<td width="25%">Inferred</td>
#end if
#else
<td width="25%">Negated</td>
#end if
</tr>
#end for
</tbody>
</table>
</div>
<!-- Buttons to remove Terms from session -->
<input id="psi_tname" type="hidden" name="tname" value=""/>
<input class="ps_r2_button" id="remove_button" type="button" value="Remove Term from Session" disabled="y" onclick="ps_assert_node_fn('psi_tname', 'remove_action')"/>
</p>
#if $show_page
</div>
</div>
<div class="navigation">
#includeFileAtCompileTime: ./navigation-pt1.incl
#includeFileAtCompileTime: ./navigation-pt2.incl
#includeFileAtCompileTime: ./navigation-pt3.incl
</div>
<div class="clearer">&nbsp;</div>
</div>
#includeFileAtCompileTime: ./footer.incl
</div>
</div>
</body>
</html>
#end if
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.