Sylvain Corlay
0daa48b2c9
wrong css class for widget-int
11 years ago
Matthias Bussonnier
4e2dfe2527
Some code cleanup in javascript and python
...
change patern that are prone to error, like function redifinition
and other.
11 years ago
Jonathan Frederic
cb12229480
Fix padding of widgets.
11 years ago
Nicholas Bollweg (Nick)
57f05c4a2b
reversing order of arguments, as text may already exist
11 years ago
Nicholas Bollweg (Nick)
00fc31b0a8
also setting text in widget.typset
11 years ago
Nicholas Bollweg (Nick)
9cd878cf0f
moving, checking MathJax typesetting to WidgetView
...
widget rendering should not fail hard if MathJax is not available
11 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
11 years ago
Jonathan Frederic
ba9e7365be
Fix #6385
11 years ago
Matthias Bussonnier
65f41327c9
Merge pull request #6106 from chronitis/interact-slider-textedit
...
Allow text input on slider widgets
11 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
11 years ago
Jason Grout
7700848737
Add semantic classes to top-level containers for single widgets
...
This makes it much easier to customize all widgets of a certain type using
CSS. For example, to change just the IPython widget selects, a CSS
rule like .widget-select select {...} should work well.
11 years ago
Gordon Ball
48b6f53f51
Require base/js/keyboard and use keycode.enter
11 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
11 years ago
Gordon Ball
3ec873b084
Change _parse_text_input to _parse_value and update float range regex
11 years ago
Gordon Ball
3011820cd3
Add support for parsing pairs of numbers for range sliders
11 years ago
Gordon Ball
67630b0886
Ignore the event object for handleTextChange
11 years ago
Gordon Ball
0f7fbc0781
Add keydown listener to commit changes on <enter>
11 years ago
Gordon Ball
6a976cf2b6
Use contentEditable to allow modification via the the slider readout
11 years ago
Jonathan Frederic
9f3dfbc56c
Fix slidercolor on widget construction
11 years ago
Jonathan Frederic
a7e7f95ef1
Remove forgotten hreadout
12 years ago
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
12 years ago
Jonathan Frederic
fa1c6f93f1
Added bootstrap3 progress bar classes
12 years ago
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
12 years ago
Jonathan Frederic
42cc27e1f5
Finished style attributes.
12 years ago
Jonathan Frederic
fdcf263965
Partial implementation of styles
12 years ago
Gordon Ball
a12b1a50a9
Change `range` trait to `_range`
12 years ago
Gordon Ball
1a8b77231e
Remove errant tabs from js
12 years ago
Gordon Ball
08895738f2
Merge master
12 years ago
Jonathan Frederic
ed593f02f1
Merge pull request #6171 from tarzzz/slider-value-validate
...
Validate slider value, when limits change
12 years ago
Tarun Gaba
258b888835
added 'var'
12 years ago
Tarun Gaba
dda92ff7ea
Removed another stray alertO
12 years ago
Tarun Gaba
825186c868
Removed alert statement!
12 years ago
Tarun Gaba
539596bcdd
adressed @jdfrederer's concern!
12 years ago
Gordon Ball
ff3f952b18
Merge branch 'master' into interact-range-widgets
...
Conflicts:
IPython/html/static/style/ipython.min.css
IPython/html/static/style/style.min.css
IPython/html/static/widgets/js/widget_int.js
12 years ago
Jason Grout
eccc20ce1a
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
...
This seems to make it easiest to select the top-level element. An alternative is to use special syntax for top-level elements, like in https://github.com/ipython/ipython/pull/6185
This will be followed up by other fixes that let the user set specific common properties of different elements.
This change also adds the .addBack() call, which means that nonempty selectors now apply to this.$el and its descendants, rather than just the descendants of this.$el.
12 years ago
MinRK
d345546d15
add bootstrap shim for require
...
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
12 years ago
Tarun Gaba
1eef26754f
A comma after `this.touch`
12 years ago
Tarun Gaba
dab68840dd
Sending data back to python object after slider values change
12 years ago
Tarun Gaba
dc2672f2ec
The value of slider changes in frontend, and readout, but not in python obj.
12 years ago
Tarun Gaba
62c9ee7c2a
Validate slider value, when limits change
12 years ago
Jonathan Frederic
b15633a89e
Fix all the tests
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
f51903ca03
Bug fixes
12 years ago
Gordon Ball
3178a184c0
Add initial implementation of 2-handle range sliders for integers.
12 years ago
Jonathan Frederic
33f7f4457f
Widget bootstrap3 fixes
12 years ago
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
12 years ago
Jonathan Frederic
33a0a3cc87
Add latex support in widget labels,
...
This PR even adds support to use latex in PopupWidget titles.
12 years ago
jon
79f6ea9b1f
Allow '.', '+.', '+', '-.', and '-' even though without numbers, they cannot be parsed.
12 years ago
Jonathan Frederic
28423647a2
Updated require references to point to new files
12 years ago
Jonathan Frederic
e0ba52c802
Moved widget files into static/widgets/*
...
Since they do not depend on anything ntoebook related
12 years ago