NIFI-182:

- Updating headers.
- Fixing filtering logic.
This commit is contained in:
Matt Gilman 2014-12-22 14:56:11 -05:00
parent f180d5d2f1
commit 022ba888bb
2 changed files with 6 additions and 6 deletions

View File

@ -39,12 +39,12 @@
</div>
<div id="component-listing" class="component-listing">
<div class="section">
<div class="header">Guides</div>
<div id="guide-links" class="component-links">
<div class="header">General</div>
<div id="general-links" class="component-links">
<ul>
<li class="component-item"><a class="component-link user-guide" href="user-guide/nifi-user-guide.html" target="component-usage">User Guide</a></li>
</ul>
<span class="no-matching no-components hidden">No matching user guides</span>
<span class="no-matching no-components hidden">No matching guides</span>
</div>
</div>
<div class="section">

View File

@ -95,14 +95,14 @@ $(document).ready(function () {
};
var applyFilter = function () {
var matchingGuides = applyComponentFilter($('#guide-links'));
var matchingGeneral = applyComponentFilter($('#general-links'));
var matchingProcessors = applyComponentFilter($('#processor-links'));
var matchingControllerServices = applyComponentFilter($('#controller-service-links'));
var matchingReportingTasks = applyComponentFilter($('#reporting-task-links'));
var matchingDev = applyComponentFilter($('#developer-links'));
var matchingDeveloper = applyComponentFilter($('#developer-links'));
// update the rule count
$('#displayed-components').text(matchingGuides + matchingProcessors + matchingControllerServices + matchingReportingTasks + matchingDev);
$('#displayed-components').text(matchingGeneral + matchingProcessors + matchingControllerServices + matchingReportingTasks + matchingDeveloper);
};
var selectComponent = function (componentName) {