Fernando Perez
8d739fb5a2
Fix CSS so word wrapping stays within output box.
15 years ago
Fernando Perez
a852c75dd7
Word-wrap output correctly in the notebook; prevents excessive scrolling.
...
Firefox seems to not honor it correctly, but Webkit browsers (Chrome,
rekonq, Safari) do.
15 years ago
MinRK
487d110557
use jQuery dialog instead of alert()
15 years ago
MinRK
b73d616279
alert client on failed and lost web socket connections
...
A long message is given if the connection fails within 1s. Otherwise, it is a short 'connection closed unexpectedly'.
This also means that clients are notified on server termination.
15 years ago
MinRK
f2972ad5c4
add 'running' class to running code cells
...
Will allow special styling of code cells that are running via
`div.code_cell.running` in css. Currently, no change is made.
15 years ago
MinRK
0e4afee63b
set 'In [*]' to indicate pending code cell
15 years ago
Fernando Perez
83ddbf5987
Merge pull request #931 from minrk/readonly
...
The notebook now supports a `--read-only` flag, which allows users to view all notebooks being served but not to edit them or execute any code. These actions are not allowed and the buttons, shortcuts, etc. are removed, but the requests will raise authentication errors if they manage to send the events anyway. Save/print functions remain available.
This flag can be used in two modes:
1. When running an unauthenticated server, one can run a *second* read-only server in the same directory on a public IP address. This will let users connect to the read-only view without having to worry about configuring passwords and certificates for the execution server.
2. When running a server configured with authentication (and hopefully an SSL certificate), starting it with `--read-only` allows unauthenticated users read-only access to notebooks. This means that the same server on a single port can be both used by authenticated users for execution and by the public for viewing the available notebooks.
15 years ago
MinRK
65a6cb3b1c
move read_only flag to page-level
...
contents of LPanel are not drawn until after collapse
read_only is in a <meta> tag
15 years ago
MinRK
a18ddb9ec4
add missing loginwidget.js
15 years ago
MinRK
a6de5947de
add read-only view for notebooks
...
When using a password, read-only mode allows unauthenticated users
read-only access to notebooks. Editing, execution, etc. are not
allowed in read-only mode, but save/print functions are available.
No kernels are started until an authenticated user opens a notebook.
15 years ago
Brian Granger
a6c9123018
Adding space between paragraphs in rendered html in the notebook.
15 years ago
MinRK
76650e316d
Restore kernel status to header
15 years ago
Fernando Perez
38af53d027
Merge pull request #899 from minrk/nbwork
...
Internal notebook refactoring and cleanup, plus fixing a bug that prevented Tornado from authenticating users with password.
15 years ago
MinRK
9be2911296
style Sign In button with jQuery
15 years ago
MinRK
6c5f69e97a
Moving status widget to Kernel section of L panel.
15 years ago
Brian E. Granger
d26a7e5fcc
Removed save widget delay.
15 years ago
Brian E. Granger
05729f7c0c
Further cleanup and renaming of notebook.
15 years ago
Brian E. Granger
2318fe4ef5
Renaming things in the notebook.
...
* nbbrowser -> projectdashboard.
* Getting rid of underscores on .js filenames.
15 years ago
Brian E. Granger
ae37e2fe2c
Simplifying logic on login page.
15 years ago
Brian E. Granger
1f699c8c23
Further work updating JS URL scheme to use data-base-project-url.
15 years ago
Brian E. Granger
cc3516be01
Updating notebook list to use data-base-project-url.
15 years ago
Brian E. Granger
1f06a280ca
Updating JS URL scheme to use embedded data.
...
All ajax requests from JS now use the data-base-project-url
and data-base-kernel-url data attributes set on the body.
15 years ago
Brian E. Granger
c900979a80
Misc changes to the notebook.
...
* IPythonNotebookApp->NotebookApp.
* Cleaned up html templates of unused stylesheets.
15 years ago
Brian E. Granger
66d5c9f8a6
Adding base_project_url and base_kernel_url as HTML data attribs.
...
* Also saving the notebook_id using that as well.
15 years ago
Fernando Perez
986f2e7223
Merge pull request #893 from minrk/clearoutput
...
Adding clear_output to kernel and HTML notebook.
This enables the clearing of output during the execution of a cell. It can be used for simple forms of animation in the notebook.
15 years ago
MinRK
033c9d9848
Add tooltips to the notebook via 'title' attr.
...
All buttons, show/hide clickable areas, etc. should have some tooltip describing
what they do. There are jQuery plugins for enhanced tooltips, but this gets
the lightest version working.
closes #436
15 years ago
MinRK
24d37b6bcc
add channel-selection to clear_output
...
example notebook updated accordingly
15 years ago
Brian Granger
10deb3b744
Adding clear_output to kernel and HTML notebook.
15 years ago
Fernando Perez
9fa9f0b15f
Merge pull request #884 from fperez/nb-usability
...
Various Notebook usability fixes:
- add kernel restart dialog confirmation (it destroys the user session)
- add missing keybindings
- change language from 'terminal mode' to 'in-place execution' which is more descriptive
- adjust spacing/padding and colors slightly for readability and better use of space in small screens.
- add line numbering toggle to code cells. Triggered with C-m-l.
- show keybindings in monospaced font.
- add QuickHelp button that is always visible and at the top.
- add missing keybindings for kernel interrupt/restart from the kbd.
15 years ago
Fernando Perez
55223d0414
Adjust title area sizes to improve alignment.
15 years ago
MinRK
8d139492ce
show_keyboard_shortcuts -> toggle_keyboard_shortcuts
...
Now multiple calls no longer show multiple instances of the shortcut dialog. Rather, clicking the quick help, or invoking `C-m h` will hide
the dialog if shown.
15 years ago
MinRK
53d10a61ab
fix quickhelp widget
...
Move header.js -> quickhelp.js, as it not longer acts on whole header.
15 years ago
Fernando Perez
b06d0f03c6
Adjust cell background and number color after review with @minrk.
15 years ago
Fernando Perez
77c62893bc
Keep kernel-related bindings together in code.
15 years ago
Fernando Perez
1a109765b8
Clean up accidentally introduced hard tabs in JS code.
15 years ago
Fernando Perez
83790b7e29
Fix text cell color, was too light to be seen on certain monitors/browsers.
15 years ago
Fernando Perez
e9d744f06c
Add quick help button: broken ATM, style and binding aren't working.
...
Help needed here, will discuss during pull request before merging.
15 years ago
Fernando Perez
6d0715988f
Change button labels in restart dialog to action words.
15 years ago
Fernando Perez
e852a86669
Add confirmation dialog to kernel restart action.
15 years ago
Fernando Perez
e41ba5a75c
Refactor line num. toggle into proper function, access via C-m-l.
...
This makes the keybinding consistent with the rest, updated help dialog.
15 years ago
Fernando Perez
8fb9f71e42
Use monospaced font for keybinding display.
15 years ago
Fernando Perez
e8326241eb
Add C-m-{'i', '.'} as keybindings for kernel interrupt/restart.
15 years ago
Fernando Perez
3db974a4f4
Padding adjustments to better use vertical and horizontal whitespace.
...
Verified that all prompts align correctly on linux/chrome + ffox, and
that input prompts up to 4 digits long still fit.
15 years ago
Fernando Perez
e00e604144
Add Ctrl-L as a way to toggle line-numbers for any individual code cell
15 years ago
Felix Werner
a4bec7e65d
Fixed testing of new notebook name before saving.
15 years ago
Felix Werner
f5b52442aa
Notify the user of errors when saving a notebook.
15 years ago
Felix Werner
a89d947322
Update document title and last_saved_name only after a successful save.
15 years ago
Fernando Perez
13377a2d23
Merge branch 'carreau-mathjax-warning'
...
Warn user if MathJax can't be fetched from notebook
Closes #744 .
15 years ago
Fernando Perez
87462b4259
Minor fixes to text and formatting of error message.
15 years ago
Fernando Perez
df43150509
Merge pull request #850 from fperez/codemirror
...
Update codemirror to 2.15 and make the code internally more version-agnostic.
Added our own README file with information about what changes we carry to upstream CodeMirror and what version we currently use.
15 years ago
Fernando Perez
00af93da43
IPython-specific changes to CodeMirror: recognize '?' in Python mode.
15 years ago
MinRK
52592d47b1
fix missing trailing comma in kernel.js
15 years ago
MinRK
4eb4926812
use ROUTER/DEALER sockets for stdin
...
stdin requests are now directed to the frontend that made the execution
request that called raw_input.
allow_stdin flag added to execution_request to indicate whether stdin_requests are allowed.
StdInNotImplementedError exception class added to IPython.core.error, and is raised if raw_input is called from execute requests where allow_input is undefined.
closes gh-673
15 years ago
Fernando Perez
9cca38f452
Do not use version # in codemirror directory name.
...
Simply call it 'codemirror', so we don't have explicit version numbers
inside a bunch of files.
A file called ipython-version-N.NN will be kept to easily let us know
which version we're shipping with IPython.
15 years ago
Fernando Perez
6b0fdf2356
Update CodeMirror code to v2.15
15 years ago
MinRK
940d636656
fix Input prompt/code alignment
...
with note for future reference
15 years ago
MinRK
30028c3ca0
round corner and light bg on code areas
...
c/o @fperez
15 years ago
MinRK
c022dca01a
small CSS adjustments in notebook
...
* add think border around input area
* change background instead of foreground on stderr
* only stderr/stdout are output_stream, general text (including streams) is output_text
* reduce vertical padding on stream output, per @fperez
15 years ago
MinRK
788d7e6348
allow stdout/stderr to have distinct css
...
make stderr output darkred
15 years ago
MinRK
a9d9a8b72c
support contiguous stream output in notebook
...
Consecutive messages to stdout or stderr will not be split
into separate divs, until a new message to different stream
arrives.
Appending will only occur when the latest output is the same
as the new one. Interleaving messages will still result in
multiple divs.
15 years ago
Brian Granger
b7ab64f304
fixConsole no longer trims the final text.
15 years ago
Brian E. Granger
98393e9a28
Merge branch 'enh/httpauth' of https://github.com/satra/ipython into satra-enh/httpauth
15 years ago
MinRK
d11ef986a4
authenticate Websockets with the session cookie
...
Now all Notebook connections are authenticated.
15 years ago
Brian E. Granger
8c76fcf71c
Fixing Ctrl-Enter on Firefox.
15 years ago
MinRK
549cf4ee2a
fix undefined 'session_id' member in kernel.js
15 years ago
Brian E. Granger
c6d030761e
Merge branch 'placeholder' of https://github.com/minrk/ipython into minrk-placeholder
15 years ago
MinRK
3aed0a0b94
use null char to start text cell placeholders
15 years ago
Brian E. Granger
acc81dfbee
Ctrl-Enter now does not delete input, but selects it.
15 years ago
Brian E. Granger
0b19dd7bfe
Temporary fix for placeholder related CM bug.
15 years ago
MinRK
ba1df9be55
underline keyboard shortcut letter on buttons
15 years ago
Fernando Perez
b8c1ab1ada
Fix above/below keybinding mismatch and rename api to use above/below
15 years ago
Stefan van der Walt
3a8811e115
Add code highlighting to markdown cells.
15 years ago
Stefan van der Walt
dfeb4342ed
Align colons in help dialog.
15 years ago
Brian E. Granger
d60edf973d
Changing prev/next keyboard shortcut to use p/n.
15 years ago
Brian E. Granger
b89d656a3c
Fixing console.log messages related to keyboard shortcuts.
15 years ago
Brian E. Granger
cf0c66fe4e
Adding keyboard shortcut help dialog.
15 years ago
Brian E. Granger
d3e67106a1
Adding keyboard shortcuts.
15 years ago
Fernando Perez
2522a651d9
Right-align prompts to remove spurious whitespace.
15 years ago
Brian E. Granger
5b19a85fa4
Adjusting width of prompt area.
15 years ago
Brian E. Granger
6798c5cc97
All output types are not indented.
15 years ago
Brian E. Granger
5cb8bb1f27
Reorganize the L panel buttons.
15 years ago
Brian E. Granger
ab384fc787
Cell collapse/expand is not called "Toggle".
15 years ago
Brian E. Granger
133b96d086
Changing CodeMirror-scroll to overflow-y: hidden.
...
* It seems that our old setting of visible was causing scroll bars
to appear if font sizes change in Chrome.
* Also changed json -> xml in Download UI.
15 years ago
Brian E. Granger
ea8b4de42d
Implemented metadata for notebook format.
15 years ago
Brian E. Granger
7e7a6ab50b
Notebook upload handles filenames with periods.
15 years ago
Brian E. Granger
0784df1b9d
Making JSON the default .ipynb format.
15 years ago
Brian E. Granger
4d15c8b8e5
Fixing logic for rename behavior.
15 years ago
Brian E. Granger
8f149a2623
Help links work on Firefox.
15 years ago
Brian E. Granger
cbe3563d8d
Save button becomes Rename when the notebook name changes.
15 years ago
Brian E. Granger
f35f9323e6
Better tabindex support.
15 years ago
Brian E. Granger
1293556dde
Double clicking on the end space will insert a new cell.
15 years ago
Brian E. Granger
1d43249604
Adding page break logic to the print css.
...
* I have added page-break-inside logic to div.input and
div.output_area.
* Fixed a bug in CodeCell that was putting the output_area class
on the wrong div.
15 years ago
Brian E. Granger
69d2e18f7a
Merge branch 'htmlnotebook_publish' of https://github.com/stefanv/ipython into stefanv-htmlnotebook_publish
15 years ago
Brian E. Granger
b5b4cf260f
Modifying CodeMirror focus hack to work better.
...
I had removed a text area focus event earlier today and that
broke the . key. We are still having problems with CodeMirror
elements gaining focus, but this seems to fix the issue.
15 years ago
Stefan van der Walt
823124215c
Refactor static printing.
15 years ago
Brian E. Granger
cff986a539
Removed HTMLCell from UI and added better placeholder logic.
15 years ago
Brian E. Granger
0f3bc468e3
Better alert message if no WebSockets are detected.
15 years ago
Brian E. Granger
e08bdc3d6f
Better WebSocket detection added.
15 years ago
Brian E. Granger
164ef7c9cb
Adding code to handle MozWebSocket for FF 6.
15 years ago
Brian E. Granger
e176318797
More review changes.
...
* Favicon.ico is served.
* Test suit now passes.
* Help links work for for me.
* Other changes made to address inline comments.
* The printing of long lines is an extremely subtle issue and I will open an issue for it.
* zmqws.py is completely gone so the naked print is not an issue.
* ipython-notebook removed from scripts.
* Updated copyright and authors of files.
* Fixed missing docstrings in IPython.nbformat.
15 years ago
Brian E. Granger
63a148fad5
Don't scroll to bottom when last cell is selected.
15 years ago
Stefan van der Walt
49ad421c8b
htmlnotebook: Suppress cell boundary when publishing.
15 years ago
Stefan van der Walt
201999642f
Implement static publishing of HTML notebook.
15 years ago
Brian E. Granger
1271cfcfcd
Removing old CodeMirror version.
15 years ago
Brian E. Granger
dfac7eca2b
WebSocket url is now passed to browser when a kernel is started.
15 years ago
Brian E. Granger
726f8c1780
Pager is not activated if the pager text is empty.
...
* Things like asdf.*? used to open the pager even though there
was nothing to show.
15 years ago
Brian E. Granger
bf8ba0889e
Code cell gets focused after "To Code" is triggered.
15 years ago
Brian E. Granger
dcd25caf9a
Adding additional whitespace at botton of notebook for TAB comp.
15 years ago
Brian E. Granger
0790979100
Fixing tab completion edge cases.
15 years ago
Brian E. Granger
60147f495f
A single tab-completion match is now automatically selected.
15 years ago
Brian E. Granger
e445ad1796
Fixing latex rendering bug.
15 years ago
Brian E. Granger
75c54c887e
Notebook id removed from the notebook format.
15 years ago
Brian E. Granger
3d7d0f8b0b
Added a notebook dirty flag that is used when exiting page.
15 years ago
Brian E. Granger
e911393836
Browser window title follows the name of the notebook.
15 years ago
Brian E. Granger
63de9cd719
Fixing bug that caused plots to not be saved.
...
CodeCell.append_mime_type needed a default element.
15 years ago
Brian E. Granger
a9d6f2eb2d
Major refactor of kernel connection management in the notebook.
...
* Full kernel heartbeating is working.
* Connections between the notebook and server and now created
a new each time there is a WebSocket connection. Each channel is
also handled separately. This dramatically simplifies the
server code and makes for a more scalable system.
15 years ago
Brian E. Granger
b264e21a6d
Clear all output is implemented.
15 years ago
Brian E. Granger
24a3464921
Disabling auto-save at exit.
15 years ago
Brian E. Granger
058c0b4767
HTML output cells are now styled with the rendered_html class.
15 years ago
Brian E. Granger
c72b41883f
Adding tracebacks, evalue and etype to the nbformat and notebook.
15 years ago
Brian E. Granger
0c3bba9641
Adding time delay to show the notebook saving more clearly.
15 years ago
Brian E. Granger
1abacb4fce
HTML/Markdown cells no longer saved their rendered output.
15 years ago
Brian E. Granger
0b5b3ed341
Added collapsed field to the code cell.
15 years ago
Brian E. Granger
0529d43ae7
Fixing padding of output cells.
15 years ago
Brian E. Granger
c2ce42121b
%loadpy works in the notebook and bug with inline plotting fixed.
15 years ago
Brian E. Granger
3db421fb73
Autoindentation fixed and enabled by default.
15 years ago
Brian E. Granger
0db7ab16a3
Finishing display system work.
...
* Added image/jpeg MIME type to notebook format, the core display
logic and the notebook.
* Finished HTML, SVG, Image, Math, Javascript, JSON classes.
15 years ago
Brian E. Granger
3ad866c73d
Reducing/adjusting the padding of cells to make the notebook more
...
compact.
* Reduced padding between cells from 15px to 5px.
* Prompt width is now dynamic to grow/shrink as the prompt number
increases in width.
* Reduced padding between input and output from 15px to 5px.
15 years ago
Brian E. Granger
8a55d6bf22
Adding minor help strings for keyboard shortcuts.
15 years ago
Brian E. Granger
20adfc4ced
Updates to the css style of rendered html text cells.
15 years ago
Brian E. Granger
217616a505
Fixed text cell rendering bug.
15 years ago
Brian E. Granger
a70cbfc382
Implemented smart autoindenting.
15 years ago
Brian E. Granger
bc5dd6d359
Markdown cells are now saved and restored in notebooks.
15 years ago
Brian Granger
c56f76980e
Reordering Export button and renaming Export->Export As
15 years ago
Brian Granger
f90b5761a2
Refactoring of text/markdown/rst/html cells.
15 years ago
Brian E. Granger
81a1099f87
Starting work on a Markdown cell.
15 years ago
Brian E. Granger
b7bcdabc9a
Updating CodeMirror to v 2.12.
...
For now I am keeping the old codemirror2 directory in here until
we finish debugging the new version.
15 years ago
Brian E. Granger
9964704b73
New HTMl cell working with CodeMirror editing.
15 years ago
Brian E. Granger
a003af7977
Starting to rename text cell to html cell.
15 years ago
Brian E. Granger
875e7da94b
Added saving and loading of output of all types.
15 years ago
Brian E. Granger
188e6271e1
Using beforeunload to save at exit and kill the kernel.
15 years ago
Brian E. Granger
a0cbccaa03
Adding kernel/notebook associations.
15 years ago
Brian E. Granger
ad84abcf36
Improvements to file uploaded, mime types and .py reader.
...
* The .py notebook reader now uses that ast module to split
a plain python file into blocks. These blocks become cells in
the notebook.
* Proper mime types are used for xml (application/xml), json
(application/json) and python (application/x-python).
* Other fixes to file uploading.
15 years ago
Brian E. Granger
458c48b229
File upload/import working from notebook browser.
15 years ago
Brian E. Granger
e0cc1a6c48
Implemented delete functionality in nb browser.
...
* Dialog confirms the notebook delete.
* Notebook element is removed from list upon deletion.
15 years ago
Brian E. Granger
c106630a2f
Implemented basic notebook browser and fixed numerous bugs.
15 years ago
Brian E. Granger
b11824ef1b
Massive work on the notebook document format.
...
* Finished nbformat work and debugged the versioning API.
* Integrated the nbformat with the notebook. Save/New/Open/Export
are all now working.
15 years ago
MinRK
8e64e13bbb
support html representations in the notebook frontend
...
html gets highest priority, because it is the native language
of the frontend.
15 years ago
Brian E. Granger
10963a588e
Adding Cell.grow back to fix bug.
...
This can go away once we star to use CodeMirror for TextCells.
15 years ago
Brian Granger
8207ecc086
Fixing minor resize bug on the Mac.
15 years ago
Brian E. Granger
cad3c34d62
Hacks to prevent FLOUC (flash of unformatted content).
15 years ago
Brian E. Granger
4f57e3c7fe
Fixes to terminal mode execution (ctrl-enter).
15 years ago
Brian E. Granger
b6b4107e59
Notebook now uses tab for autocompletion.
15 years ago
Brian E. Granger
96be322070
Removing default input prompt number.
...
In a notebook setting being able to delete and add cells makes it
virtually impossible to correctly guess what the next input
prompt number should be. We now follow the convention that our
prompts look like "In [ ]:" before execution.
15 years ago
Brian E. Granger
5519c01de3
CTRL-ENTER now runs a cell in "terminal mode"
...
In this mode, a new cell is not created after the current cell
is run. Once the cell is run, the current input is cleared, so
it acts just like the terminal.
15 years ago
Brian E. Granger
64273fa929
Autocompletion working with CTRL-SPACE.
15 years ago
Brian Granger
e09906c1a8
Added complete method of JS kernel object.
15 years ago
Brian Granger
f24bd4f635
Colors now working in tracebacks and the pager.
...
For now I am just converting ANSI color escape sequences to HTML
<span> tags that have css classes for coloring.
15 years ago
Brian E. Granger
4558e8af5f
Prevent shift-enter from propagating and performing default.
15 years ago
Brian E. Granger
239b087e8f
Updating font-sizing to use the YUI protocol.
15 years ago
Brian E. Granger
27b5357678
Fixing execution related things.
...
* Extra enter on FF is fixed by hooking into CodeMirror's
onKeyEvent hook. We now have CodeMirror ignore shift-enter
completely as we handle it ourselves.
* The cell execution logic in notebook.js has been refactored and
the Run All/Selected buttons have been hooked up.
15 years ago
Brian E. Granger
5fb6787570
Work on save widget, kernel status widget and notebook section.
15 years ago
Brian E. Granger
41e20d3f3e
Minors fixes and initial work on save widget.
...
* Fixed width of buttons in left panel.
* Started to create a save widget for the header.
15 years ago
Brian E. Granger
60a89580ea
Help section implemented and working.
15 years ago
Brian E. Granger
a0c36fbe7a
Controls in cell section have a solid layout.
15 years ago
Brian Granger
b4015cd010
Minor fixes to fonts and spacing.
15 years ago
Brian E. Granger
3db8ae6073
Initial draft of panel section and the cell section working.
15 years ago
Brian E. Granger
4db2677391
Improving the scrolling model.
15 years ago
Brian E. Granger
c538958f71
Left panel is now working.
15 years ago
Brian E. Granger
3c07de2208
More accuract height calculations for the pager collapse/expand.
15 years ago
Brian E. Granger
4e0dd9ddbb
Pager is working again.
15 years ago
Brian E. Granger
9efad482a9
More work updating the notebook to use dynamics resizing.
15 years ago
Brian E. Granger
76d7a1fdac
Adding note about vbox related scroll bugs.
15 years ago
Brian E. Granger
b46517689b
Refactoring pager into its own class.
15 years ago
Brian E. Granger
68091df3f1
Initial payload handling.
...
* Syntax highlighting fixed for things like "math?".
* Basic pager is working.
15 years ago
Brian E. Granger
d99e820c94
Starting to refactor the notebook layout
15 years ago
Brian E. Granger
ed3a348817
Using $.proxy to clean up callbacks.
15 years ago
Brian E. Granger
215fbc4a29
Implemented module and namespace pattern in js notebook.
15 years ago
Brian E. Granger
1fd4434be4
Splitting notebook.js into muliple files for development ease.
15 years ago
Brian E. Granger
0c261d5466
Updating the notebook to work with the latex master.
...
* PNG figures are now used for matplotlib.
* NEW msg format is used where msg_type is in the header.
* Session is used for sending/recving.
15 years ago
Brian Granger
3c9e42586f
Much improved nagivation for the notebook cells.
...
* Up/Down arrow now used to navigate cells.
* For text cells, shift-enter renders, enter edits.
15 years ago
Brian Granger
a91129b49a
Better handling of up/down arrows for CodeCells.
15 years ago
Brian Granger
6a8c7da009
CodeMirror code editing added.
...
* codemirror2 repo has been added to IPython.
* Custom coloring used to match the qtconsole.
15 years ago
Brian Granger
2f9f482a6c
General CSS cleanup.
...
* Created layout.css for common layout related mixins.
* monospace is the default font for now.
15 years ago
Brian Granger
c7dbb124f2
Updating notebook examples, and notebook js/html.
15 years ago
Brian Granger
36aafb3b86
Fine tuning of notebook styles.
...
* Padding added to L/R of notebook div (40px).
* Margin added to T/B of cells (15px).
* Margin added to T of output div (15px).
* More elements using border-box layout mode.
15 years ago
Brian Granger
1cae7230d9
Shift-Enter only selects the next cell if it is a CodeCell.
15 years ago
Brian Granger
9edf46f9dc
Cells call grow by hand when they reload from JSON.
15 years ago
Brian Granger
cc4a8cff40
Added basic styling to text cells.
15 years ago
Brian Granger
680bcc4825
Basic exception display in the notebook is working.
15 years ago
Brian Granger
3b5f4b3dbe
Fixes to the latex rendering by adjusting the MathJax config.
15 years ago
Brian Granger
040a285de3
Refactoring of the output and display system.
...
* LaTeX rendering now works.
* Font's are reworked in the css style sheet.
* Testing on FF and Chrome.
15 years ago
Brian Granger
6e36522cdf
Initial latex printing for sympy and fixes to autogrow.
15 years ago
Brian Granger
005820c005
Basic notebook saving and loading.
...
* The logic in the server and javascript frontend is there for
a basic JSON notebook format with a .ipynb extension.
* To save a new notebook: "%notebook save filename.ipynb"
* To save a notebook that is already saved: "%notebook save"
* To load a notebook from the cwd: "notebook load filename.ipynb"
15 years ago
Brian Granger
b584914bfb
Work on the notebook's code cell.
...
* Cleaned up the js code for creating the code cell.
* Added a div around the input text area to allow the text area
to have a width of 100%.
* Added CodeCell.toJSON.
15 years ago
Brian Granger
bba15fb958
Further font adjustments to the notebook.
...
* Using Fernando's recommended monospaced font list.
* Increased tool/tab menus to 10 pt.
15 years ago
Brian Granger
ffc2dffeca
Tweaking and cleanup of notebook.css.
...
* Adjusted font sizes for improved readability.
* Got rid of unused css attributes and styles.
* Changed font of Title to Verdana.
15 years ago
Brian Granger
d8ca0d5d5b
Fixes to notebook scrolling and layout.
...
We are now using the flexible box model, so the layout won't work
on IE9, but it already doesn't work on IE9 because of WS support.
15 years ago
Brian Granger
a5c3132665
Status monitoring added to notebook.
...
* Busy == red
* Idle == gray
* Restarting == black
15 years ago
Brian Granger
06a6f1b145
Cleaned up kernel action interface.
...
* Using POST rather than GET.
* Using simple URLs rather than a query string.
* Using a regexp to match the action.
15 years ago