Repository: flink Updated Branches: refs/heads/master f74bb74fb -> 3642c5a60
http://git-wip-us.apache.org/repos/asf/flink/blob/3642c5a6/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.metrics.html ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.metrics.html b/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.metrics.html index daaf7c4..e3af4ec 100644 --- a/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.metrics.html +++ b/flink-runtime-web/web-dashboard/web/partials/jobs/job.plan.node-list.metrics.html @@ -27,7 +27,11 @@ limitations under the License. <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right metric-menu"> - <li ng-repeat="metric in availableMetrics track by $index"><a ng-click="addMetric(metric)">{{ metric.id | limit }}</a></li> + <section class="search"> + <label for="search-input"><i aria-hidden="true" class="fa fa-search"><span class="sr-only">Search icons</span></i></label> + <input type="text" ng-model="metricsFilterQuery" placeholder="Search available metrics..." class="metrics-filter"/> + </section> + <li ng-repeat="metric in availableMetrics | searchMetrics:metricsFilterQuery track by $index"><a ng-click="addMetric(metric)">{{ metric.id | limit }}</a></li> </ul> </div> <div ng-if="!availableMetrics.length" class="dropdown add-metrics">
