Changeset 1136 for trunk/web-app


Ignore:
Timestamp:
Nov 15, 2010, 11:06:45 AM (10 years ago)
Author:
robert@…
Message:

Improved template editor to show field details when a field is selected for use in a template. See ticket 179

Location:
trunk/web-app
Files:
2 edited

Legend:

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

    r1056 r1136  
    2727 */
    2828.templateFields { list-style-type: none;  margin: 0; padding: 0; width: 330px; }
    29 .templateFields li { margin: 0 5px 3px 5px; padding: 3px 5px; }
     29.templateFields li { margin: 0 5px 3px 5px; padding: 3px 5px; display: block; }
    3030html>body .templateFields li { line-height: 16px; vertical-align: center; }
    3131.ui-state-highlight { height: 17px; }
     
    8888        MozOpacity: 0.5;
    8989        -khtml-opacity:.50;
    90         -ms-filter:”alpha(opacity=50)”;
     90        -ms-filter:"alpha(opacity=50)";
    9191        -moz-opacity:.50;
    9292        filter:alpha(opacity=50);
  • trunk/web-app/js/templateEditor.js

    r1077 r1136  
    224224                // Disable all other listitems
    225225                $( '#availableTemplateFields li:not(#' + list_item_id + ')').addClass( 'ui-state-disabled' );
     226                $( '#selectedTemplateFields li:not(#' + list_item_id + ')').addClass( 'ui-state-disabled' );
    226227
    227228                if( list_item_id != 'templateField_new' ) {
     
    240241    // Enable all other listitems
    241242    $( '#availableTemplateFields li:not(#templateField_' + id + ')').removeClass( 'ui-state-disabled' );
     243        $( '#selectedTemplateFields li:not(#' + id + ')').removeClass( 'ui-state-disabled' );
    242244        $( '#addNew').removeClass( 'ui-state-disabled' );
    243245
Note: See TracChangeset for help on using the changeset viewer.