Difference between revisions of "Widget:GuidelinesList"

From LINKS Community Center
Jump to: navigation, search
Line 815: Line 815:
 
             <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" overflow="hidden" viewBox="0 0 96 96">
 
             <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" overflow="hidden" viewBox="0 0 96 96">
 
                 <defs>
 
                 <defs>
                     <clipPath id="b">
+
                     <clipPath id="tit">
 
                         <path d="M65 455h96v96H65z" />
 
                         <path d="M65 455h96v96H65z" />
 
                     </clipPath>
 
                     </clipPath>
 
                 </defs>
 
                 </defs>
                 <g clip-path="url(#b)" transform="translate(-65 -455)">
+
                 <g clip-path="url(#tit)" transform="translate(-65 -455)">
 
                     <path
 
                     <path
 
                         d="M138 463H84v79.961h54a5.014 5.014 0 0 0 5.019-5V468a5.014 5.014 0 0 0-5.019-5Zm-52 2h6.261v75.961H86Zm55.019 72.963a3.012 3.012 0 0 1-3.019 3H94.261V465H138a3.013 3.013 0 0 1 3.019 3Z" />
 
                         d="M138 463H84v79.961h54a5.014 5.014 0 0 0 5.019-5V468a5.014 5.014 0 0 0-5.019-5Zm-52 2h6.261v75.961H86Zm55.019 72.963a3.012 3.012 0 0 1-3.019 3H94.261V465H138a3.013 3.013 0 0 1 3.019 3Z" />
Line 844: Line 844:
 
             </ul>
 
             </ul>
 
         </div>
 
         </div>
     </div>
+
      
 
+
   
    <!-- FILTERS -->
+
        <!-- FILTERS -->
 
+
        <div id="filter-bar">
    <div id="filter-bar">
+
            <div style="display: flex; justify-content: space-between;">
        <div style="display: flex; justify-content: space-between;">
+
                <div style="flex: 1 1;">
            <div style="flex: 1 1;">
+
                    <h2 style="margin-bottom: 1rem;">Applied Filters</h2>
                <h2 style="margin-bottom: 1rem;">Applied Filters</h2>
+
                    <div id="filter-summary">No filter. Showing all results.</div>
                <div id="filter-summary">No filter. Showing all results.</div>
+
                </div>
 +
                <div style="flex: 0 0;">
 +
                    <button class="large-button" type="button" onclick="toggleFilter()">Filters</button>
 +
                </div>
 
             </div>
 
             </div>
             <div style="flex: 0 0;">
+
             <h2 style="margin-top: 2.5rem; margin-bottom: 0;">Results: <span id="result-count"></span></h2>
                <button class="large-button" type="button" onclick="toggleFilter()">Filters</button>
+
   
            </div>
+
            <div id="gl-filters">
        </div>
+
                <h2 style="display: flex; justify-content: space-between;">
        <h2 style="margin-top: 2.5rem; margin-bottom: 0;">Results: <span id="result-count"></span></h2>
+
                    <div>
 
+
                        <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" overflow="hidden" viewBox="0 0 96 96">
        <div id="gl-filters">
+
                            <defs>
            <h2 style="display: flex; justify-content: space-between;">
+
                                <clipPath id="b">
                <div>
+
                                    <path d="M592 312h96v96h-96z" />
                    <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" overflow="hidden" viewBox="0 0 96 96">
+
                                </clipPath>
                        <defs>
+
                            </defs>
                            <clipPath id="b">
+
                            <g clip-path="url(#b)" transform="translate(-592 -312)">
                                <path d="M592 312h96v96h-96z" />
+
                                <path
                            </clipPath>
+
                                    d="M636 356.012v38.011l8-8v-30.011L674 326h-68Zm6.588-1.412-.588.584v30.008l-4 4v-34.008l-.585-.586L610.828 328h58.348Z" />
                        </defs>
+
                            </g>
                        <g clip-path="url(#b)" transform="translate(-592 -312)">
+
                        </svg>
                            <path
+
                        <span>Filters</span>
                                d="M636 356.012v38.011l8-8v-30.011L674 326h-68Zm6.588-1.412-.588.584v30.008l-4 4v-34.008l-.585-.586L610.828 328h58.348Z" />
+
                    </div>
                        </g>
+
                    <a onclick="toggleFilter()" id="close-filter-button">&times;</a>
                    </svg>
