Changeset 609


Ignore:
Timestamp:
08/17/14 04:41:56 (5 years ago)
Author:
jls17
Message:
  • improved the layout of the filter control on the schemas workflow tab if there is not enough space for all checkboxes to fit into a single line
Location:
branches/work_311
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/work_311/doc/DocMain.cpp

    r555 r609  
    17551755        stringstream content; 
    17561756        content << "<div>" 
    1757                 << CreateStandardFilterControl("workflowFilter") 
    1758                 << "<span class='multiFilter' id='referenceMultiFilter'>Restrict results to: " 
    1759                 << "<input id='typeFilterActiveLink' type='checkbox' value='1'/><label for='typeFilterActiveLink'>&nbsp;ActiveLink</label>" 
    1760                 << "<input id='typeFilterFilter' type='checkbox' value='2'/><label for='typeFilterFilter'>&nbsp;Filter</label>" 
    1761                 << "<input id='typeFilterEscalation' type='checkbox' value='3'/><label for='typeFilterEscalation'>&nbsp;Escalation</label>" 
    1762                 << "<input id='typeFilterALGuide' type='checkbox' value='4'/><label for='typeFilterALGuide'>&nbsp;ActiveLinkGuide</label>" 
    1763                 << "<input id='typeFilterFilterGuide' type='checkbox' value='5'/><label for='typeFilterFilterGuide'>&nbsp;FilterGuide</label>" 
    1764                 << "<input id='typeFilterApplication' type='checkbox' value='6'/><label for='typeFilterApplication'>&nbsp;Application</label>" 
    1765                 << "<input id='typeFilterPackList' type='checkbox' value='7'/><label for='typeFilterPackList'>&nbsp;PackingList</label>" 
    1766                 << "<input id='typeFilterWebservice' type='checkbox' value='8'/><label for='typeFilterWebservice'>&nbsp;Webservice</label>" 
    1767                 << " <button id='typeFilterNone'>Clear All</button>" 
    1768                 << "</span>" 
     1757                << "<div id='search'>" << CreateStandardFilterControl("workflowFilter") << "</div>" 
     1758                << "<div class='restrictions'>" 
     1759                        << "<div id='clearButton'><button id='typeFilterNone'>Clear All</button>" << "</div>" 
     1760                        << "<div id='referenceMultiFilter'>" 
     1761                                << "<div class='left'>Restrict results to: " << "</div>" 
     1762                                << "<div class='filterOpts'>" 
     1763                                        << "<div class='checkbox'><input id='typeFilterActiveLink' type='checkbox' value='1'/><label for='typeFilterActiveLink'>&nbsp;ActiveLink</label>" << "</div>" 
     1764                                        << "<div class='checkbox'><input id='typeFilterFilter' type='checkbox' value='2'/><label for='typeFilterFilter'>&nbsp;Filter</label>" << "</div>" 
     1765                                        << "<div class='checkbox'><input id='typeFilterEscalation' type='checkbox' value='3'/><label for='typeFilterEscalation'>&nbsp;Escalation</label>" << "</div>" 
     1766                                        << "<div class='checkbox'><input id='typeFilterALGuide' type='checkbox' value='4'/><label for='typeFilterALGuide'>&nbsp;ActiveLinkGuide</label>" << "</div>" 
     1767                                        << "<div class='checkbox'><input id='typeFilterFilterGuide' type='checkbox' value='5'/><label for='typeFilterFilterGuide'>&nbsp;FilterGuide</label>" << "</div>" 
     1768                                        << "<div class='checkbox'><input id='typeFilterApplication' type='checkbox' value='6'/><label for='typeFilterApplication'>&nbsp;Application</label>" << "</div>" 
     1769                                        << "<div class='checkbox'><input id='typeFilterPackList' type='checkbox' value='7'/><label for='typeFilterPackList'>&nbsp;PackingList</label>" << "</div>" 
     1770                                        << "<div class='checkbox'><input id='typeFilterWebservice' type='checkbox' value='8'/><label for='typeFilterWebservice'>&nbsp;Webservice</label>" << "</div>" 
     1771                                << "</div>" 
     1772                        << "</div>" 
     1773                << "</div>" 
    17691774        << "</div>"; 
    17701775        return content.str(); 
  • branches/work_311/res/style.css

    r510 r609  
    442442        background-color: #efefef; 
    443443} 
     444 
     445#search { line-height: 22px; float: left; } 
     446.left { float: left; } 
     447#filter { margin-right: 90px;} 
     448.filterOpts { margin-left: 110px; min-width: 130px; margin-right: 75px; } 
     449.checkbox { float: left; width: 130px; } 
     450.restrictions { padding: 1px; margin-left: 190px; border: 1px solid silver; overflow:auto; } 
     451#clearButton { float: right; } 
Note: See TracChangeset for help on using the changeset viewer.