Jonathan Frederic
5ced2816e7
Removed sync_method parameter from backbone msg spec
12 years ago
Jonathan Frederic
441a3e3ca6
Updated require.js references
12 years ago
Jonathan Frederic
ee522adc18
Renamed widget js files
12 years ago
Jonathan Frederic
babd5c44ba
Completely remove cell from model and view.
12 years ago
Jonathan Frederic
9e43807579
Updated comm id comments in view to model id
12 years ago
Jonathan Frederic
3329f875f3
s/comm_id/model_id (left over from before)
12 years ago
Jason Grout
7cbda99b0d
Add widget view options in creating child views
12 years ago
Jonathan Frederic
35a536f3b8
Re-decoupled comm_id from widget models
12 years ago
Jonathan Frederic
8732761524
Added `update_children` pattern to remaining parent widgets
12 years ago
Jonathan Frederic
2211abd28d
Converted tabs to spaces
12 years ago
Jason Grout
44e2043afe
Live updates for children automatically change container views.
...
Since traitlets does not trigger events when list elements are changed, these changes are triggered only when the entire children element is reassigned.
12 years ago
Jason Grout
b52043b4f7
Get the add/remove css classes working
12 years ago
Jason Grout
a8c8c2a5fd
General cleanup of base.js, including indentation fixes and adding view callbacks to the save options dictionary.
12 years ago
Jason Grout
7810c78aea
Fix visible attribute for the very first render
12 years ago
Jason Grout
9b1a0d70a2
fix a handle_status handler
12 years ago
Jason Grout
1bf8da0734
Note todos for widgets
12 years ago
Jason Grout
9a4c5957c3
Store views in the models and store child views in the views
12 years ago
Jason Grout
7431fa37dd
Make updates more granular for widgets
12 years ago
Jason Grout
641a5af70f
Move all references to cells to the view objects.
12 years ago
Jason Grout
45206783c2
Delete unnecessary check for comm object
12 years ago
Jason Grout
41170f7471
Change accordion to use a children attribute
12 years ago
Jason Grout
18beaff887
Remove unused code and debugging statements
12 years ago
Jason Grout
72f7d2fe09
Remove the automatic _children_attr and _children_lists_attr.
...
When serializing, any Widget object is encoded as its comm_id. The view should know how to deal with the attribute, and should know that the attribute is a comm_id.
12 years ago
Jason Grout
ad1e23bfc2
Intermediate changes to javascript side of backbone widgets
12 years ago
Jonathan Frederic
3361826b5a
Added require.js shims for underscore and backbone
...
This is necessary since underscore and backbone are no longer AMD
modules.
12 years ago
Jonathan Frederic
b588a56f76
Moved touch logic out of model into view.
...
View now updates using backbone events.
12 years ago
Jonathan Frederic
a2c951d9b0
s/display/created for display_view stuff
12 years ago
Jonathan Frederic
3c866ea412
Made widget model state update function public
12 years ago
Jonathan Frederic
8ceb29796a
Made display_view a public method.
12 years ago
Jonathan Frederic
19e9cee437
Fix, require.js needs return of widget manager for other widgets
12 years ago
Jonathan Frederic
d7c0498b13
renamed: widget.js -> widgetmanager.js
12 years ago
Jonathan Frederic
3d7557b740
Moved base widget model and view into widgets/base.js
12 years ago
Jonathan Frederic
5678617d8f
Fixed context of onclick callbacks selection widget views
12 years ago
Jonathan Frederic
4e3b2b3e94
jslint /widgets
12 years ago
Jonathan Frederic
e9bf942375
Fixed backbone event handling for accordion view
12 years ago
Jonathan Frederic
1b02e8f607
Add ImageWidget
12 years ago
Jonathan Frederic
186e756da9
Remove uneccessary lines in String.js
12 years ago
Jonathan Frederic
a6e5ec942c
Added LatexView
12 years ago
Jonathan Frederic
b656f34c48
s/LabelView/HTMLView
12 years ago
Jonathan Frederic
32a8d43afc
- ModalView can now be docked and undocked
...
- Clicking on a ModalView will bring it to the front
12 years ago
Jonathan Frederic
d69e957b9a
Added support for disabled flag to button widget.
12 years ago
Jonathan Frederic
dd31af4462
Do not vertically center modal
12 years ago
Jonathan Frederic
515f0d1b0f
Fixed modal centering code
12 years ago
Jonathan Frederic
c31ad5cf78
Added custom selector logic to modal view
12 years ago
Jonathan Frederic
1fb4340503
Moved flexible box model attrs out of Container and Modal js
...
into a common function
12 years ago
Jonathan Frederic
8b08e1c53c
Center modal view on show
12 years ago
Jonathan Frederic
f9f84fc076
Removed max height from widget modal body
12 years ago
Jonathan Frederic
61bfddbd17
Fixed body container height not stretching to fill remainer of height
12 years ago
Jonathan Frederic
4e1e091648
Added ModalView
12 years ago
Jonathan Frederic
4333c84907
Fix scroll_to_bottom
12 years ago