+
                </h2>
                    <span>Filters</span>
+
                <div style="text-align: center;">
 +
                    <button class="large-button" type="button" onclick="clearFilters()">Clear Filters</button>
 
                 </div>
 
                 </div>
                 <a onclick="toggleFilter()" id="close-filter-button">&times;</a>
+
                 <div class="filter-wrapper">
            </h2>
+
                    <h4>Covers Thematic <span class="filter-toggle"><svg>
            <div style="text-align: center;">
+
                                <use href="#chevron-down" />
                <button class="large-button" type="button" onclick="clearFilters()">Clear Filters</button>
+
                            </svg></span></h4>
            </div>
+
                    <div class="filter-container">
            <div class="filter-wrapper">
+
                        <div class="filter-button-wrapper">
                <h4>Covers Thematic <span class="filter-toggle"><svg>
+
                            <button type="button" onclick="selectAll('#thematic-filter')">Select all</button> |
                            <use href="#chevron-down" />
+
                            <button type="button" onclick="deselectAll('#thematic-filter')">Clear all</button>
                        </svg></span></h4>
+
                        </div>
                <div class="filter-container">
+
                        <div class="filter-content" id="thematic-filter"></div>
                    <div class="filter-button-wrapper">
 
                        <button type="button" onclick="selectAll('#thematic-filter')">Select all</button> |
 
                        <button type="button" onclick="deselectAll('#thematic-filter')">Clear all</button>
 
 
                     </div>
 
                     </div>
                    <div class="filter-content" id="thematic-filter"></div>
 
 
                 </div>
 
                 </div>
            </div>
+
                <div class="filter-wrapper">
            <div class="filter-wrapper">
+
                    <h4>Language<span class="filter-toggle"><svg>
                <h4>Language<span class="filter-toggle"><svg>
+
                                <use href="#chevron-down" />
                            <use href="#chevron-down" />
+
                            </svg></span></h4>
                        </svg></span></h4>
+
                    <div class="filter-container">
                <div class="filter-container">
+
                        <div class="filter-button-wrapper">
                    <div class="filter-button-wrapper">
+
                            <button type="button" onclick="selectAll('#language-filter')">Select all</button> |
                        <button type="button" onclick="selectAll('#language-filter')">Select all</button> |
+
                            <button type="button" onclick="deselectAll('#language-filter')">Clear all</button>
                        <button type="button" onclick="deselectAll('#language-filter')">Clear all</button>
+
                        </div>
 +
                        <div class="filter-content" id="language-filter"></div>
 
                     </div>
 
                     </div>
                    <div class="filter-content" id="language-filter"></div>
 
 
                 </div>
 
                 </div>
            </div>
+
                <div class="filter-wrapper">
            <div class="filter-wrapper">
+
                    <h4>Disaster Management Phase<span class="filter-toggle"><svg>
                <h4>Disaster Management Phase<span class="filter-toggle"><svg>
+
                                <use href="#chevron-down" />
                            <use href="#chevron-down" />
+
                            </svg></span></h4>
                        </svg></span></h4>
+
                    <div class="filter-container">
                <div class="filter-container">
+
                        <div class="filter-button-wrapper">
                    <div class="filter-button-wrapper">
+
                            <button type="button" onclick="selectAll('#phase-filter')">Select all</button> |
                        <button type="button" onclick="selectAll('#phase-filter')">Select all</button> |
+
                            <button type="button" onclick="deselectAll('#phase-filter')">Clear all</button>
                        <button type="button" onclick="deselectAll('#phase-filter')">Clear all</button>
+
                        </div>
 +
                        <div class="filter-content" id="phase-filter"></div>
 
                     </div>
 
                     </div>
                    <div class="filter-content" id="phase-filter"></div>
 
 
                 </div>
 
                 </div>
            </div>
+
                <div class="filter-wrapper">
            <div class="filter-wrapper">
+
                    <h4>Target Audience<span class="filter-toggle"><svg>
                <h4>Target Audience<span class="filter-toggle"><svg>
+
                                <use href="#chevron-down" />
                            <use href="#chevron-down" />
+
                            </svg></span></h4>
                        </svg></span></h4>
+
                    <div class="filter-container">
                <div class="filter-container">
+
                        <div class="filter-button-wrapper">
                    <div class="filter-button-wrapper">
