Changeset 1424 for trunk/web-app


Ignore:
Timestamp:
Jan 21, 2011, 4:30:04 PM (10 years ago)
Author:
robert@…
Message:

Improved querying and created a possibility to search for assays

Location:
trunk/web-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/css/advancedQuery.css

    r1415 r1424  
    1313#searchForm ul#criteria li:hover span { text-decoration: line-through; }
    1414
    15 #input_criteria { display: block; float: right; width: 250px; border: 1px solid #666; padding: 10px; }
     15#input_criteria { display: block; float: right; width: 260px; border: 1px solid #666; padding: 10px; }
    1616#input_criteria h2 { margin-top: 2px; margin-bottom: 8px; }
    17 #input_criteria label { width: 70px; margin-top: 8px; }
     17#input_criteria label { width: 80px; margin-top: 8px; }
    1818#input_criteria input.text, #input_criteria select { width: 165px; }
    1919#input_criteria input.button {  margin-top: 8px; }
  • trunk/web-app/js/advancedQuery.js

    r1415 r1424  
    88        var field_descriptor = $( '#input_criteria select[name=field]' ).val();
    99        var value = $( '#input_criteria input[name=value]' ).val();
    10         var operator = 'equals';
     10        var operator = $( '#input_criteria select[name=operator]' ).val();
    1111       
    1212        // Show the title and a remove button
     
    1919        // Clear the input form
    2020        $( '#input_criteria select[name=field]' ).val( '' );
     21        $( '#input_criteria select[name=operator]' ).val( 'equals' );
    2122        $( '#input_criteria input[name=value]' ).val( '' );
    2223}
Note: See TracChangeset for help on using the changeset viewer.