Kibana 修改logo及汉化导航
修改此文件下E:\happy\kinbana\kibana-4.2.2-windows\kibana-4.2.2-windows\optimize\bundles的kibana.bundle.js文件
修改步骤:
1.制作Base64图片流,在线制作地址:http://tool.css-js.com/base64.html
2.修改内容如下
//var kibanaLogoUrl = __webpack_require__(828);//happy修改时间:2016-02-02 var kibanaLogoUrl = "data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSgBBwcHCggKEwoKEygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKP/AABEIAC0A/AMBEQACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/APJKACgAoAKAJorW4lERiglcSyeVGVQne/Hyj1PI49xQBqaJ4b1DVvE9voCxi01GaQx7LsNHsYAnDD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ome.getInjected('kbnDefaultAppId', 'discover') }); chrome.setBrand({ 'logo': 'url(' + kibanaLogoUrl + ') left no-repeat', 'smallLogo': 'url(' + kibanaLogoUrl + ') left no-repeat' }).setNavBackground('#222222').setTabDefaults({ resetWhenActive: true, lastUrlStore: window.sessionStore, activeIndicatorColor: '#656a76' }).setTabs([{ id: 'discover', //title: 'Discover' happy 修改时间 2016-02-02 title: '发现' }, { id: 'visualize', //title: 'Visualize', title: '可视化', activeIndicatorColor: function activeIndicatorColor() { return String(this.lastUrl).indexOf('/visualize/step/') === 0 ? 'white' : '#656a76'; } }, { id: 'dashboard', //title: 'Dashboard' title: '指示板' }, { id: 'settings', //title: 'Settings' title: '设置' }]).setRootController('kibana', function ($scope, $rootScope, courier, config) { // wait for the application to finish loading $scope.$on('application.load', function () { courier.start(); }); });