Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bluewhale

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluewhale - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

dist/js/dockerboard-app-a70064ae.js

5

History.md
0.5.0 / 2015-01-04
==================
* host ping action
0.4.0 / 2015-01-03

@@ -3,0 +8,0 @@ ==================

2

package.json
{
"name": "bluewhale",
"version": "0.4.0",
"version": "0.5.0",
"description": "Dockerboard Web Client",

@@ -5,0 +5,0 @@ "main": "dist/index.html",

@@ -6,2 +6,4 @@

[![NPM version][npm-image]][npm-url]
[![badge](http://dockeri.co/image/dockerboard/bluewhale)](https://registry.hub.docker.com/u/dockerboard/bluewhale/)

@@ -18,3 +20,3 @@

Dockerboard Restful API Prefix: `http://localhost/api/`
Dockerboard RESTful API Prefix: `http://localhost:8001/api`.

@@ -74,1 +76,4 @@ ### Prerequisites

[Angular Material]: https://material.angularjs.org/
[npm-image]: https://img.shields.io/npm/v/bluewhale.svg?style=flat-square
[npm-url]: https://npmjs.org/package/bluewhale

@@ -19,4 +19,4 @@ (function () {

HostsController.$inject = ['$scope', '$rootScope', '$mdDialog', 'Hosts'];
function HostsController($scope, $rootScope, $mdDialog, Hosts) {
HostsController.$inject = ['$scope', '$rootScope', '$mdDialog', '$mdToast', 'Hosts', 'HostActions'];
function HostsController($scope, $rootScope, $mdDialog, $mdToast, Hosts, HostActions) {
Hosts.query(function (data) {

@@ -53,2 +53,28 @@ $scope.hosts = data;

$scope.ping = function (index) {
HostActions.ping({
Id: encodeURIComponent(Hosts.getCurrentHostUrl($scope.hosts[index]))
},
function (data) {
if (data.text === 'OK') {
$mdToast.show(
$mdToast.simple()
.content('Ping OK!')
.position('top right')
.action('Close')
.hideDelay(1500)
);
}
},
function () {
$mdToast.show(
$mdToast.simple()
.content('Ping Faild!')
.position('top right')
.action('Close')
.hideDelay(1500)
);
})
};
function updateHost(host) {

@@ -55,0 +81,0 @@ var exists = false;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc