2 pagetitle = "Stemmaweb - Relationship mapper"
3 applicationjs = c.uri_for('/js/relationship.js')
4 applicationstyle = c.uri_for('/css/relationship.css')
6 <script type="text/javascript">
8 $('#svgbasics').svg({loadURL: '[% svg_string %]', onLoad: svgLoaded});
9 $('#svgenlargement').svg({loadURL: '[% svg_string %]', onLoad: svgEnlargementLoaded});
14 <div id="graph_container">
15 <div id="graph_underlay"></div>
16 <div id="visor"></div>
18 <!-- width seems to need to be as wide as the graph -->
19 <!-- a translation of -487 in the svg itself was needed to adjust the graph to the left of the div -->
20 <!-- unclear how to cope with height that doesn't fit box -->
21 <div id="svgbasics" style="height: 100px;"></div>
25 <div id="enlargement_container">
26 <div id="enlargement">
27 <div id="svgenlargement" style="height: 500px;"></div>
31 <div id="update_workspace_button"></div>
33 <div id="dialog-form" title="Create relation between two nodes..">
34 <form id="collapse_node_form">
36 <input type="hidden" name="source_id" id="source_node_id"/>
37 <input type="hidden" name="target_id" id="target_node_id"/>
38 <label for="rel_type">Relation type.. </label>
39 <select name="rel_type" id="rel_type" class=".ui-widget select">
42 <label for="scope">Scope of relation.. </label>
43 <select name="scope" id="scope" class=".ui-widget select">
46 <label for="note">Annotation on note.. </label>
47 <input type="text" width="60" name="note" id="note" class=".ui-widget input" />
49 <div id="status"></div>
52 <div id="dialog_overlay"></div>
59 [% PROCESS footer.tt %]