Commit Graph

83 Commits

Author SHA1 Message Date
Min RK
3acf8dd5b9 allow adding unsorted columns to admin via template blocks 2015-01-31 16:57:58 -08:00
Min RK
056cd0c246 show dialog when ajax requests fail 2015-01-31 16:57:57 -08:00
Min RK
98daa5409d don't reload page on server start/stop 2015-01-31 16:57:57 -08:00
Min RK
b99cb61a32 add user, running count to admin page 2015-01-31 16:57:57 -08:00
Min RK
425c870f47 allow sorting admin columns 2015-01-31 16:49:56 -08:00
Min RK
7c7aacef68 move add-user to top 2015-01-31 16:49:08 -08:00
Min RK
f2b818e685 Merge pull request #132 from minrk/admin-access
add JupyterHub.admin_access
2015-01-31 16:48:32 -08:00
Min RK
7753428dd7 cache control on static files
same principle as used in IPython,
slightly different implementation.
2015-01-28 14:21:43 -08:00
Min RK
6b9f73ba1f add JupyterHub.admin_access
optionally allow admin users to login to user servers by visiting a special admin-only URL that sets the relevant cookie

- disabled by default
- an 'access server' button is added to the admin panel, which sets the necessary cookie to log in to the user server
2015-01-27 17:04:30 -08:00
Min RK
d125abbffe move static files to share/jupyter/hub
avoids conflict with other jupyter projects
2014-12-23 20:31:59 -08:00
Min RK
53880f52b8 allow high latency spawners
such as VMs, batch and cloud services, etc. which can take minutes to start.

- Spawner.start_timeout sets a limit for true failure,
  at which point spawner should be considered dead.
- Handler.spawn_single_user only waits up to 10 seconds
  before returning. It can now return with a spawner still pending.
- Record User.spawn_pending state, and render 'pending' page
  while server is starting but not started.
2014-12-22 13:27:23 -08:00
Min RK
5dfe378c56 remove incorrect link to favicon
the favicon is already in the correct default location
2014-12-17 11:01:21 -08:00
Min RK
73d6cd1888 add favicon
designed by Adrienne Wantulok
2014-11-24 16:49:19 -08:00
Min RK
1c8b1c0cd3 add proper jupyterhub logo 2014-11-18 11:14:16 -08:00
Min RK
65b7ce289e Merge pull request #78 from dsblank/patch-2
Same typo
2014-10-25 12:31:19 -07:00
Doug Blank
e2170ee922 Same typo
Should be a closing div tag.
2014-10-25 08:19:16 -04:00
Doug Blank
481f934eff Typo on div tag
I believe that this div should be a ending div tag.
2014-10-25 08:16:18 -04:00
MinRK
878535cfc4 use login_url on logout page 2014-09-24 10:47:44 -07:00
MinRK
0577e10276 more hooks for authenticators
Allow authenticators to:

- register custom handlers
- change login and logout URLs
- replace the entire login form

This appears to be enough to get oauth working.
2014-09-22 22:17:00 -07:00
MinRK
bb9ca0e040 store last_activity in the database
fetch it periodically (10 minutes) from the proxy
and display it on the admin page
2014-09-22 17:25:10 -07:00
MinRK
1f3fe9c84d simplify temporary login css 2014-09-22 12:19:04 -07:00
Matthias Bussonnier
e3946831d9 improve login page styling
fixup css
2014-09-22 08:17:58 +02:00
MinRK
c8832008e8 don't render delete-user button for self 2014-09-15 01:54:55 -07:00
MinRK
48eeee0946 add admin.js 2014-09-15 01:45:12 -07:00
MinRK
eef2aff22f simplify dialog HTML with template macros 2014-09-15 01:44:32 -07:00
MinRK
7f23c132f0 expand admin HTML page
can add/delete users, and start/stop user servers
2014-09-15 01:21:49 -07:00
MinRK
c93f17c324 add basic home, admin pages
- index no longer requires login, it's just a big fat login button
- home has stop, start, admin buttons
- admin doesn't do anything yet
- add jhapi javascript client for REST API
2014-09-14 16:47:10 -07:00
MinRK
5cba7c50b2 update base page template
- no body params, just write jhapi globals instead
- baseUrl is static/js
2014-09-14 16:47:09 -07:00
MinRK
236612a0aa use official (monochrome) jupyter logo 2014-09-12 12:09:46 -07:00
MinRK
714770d499 reorg handlers a bit
make room for API handlers
2014-09-12 12:09:26 -07:00
MinRK
a7116b32e2 fix login template
was leaving an empty page
2014-09-10 12:37:09 -07:00
MinRK
7f93ea2325 add some basic HTML pages
and LESS

closes #6
2014-09-09 15:20:21 -07:00
MinRK
ca2c6977fb move templates to share 2014-09-04 14:43:33 -07:00