Changes between Version 30 and Version 31 of Software/Jupyter


Ignore:
Timestamp:
10/15/17 21:41:54 (7 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/Jupyter

    v30 v31  
    9595  * provides "block main" and "block script" required by [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/templates/page.html page.html]
    9696  * distinguages between "user.running" and "not user.running"
    97   * uses button class btn-danger and btn-success from [http://getbootstrap.com/docs/4.0/components/buttons/ bootstrap buttons]
    98   * "block script" includes !JavaScript file [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/home.js home.js]
    99     * implements function if stop-button is clicked
     97  * uses button class btn-danger and btn-success from [http://getbootstrap.com/docs/4.0/components/buttons/ bootstrap buttons] for stop- and start-server button
     98  * stop-server button
     99    *  [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/home.js home.js] implements function if stop-button is clicked
    100100      * for communication back to the server functions from the JupyterHubAPI in [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js jhapi.js] are called
    101101        * jhapi.js uses [https://jquery.com/ jquery.js] for ajax-functionality (send/recive commands between client/server)
    102           * values are send back to client with an an asynchronous HTTP (Ajax) request using jquery.ajax() [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L43 here] \\ => this triggers a handler of the tornado web server (eg. [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L46 start_server] sends command "POST" to url users/<username>/server, which triggers function [https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/apihandlers/users.py#L184 UserServerAPIHandler::post])
     102          * values are send back to client with an an asynchronous HTTP (Ajax) request using jquery.ajax() [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L43 here] \\ => this triggers a handler of the tornado web server (eg. [https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/static/js/jhapi.js#L46 stop_server] sends command "STOP" to url users/<username>/server, which triggers function [https://github.com/jupyterhub/jupyterhub/blob/master/jupyterhub/apihandlers/users.py#L184 UserServerAPIHandler::stop])
     103  * start-server button
    103104
    104105===== Modifications