Changeset 642 for trunk/web-app


Ignore:
Timestamp:
Jul 2, 2010, 10:16:19 AM (10 years ago)
Author:
vinlud
Message:

changes so far, not working yet

Location:
trunk/web-app
Files:
2 edited

Legend:

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

    r628 r642  
    2121    display: inline-block;
    2222    font-size: 11px;
    23     width: 75px;
     23    width: 100px;
    2424    word-wrap: break-word;
    2525}
  • trunk/web-app/js/simpleQuery.js

    r594 r642  
    2727
    2828        var newCompoundRowDiv1 = document.createElement('div');
    29         newCompoundRowDiv1.setAttribute('class', 'description');
     29        newCompoundRowDiv1.setAttribute('class', 'descriptionSA');
    3030        newCompoundRowDiv1.innerHTML = "Compound";
    3131        newCompoundDiv.appendChild(newCompoundRowDiv1);
     
    3737
    3838        var newCompoundRowDiv3 = document.createElement('div');
    39         newCompoundRowDiv3.setAttribute('class', 'description');
    40         newCompoundRowDiv3.innerHTML = "Value";
     39        newCompoundRowDiv3.setAttribute('class', 'descriptionSA');
     40        newCompoundRowDiv3.innerHTML = "Operator";
    4141        newCompoundDiv.appendChild(newCompoundRowDiv3);
    4242
    4343        var newCompoundRowDiv4 = document.createElement('div');
    4444        newCompoundRowDiv4.setAttribute('class', 'input');
    45         newCompoundRowDiv4.innerHTML = "<input type='text' name='sa_value' value=''>";
     45        var newSelectBox = document.getElementById('operatorInput');
     46        newCompoundRowDiv4 = newSelectBox.cloneNode(true);
    4647        newCompoundDiv.appendChild(newCompoundRowDiv4);
    4748
     49        var newCompoundRowDiv5 = document.createElement('div');
     50        newCompoundRowDiv5.setAttribute('class', 'descriptionSA');
     51        newCompoundRowDiv5.innerHTML = "Value";
     52        newCompoundDiv.appendChild(newCompoundRowDiv5);
     53
     54        var newCompoundRowDiv6 = document.createElement('div');
     55        newCompoundRowDiv6.setAttribute('class', 'input');
     56        newCompoundRowDiv6.innerHTML = "<input type='text' name='sa_value' value=''>";
     57        newCompoundDiv.appendChild(newCompoundRowDiv6);
    4858        compoundGroup.appendChild(newCompoundDiv);
    4959
Note: See TracChangeset for help on using the changeset viewer.