X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fsrc%2Frelate.tt;h=e46c5dec28f9e640ce7604ac6922d4b6cee56915;hb=7e48fe7e26e40815f826968cf9d6b48f0aa21a1d;hp=a3fe4af7c278dabba5da929c117860a548b8bb30;hpb=5539cba31aece1048961e1c0845c0996390cf3b4;p=scpubgit%2Fstemmaweb.git diff --git a/root/src/relate.tt b/root/src/relate.tt index a3fe4af..e46c5de 100644 --- a/root/src/relate.tt +++ b/root/src/relate.tt @@ -9,12 +9,18 @@ var basepath = "[% c.uri_for( '/relation/' ) %]"; var textid = "[% textid %]"; var can_morphologize = "[% can_morphologize %]"; var editable = "[% permission %]" === "full"; +// URLs for images referenced in Javascript +var merge_button_yes = "[% c.uri_for( '/images/tick_circle_frame.png' ) %]"; +var merge_button_no = "[% c.uri_for( '/images/no_entry.png' ) %]"; +// Constants used in Javascript that we get from the server [% IF error -%] var relationship_types = []; var relationship_scopes = []; +var ternary_values = []; [% ELSE -%] var relationship_types = [% relationship_types %]; var relationship_scopes = [% relationship_scopes %]; +var ternary_values = [% ternary_values %]; [% END -%] $(document).ready(function () { @@ -23,10 +29,10 @@ $(document).ready(function () { [% END %] -
- - Help / About | Return to index - + +

Relationship mapper

[% text_title %]

@@ -61,18 +67,29 @@ $(document).ready(function () { - -

- +

- - + + +

+ + +
+ + +
+ + +

+ +
@@ -84,7 +101,17 @@ $(document).ready(function () { -
+
Type:
+ Scope:
+ +
+
+ +
+
+
Select witness(es) to detach:
+
+
@@ -98,15 +125,6 @@ $(document).ready(function () {


- -
- - - -
@@ -133,4 +151,4 @@ $(document).ready(function () {
-[% PROCESS footer.tt %] \ No newline at end of file +[% PROCESS footer.tt %]