All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.scripts.components.util.search.directive.js Maven / Gradle / Ivy

Go to download

Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2 (centraldogma-server)

There is a newer version: 0.70.0
Show newest version
'use strict';

angular.module('CentralDogmaAdmin')
    .directive('search',
               function () {
                 return {
                   template: '
' + '
' + '
' + '' + '
', restrict: 'E', scope: { project: '=', repository: '=', revision: '=', term: '=' }, controller: function ($scope, $state) { $scope.keyUp = function (event) { if (event.keyCode === 13) { // return $scope.search(); } }; $scope.search = function () { $state.go('repositorySearch', { projectName: $scope.project, repositoryName: $scope.repository, revision: $scope.revision, term: $scope.term }); }; } }; });




© 2015 - 2024 Weber Informatics LLC | Privacy Policy