+
                            <button type="button" onclick="selectAll('#target-audience-filter')">Select all</button> |
                        <button type="button" onclick="selectAll('#target-audience-filter')">Select all</button> |
+
                            <button type="button" onclick="deselectAll('#target-audience-filter')">Clear all</button>
                        <button type="button" onclick="deselectAll('#target-audience-filter')">Clear all</button>
+
                        </div>
 +
                        <div class="filter-content" id="target-audience-filter"></div>
 
                     </div>
 
                     </div>
                    <div class="filter-content" id="target-audience-filter"></div>
 
 
                 </div>
 
                 </div>
            </div>
+
                <div class="filter-wrapper">
            <div class="filter-wrapper">
+
                    <h4>Audience Experience Level<span class="filter-toggle"><svg>
                <h4>Audience Experience Level<span class="filter-toggle"><svg>
+
                                <use href="#chevron-down" />
                            <use href="#chevron-down" />
+
                            </svg></span></h4>
                        </svg></span></h4>
+
                    <div class="filter-container">
                <div class="filter-container">
+
                        <div class="filter-button-wrapper">
                    <div class="filter-button-wrapper">
+
                            <button type="button" onclick="selectAll('#audience-experience-filter')">Select all</button> |
                        <button type="button" onclick="selectAll('#audience-experience-filter')">Select all</button> |
+
                            <button type="button" onclick="deselectAll('#audience-experience-filter')">Clear all</button>
                        <button type="button" onclick="deselectAll('#audience-experience-filter')">Clear all</button>
+
                        </div>
 +
                        <div class="filter-content" id="audience-experience-filter"></div>
 
                     </div>
 
                     </div>
                    <div class="filter-content" id="audience-experience-filter"></div>
 
 
                 </div>
 
                 </div>
            </div>
+
                <div class="filter-wrapper">
            <div class="filter-wrapper">
+
                    <h4>Mentions Platforms <span class="filter-toggle"><svg>
                <h4>Mentions Platforms <span class="filter-toggle"><svg>
+
                                <use href="#chevron-down" />
                            <use href="#chevron-down" />
+
                            </svg></span></h4>
                        </svg></span></h4>
+
                    <div class="filter-container">
                <div class="filter-container">
+
                        <div class="filter-button-wrapper">
                    <div class="filter-button-wrapper">
+
                            <button type="button" onclick="selectAll('#data-source-filter')">Select all</button> |
                        <button type="button" onclick="selectAll('#data-source-filter')">Select all</button> |
+
                            <button type="button" onclick="deselectAll('#data-source-filter')">Clear all</button>
                        <button type="button" onclick="deselectAll('#data-source-filter')">Clear all</button>
+
                        </div>
 +
                        <div class="filter-content" id="data-source-filter"></div>
 
                     </div>
 
                     </div>
                    <div class="filter-content" id="data-source-filter"></div>
 
 
                 </div>
 
                 </div>
            </div>
+
                <div class="filter-wrapper">
            <div class="filter-wrapper">
+
                    <h4>Mentions Techologies <span class="filter-toggle"><svg>
                <h4>Mentions Techologies <span class="filter-toggle"><svg>
+
                                <use href="#chevron-down" />
                            <use href="#chevron-down" />
+
                            </svg></span></h4>
                        </svg></span></h4>
+
                    <div class="filter-container">
                <div class="filter-container">
+
                        <div class="filter-button-wrapper">
                    <div class="filter-button-wrapper">
+
                            <button type="button" onclick="selectAll('#tech-filter')">Select all</button> |
                        <button type="button" onclick="selectAll('#tech-filter')">Select all</button> |
+
                            <button type="button" onclick="deselectAll('#tech-filter')">Clear all</button>
                        <button type="button" onclick="deselectAll('#tech-filter')">Clear all</button>
+
                        </div>
 +
                        <div class="filter-content" id="tech-filter"></div>
 
                     </div>
 
                     </div>
                    <div class="filter-content" id="tech-filter"></div>
 
 
                 </div>
 
                 </div>
 
             </div>
 
             </div>
 
         </div>
 
         </div>
 +
   
 +
        <div id="guideline-tabulator"></div>
 
     </div>
 
     </div>
 
    <div id="guideline-tabulator"></div>
 
 
 
</includeonly>
 
</includeonly>

Revision as of 12:14, 30 November 2022

Development version of the List of Guidelines.
Not ready for production!