mirror of https://github.com/apache/nifi.git
NIFI-182:
- Making the documentation in the help section for cohesive.
This commit is contained in:
parent
fa80827de9
commit
d3f082e25c
|
@ -101,6 +101,18 @@ a:hover {
|
|||
display: block;
|
||||
margin-bottom: 12px;
|
||||
padding: 5px 8px;
|
||||
font-family: "Open Sans","DejaVu Sans",sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
ul.navigation li, ul.xbreadcrumbs li {
|
||||
font-family: "Open Sans","DejaVu Sans",sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
ul li {
|
||||
font-family: 'Noto Serif', 'DejaVu Serif', serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
|
@ -144,6 +156,11 @@ code {
|
|||
white-space: pre;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
font-weight: normal;
|
||||
color: #ba3925;
|
||||
}
|
||||
|
||||
/* footer */
|
||||
|
||||
#footer {
|
||||
|
@ -153,7 +170,7 @@ code {
|
|||
/* width */
|
||||
|
||||
.span-18 {
|
||||
width: 916px !important;
|
||||
width: 921px !important;
|
||||
}
|
||||
|
||||
.span-20 {
|
||||
|
|
|
@ -39,11 +39,12 @@
|
|||
</div>
|
||||
<div id="component-listing" class="component-listing">
|
||||
<div class="section">
|
||||
<div class="header">Documents</div>
|
||||
<div class="component-links">
|
||||
<div class="header">Guides</div>
|
||||
<div id="guide-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>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section">
|
||||
|
@ -102,10 +103,11 @@
|
|||
</div>
|
||||
<div class="section">
|
||||
<div class="header">Developer</div>
|
||||
<div class="component-links">
|
||||
<div id="developer-links" class="component-links">
|
||||
<ul>
|
||||
<li class="component-item"><a class="component-link rest-api" href="rest-api/index.html" target="component-usage">Rest Api</a></li>
|
||||
</ul>
|
||||
<span class="no-matching no-components hidden">No matching developer guides</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -18,14 +18,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Component documentation not found</title>
|
||||
<title>NiFi</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
|
||||
<link rel="shortcut icon" href="../nifi/images/nifi16.ico"/>
|
||||
<link href="css/main.css" rel="stylesheet" type="text/css" />
|
||||
<link href="css/component-usage.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../css/component-usage.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body style="padding: 4px;">
|
||||
<div>No usage documentation found.</div>
|
||||
<body>
|
||||
<h2>Yikes!</h2>
|
||||
<p>Unable to locate the documentation for the selected item.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -65,6 +65,7 @@ tr th {
|
|||
text-align:left;
|
||||
padding: 4px;
|
||||
border-width: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* links */
|
||||
|
|
|
@ -95,12 +95,14 @@ $(document).ready(function () {
|
|||
};
|
||||
|
||||
var applyFilter = function () {
|
||||
var matchingGuides = applyComponentFilter($('#guide-links'));
|
||||
var matchingProcessors = applyComponentFilter($('#processor-links'));
|
||||
var matchingControllerServices = applyComponentFilter($('#controller-service-links'));
|
||||
var matchingReportingTasks = applyComponentFilter($('#reporting-task-links'));
|
||||
var matchingDev = applyComponentFilter($('#developer-links'));
|
||||
|
||||
// update the rule count
|
||||
$('#displayed-components').text(matchingProcessors + matchingControllerServices + matchingReportingTasks);
|
||||
$('#displayed-components').text(matchingGuides + matchingProcessors + matchingControllerServices + matchingReportingTasks + matchingDev);
|
||||
};
|
||||
|
||||
var selectComponent = function (componentName) {
|
||||
|
|
Loading…
Reference in New Issue