Ignore:
Timestamp:
Sep 17, 2013, 2:46:12 PM (10 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #500: Plugin configurations should be grouped below their plug-ins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/admin/install.jsp

    r1915 r2022  
    9292    }
    9393   
    94     if (lastItemType != check.itemType)
     94    var sameSection = lastItemType == check.itemType;
     95    // Do not start new section when switching between plugin definition and configuration
     96    if (!sameSection) sameSection = lastItemType == 'PLUGINDEFINITION' && check.itemType == 'PLUGINCONFIGURATION';
     97    if (!sameSection) sameSection = lastItemType == 'PLUGINCONFIGURATION' && check.itemType == 'PLUGINDEFINITION';
     98    if (!sameSection)
    9599    {
    96100      html += first10;
     
    125129    }
    126130   
    127     var line = '<tr class="sameitemtype highlight">';
     131    var line = '<tr class="sameitemtype highlight '+check.itemType+'">';
    128132    lastItemType = check.itemType;
    129133    var name = check.name;
     
    266270}
    267271
     272.report .sameitemtype.PLUGINCONFIGURATION > td:first-child
     273{
     274  padding-left: 2.5em;
     275  font-style: italic;
     276}
     277
    268278.report td
    269279{
Note: See TracChangeset for help on using the changeset viewer.