move static files to share/jupyter/hub

avoids conflict with other jupyter projects
This commit is contained in:
Min RK
2014-12-22 15:08:18 -08:00
parent 6d95bf1893
commit d125abbffe
27 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,19 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
require(["jquery", "jhapi"], function ($, JHAPI) {
"use strict";
var base_url = window.jhdata.base_url;
var user = window.jhdata.user;
var api = new JHAPI(base_url);
$("#stop").click(function () {
api.stop_server(user, {
success: function () {
$("#stop").hide();
}
});
});
});