tiny styling bugfixes
[scpubgit/stemmaweb.git] / root / src / relate.tt
index 4573d8c..0bfe058 100644 (file)
@@ -27,7 +27,7 @@ $(document).ready(function () {
 [% END %]
 
   <div class="mainnav">
-       <span>[% IF c.user_exists %]Hello! [% c.user.get_object.email %]! &nbsp; <a class="navlink" href="[% c.uri_for( '/logout' ) %]">Sign out</a> | [% END %]<a href="help/[% text_lang %]" title="Relationship mapper help" class="helptag navlink">Help / About</a> | <a href="[% c.uri_for( '/' ) %]?withtradition=[% textid %]" class="navlink">Return to index</a> </span>
+       <span>[% IF c.user_exists %]Hello [% c.user.get_object.email %]! &nbsp; <a class="navlink" href="[% c.uri_for( '/logout' ) %]">Sign out</a> | [% END %]<a href="help/[% text_lang %]" title="Relationship mapper help" class="helptag navlink">Help / About</a> | <a href="[% c.uri_for( '/' ) %]?withtradition=[% textid %]" class="navlink">Return to index</a> </span>
    </div>
     <div id="topbanner">
                <h1>Relationship mapper</h1>
@@ -64,18 +64,27 @@ $(document).ready(function () {
                        <input type="hidden" name="source_text" id="source_node_text"/>
                        <input type="hidden" name="target_id" id="target_node_id"/>
                        <input type="hidden" name="target_text" id="target_node_text"/>
-                       <label for="rel_type">Relation type..&nbsp;</label>
-                       <select name="rel_type" id="rel_type" class=".ui-widget select">
+                       <label for="rel_type">Relation type&nbsp;</label>
+                       <select name="type" id="rel_type" class=".ui-widget select">
                                <option></option>
                        </select>
                        <br/><br/>
-                       <label for="scope">Scope of relation..&nbsp;</label>
+                       <label for="scope">Scope of relation&nbsp;</label>
                        <select name="scope" id="scope" class=".ui-widget select">
                                <option></option>
                        </select>
                        <br/><br/>
-                       <label for="note">Annotation or note..&nbsp;</label>
-                       <textarea rows="3" style="width:100%;" name="note" id="note" class=".ui-widget input"></textarea>
+                       <input type="checkbox" name="b_derivable_from_a" id="b_derivable_from_a"/>
+                       <label for="b_derivable_from_a"><span class="rel_rdg_a"></span> would be corrected to <span class="rel_rdg_b"></span>&nbsp;</label>
+                       <br/>
+                       <input type="checkbox" name="a_derivable_from_b" id="a_derivable_from_b"/>
+                       <label for="a_derivable_from_b"><span class="rel_rdg_b"></span> would be corrected to <span class="rel_rdg_a"></span>&nbsp;</label>
+                       <br/>
+                       <input type="checkbox" name="non_independent" id="non_independent"/>
+                       <label for="non_independent">Variants unlikely to arise coincidentally&nbsp;</label>
+                       <br/><br/>
+                       <label for="note">Annotation or note&nbsp;</label>
+                       <textarea rows="3" style="width:100%;" name="annotation" id="note" class=".ui-widget input"></textarea>
                </fieldset>
        <div id="status"></div>         
                </form>
@@ -89,6 +98,7 @@ $(document).ready(function () {
                </form>
                <div id="delete-form-text">Type: <span id="delete_relation_type"></span><br/>
                    Scope: <span id="delete_relation_scope"></span><br/>
+                   <span id="delete_relation_attributes"></span>
                    <span id="delete_relation_note"></span></div>
        </div>
 
@@ -145,4 +155,4 @@ $(document).ready(function () {
         </ul>
     </div>
     
-[% PROCESS footer.tt %]
\ No newline at end of file
+[% PROCESS footer.tt %]