$c->stash->{'template'} = 'relate.tt';
}
+=head2 help
+
+ GET relation/help
+
+Returns the help window HTML.
+
+=cut
+
+sub help :Local :Args(0) {
+ my( $self, $c ) = @_;
+ $c->stash->{'template'} = 'relatehelp.tt';
+}
+
=head2 definitions
GET relation/definitions
INCLUDE_PATH => [
stemmaweb->path_to( 'root', 'src' ),
],
+ ENCODING => 'utf-8',
render_die => 1,
);
height: 100px;
margin-top: 20px;
}
+#bannerinfo {
+ float: right;
+ margin-right: 12%;
+ margin-top: 15px;
+}
#logoimg {
float: left;
margin-left: 20px;
}
+.helptag {
+ color: #488dd2;
+ text-decoration: underline;
+}
#logotitle {
float: left;
margin-left: 30px;
}
});
+ $('.helptag').popupWindow({
+ height:500,
+ width:800,
+ top:50,
+ left:50,
+ scrollbars:1
+ });
+
+
function toggle_relation_active( node_id ) {
$('#svgenlargement .relation').find( "title:contains('" + node_id + "')" ).each( function(index) {
matchid = new RegExp( "^" + node_id );
<script type="text/javascript" src="[% c.uri_for('/js/jquery-1.4.4.min.js') %]"></script>
<script type="text/javascript" src="[% c.uri_for('/js/jquery-ui-1.8.10.custom.min.js') %]"></script>
<script type="text/javascript" src="[% c.uri_for('/js/jquery.mousewheel.min.js') %]"></script>
+ <script type="text/javascript" src="[% c.uri_for('/js/jquery.popupWindow.js') %]"></script>
<script type="text/javascript" src="[% c.uri_for('/js/jquery.svg.js') %]"></script>
<script type="text/javascript" src="[% c.uri_for('/js/jquery.svgdom.js') %]"></script>
[% IF applicationjs -%]
[% END %]
<div id="topbanner">
+ <div id="bannerinfo">
+ <a href="help" title="Relationship mapper help" class="helptag">Help / About</a>
+ </div>
<h1>Relationship mapper</h1>
<h2>[% text_title %]</h2>
</div>
<select name="scope" id="scope" class=".ui-widget select">
</select>
<br/><br/>
- <label for="note">Annotation on note.. </label>
+ <label for="note">Annotation or note.. </label>
<input type="text" width="60" name="note" id="note" class=".ui-widget input" />
</fieldset>
<div id="status"></div>