Commit Graph

48 Commits

Author SHA1 Message Date
Jonathan Frederic
40a923c5b6 Lots of updates to widget(s) js
Use require.js (again)
Allow IntTextView and FloatTextView to be used without min/max
2014-01-16 10:55:59 +00:00
Jonathan Frederic
990303f3eb Removed require.js scheme since it forces async event driven model,
this model does not work with the comm/widget communication model.
We need to be able to load the dependencies before we send the
show() message to the widget manager.  Otherwise a race condition
will exist where the widget manager may recieve the show message
before the dependencies have been loaded (happened almost every time).
2014-01-16 10:55:59 +00:00
Jonathan Frederic
c9d604d54e Use require.js where possible. 2014-01-16 10:55:59 +00:00
Jonathan Frederic
e3d6467809 Don't try to load widget.js automatically since it was moved
load using init_widget_js
2014-01-16 10:55:58 +00:00
Jonathan Frederic
a1f6d0fe02 Added dependencies to page.html template and added widget.js to notebook.html 2014-01-16 10:55:57 +00:00
MinRK
063bfa9688 we don't bundle lessc anymore, remove its vestiges 2014-01-13 16:17:50 -08:00
Brian E. Granger
d8db72564a Merge pull request #3605 from ellisonbg/newux
Modal UI - a whole new world of fun....its like vim, but not!
2014-01-10 16:10:25 -08:00
Thomas Kluyver
c0f346c4e3 Merge pull request #4735 from minrk/better-errors
add some HTML error pages
2014-01-09 13:03:31 -08:00
Brian E. Granger
201217d847 Renaming execute methods. 2014-01-09 12:30:06 -08:00
MinRK
5c9dfd9b58 remove unnecessary conversion of newline to br tag
relic from when I was using div, not pre
2014-01-08 15:03:28 -08:00
Brian E. Granger
caffba142e Adding keyboard manager logic.
This is currently very broken.
2014-01-07 14:42:35 -08:00
Min RK
96c1af0ce4 Merge pull request #4715 from minrk/tornado-static-url
restore use of tornado static_url in templates
2013-12-31 10:58:09 -08:00
MinRK
84df1a5e26 add error page templates 2013-12-22 17:58:15 -08:00
MinRK
15780ad055 restore use of tornado static_url
instead of jinja macro that doesn't write hashes

closes #4714
2013-12-18 14:17:35 -08:00
Thomas Kluyver
390b13a82c Add option to download as reST 2013-12-13 14:46:51 -08:00
Thomas Kluyver
a3c2f1b5f9 Add menu entries for getting converted views of a notebook 2013-12-13 14:46:51 -08:00
Matthias Bussonnier
4039e246fc Merge pull request #4306 from minrk/raw-cell-metadata
add raw_mimetype metadata to raw cells
2013-12-07 07:48:22 -08:00
damianavila
012d8b207e Added link to shorcuts in the notebook menu. 2013-11-26 16:16:48 -03:00
MinRK
d087a213b3 add raw cell toolbar preset 2013-11-20 14:50:12 -08:00
MinRK
66fe540412 rename Raw Text to Raw NBConvert in menu 2013-11-20 14:47:50 -08:00
Paul Ivanov
4ffe489e72 Merge pull request #4415 from ivanov/more-tooltips
More tooltips in the Notebook menu
2013-10-28 13:51:39 -07:00
MinRK
f8ddcffacb allow require("nbextensions/extname") to load from IPYTHONDIR/nbextensions 2013-10-24 15:32:28 -07:00
MinRK
5c83cd3e52 move comm.js to kernel service 2013-10-22 19:44:44 -07:00
MinRK
99680e21bd move comm.js to base 2013-10-22 19:43:56 -07:00
MinRK
3665cc241f rename widget to comm 2013-10-22 19:40:34 -07:00
MinRK
6643cffa23 add javascript-side widgets 2013-10-22 19:40:32 -07:00
Paul Ivanov
8fb1d7391c added some tooltips for the File menu 2013-10-21 23:42:03 -07:00
Paul Ivanov
474bd780ce tooltips for View and Insert menus 2013-10-21 23:36:44 -07:00
Paul Ivanov
0f9a478abd Kernel and Help menu tooltips 2013-10-21 23:31:27 -07:00
Paul Ivanov
69d06c02d7 add more tooltips for Cell menu 2013-10-21 23:24:48 -07:00
Paul Ivanov
bd22e4ae90 added descriptions which were deleted from JS 2013-10-21 22:40:48 -07:00
MinRK
4a12890d65 disable download-as-pt
since it doesn't work. Adds a note about nbconvert needed to bring it back.
2013-10-17 14:09:19 -07:00
MinRK
e16a5807c7 fixup bad rebase 2013-10-17 14:09:18 -07:00
MinRK
141d088a51 logo link to current tree level
rather than top level
2013-10-17 14:09:13 -07:00
MinRK
dd93a2211a add utils.js to tree template 2013-10-17 14:09:13 -07:00
MinRK
c79dcc8e73 quote data attributes
prevents errors when these are empty strings
2013-10-17 14:09:13 -07:00
MinRK
14fd50f80b Simplify Tree handlers
- 404 on missing path
- only need one handler for each of redirect and dashboard,
  don't need duplicates.
- project property on Handlers is unclear
2013-10-17 14:09:12 -07:00
Zachary Sailer
d16fe2f826 manual rebase html notebook templates 2013-10-17 14:07:50 -07:00
MinRK
4a04553acd add Edit Notebook Metadata to Edit menu 2013-10-06 12:33:35 -07:00
Paul Ivanov
2778e98945 DOC: fix links to matplotlib, notebook docs
I've added a link to pandas, made all matplotlib links point to
matplotlib.org, and fixed a link in the notebook help menu to point to
our new notebook.html, now that htmlnotebook.html is a redirect.

Whoever ends up merging this PR should backport it to 1.x.
2013-08-13 20:56:19 -07:00
MinRK
a186b25626 explicitly load python mode before IPython mode
ensures IPython mode gets defined at startup,
which can sometimes fail because the Python mode was loaded dynamically.

closes #3636
2013-08-05 13:51:23 -07:00
MinRK
03883d82e4 remove bad if logged_in preventing new-notebook without login 2013-07-25 12:07:40 -07:00
MinRK
f9dd129e1c remove notebook read-only view
it is largely broken, and had problematic security issues.
2013-07-23 13:22:05 -07:00
MinRK
127a0669ff enable comment/uncomment selection
with `(cmd|ctrl)-/`

closes #1540
2013-07-17 14:27:07 -07:00
MinRK
409a1bb6e1 remove boilerplate.css
it is redundant with bootstrap reset
2013-07-13 14:44:55 -07:00
Matthias BUSSONNIER
2272edf715 correct static path for CM modes autoload
this shoudl also allow to require CM python mode for ipython mode and
only pass a config options.
2013-07-07 18:56:07 +02:00
MinRK
d12a9b19c9 use bootstrap disabled instead of ui-state-disabled
in menubar
2013-07-02 10:42:12 -07:00
MinRK
cf726d6a40 mv IPython.html.notebook -> IPython.html 2013-06-27 11:14:10 -07:00