Changeset 1678 for trunk/web-app


Ignore:
Timestamp:
Mar 29, 2011, 2:30:12 PM (10 years ago)
Author:
robert@…
Message:

Added entity names above table editor in simple wizard and added template description to template select boxes (#378)

Location:
trunk/web-app
Files:
2 edited

Legend:

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

    r1565 r1678  
    2525.simpleWizard div ul.user_list { margin: -22px 0 0 100px; }
    2626
     27/* template descriptions */
     28.templatedescription {  display: block; padding: 3px; border: 1px solid #4CAAED; /* #006DBA; */ }
     29.studypage .templatedescription, .assayspage .templatedescription{ width: 222px; margin: 5px 0 5px 174px; }
     30.samplespage .templatedescription { width: 300px; }
     31
    2732/* .simpleWizard .publication_list li .authors { overflow: hidden; max-height: 8px; text-overflow:ellipsis; } */
    2833
     
    3843.simpleWizard .importcolumns { position: relative; width: 100%; overflow: auto; border: 1px solid #ccc; }
    3944.simpleWizard .importcolumns table { border-width: 0; }
     45
     46/** MISSING FIELDS PAGE / TABLE EDITOR **/
     47.simpleWizard .tableEditor .header { height: auto; line-height: 15px; }
     48.simpleWizard .tableEditor .fieldname { display: inline-block; *display: inline; zoom: 1; }
  • trunk/web-app/js/simpleWizard.js

    r1601 r1678  
    5858        element = $("input[name=" + cellname + "]");
    5959        element.addClass('error')
     60}
     61
     62/**
     63 * Shows the description of a selected template in a div. The div is hidden if no description is given
     64 */
     65function showTemplateDescription( id, description ) {
     66        var el = $( '#' + id );
    6067       
    61        
     68        if( !description || description == "" ) {
     69                el.hide();
     70        } else {
     71                el.text( description );
     72                el.show();
     73        }
    6274}
Note: See TracChangeset for help on using the changeset viewer.