Repository: qpid-dispatch Updated Branches: refs/heads/master ac02ceb0a -> 04cff4f04
DISPATCH-576 Controller for display logs dialog box Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/04cff4f0 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/04cff4f0 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/04cff4f0 Branch: refs/heads/master Commit: 04cff4f042bfc4973a26baf8e4d25a1cf683db60 Parents: ac02ceb Author: Ernest Allen <eal...@redhat.com> Authored: Fri Dec 2 10:51:38 2016 -0500 Committer: Ernest Allen <eal...@redhat.com> Committed: Fri Dec 2 10:51:38 2016 -0500 ---------------------------------------------------------------------- .../plugin/js/qdrOverviewLogsController.js | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/04cff4f0/console/stand-alone/plugin/js/qdrOverviewLogsController.js ---------------------------------------------------------------------- diff --git a/console/stand-alone/plugin/js/qdrOverviewLogsController.js b/console/stand-alone/plugin/js/qdrOverviewLogsController.js new file mode 100644 index 0000000..bc93c22 --- /dev/null +++ b/console/stand-alone/plugin/js/qdrOverviewLogsController.js @@ -0,0 +1,37 @@ +/* +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +*/ +/** + * @module QDR + */ +var QDR = (function(QDR) { + + QDR.module.controller('QDR.OverviewLogsController', function ($scope, dialog, logs, nodeName, module, level) { + + $scope.module = module + $scope.level = level + $scope.nodeName = nodeName + $scope.logFields = logs + $scope.ok = function () { + dialog.close(true); + }; + + }); + return QDR; + +} (QDR || {})); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org