diff options
author | Valerio Virgillito | 2012-04-09 16:47:35 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-09 16:47:35 -0700 |
commit | 4900f2e6e346df18b1b5a2ac89da5019644ac98a (patch) | |
tree | 573b0490e440f71dae407f0e4667a1b78697179c /js/panels/history-panel/history.reel/history.html | |
parent | bd43ce383b050d03b0f92cc923c517febc66ca28 (diff) | |
download | ninja-4900f2e6e346df18b1b5a2ac89da5019644ac98a.tar.gz |
adding a history panel
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/history-panel/history.reel/history.html')
-rw-r--r-- | js/panels/history-panel/history.reel/history.html | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/js/panels/history-panel/history.reel/history.html b/js/panels/history-panel/history.reel/history.html new file mode 100644 index 00000000..f2e3c6ae --- /dev/null +++ b/js/panels/history-panel/history.reel/history.html | |||
@@ -0,0 +1,106 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <!-- <copyright> | ||
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
5 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
6 | </copyright> --> | ||
7 | <html lang="en"> | ||
8 | <head> | ||
9 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
10 | <link rel="stylesheet" type="text/css" href="history.css"> | ||
11 | |||
12 | <script type="text/montage-serialization"> | ||
13 | { | ||
14 | "owner": { | ||
15 | "prototype": "js/panels/history-panel/history.reel", | ||
16 | "properties": { | ||
17 | "element": {"#": "history_panel"} | ||
18 | } | ||
19 | }, | ||
20 | |||
21 | "defaultUndoManager": { | ||
22 | "object": "montage/core/undo-manager" | ||
23 | }, | ||
24 | |||
25 | "scroller": { | ||
26 | "prototype": "montage/ui/scroller.reel", | ||
27 | "properties": { | ||
28 | "element": {"#": "scroller"}, | ||
29 | "axis": "vertical" | ||
30 | } | ||
31 | }, | ||
32 | |||
33 | "undoList": { | ||
34 | "prototype": "montage/ui/repetition.reel", | ||
35 | "properties": { | ||
36 | "element": {"#": "undo_list"} | ||
37 | }, | ||
38 | "bindings": { | ||
39 | "objects": { | ||
40 | "boundObject": {"@": "defaultUndoManager"}, | ||
41 | "boundObjectPropertyPath": "undoStack", | ||
42 | "oneway": true | ||
43 | } | ||
44 | } | ||
45 | }, | ||
46 | |||
47 | "undoItem": { | ||
48 | "prototype": "js/panels/history-panel/history-item.reel", | ||
49 | "properties": { | ||
50 | "element": {"#": "undo_item"} | ||
51 | }, | ||
52 | "bindings": { | ||
53 | "title": { | ||
54 | "boundObject": {"@": "undoList"}, | ||
55 | "boundObjectPropertyPath": "objectAtCurrentIteration.label", | ||
56 | "oneway": true | ||
57 | } | ||
58 | } | ||
59 | }, | ||
60 | |||
61 | "redoList": { | ||
62 | "prototype": "montage/ui/repetition.reel", | ||
63 | "properties": { | ||
64 | "element": {"#": "redo_list"} | ||
65 | }, | ||
66 | "bindings": { | ||
67 | "objects": { | ||
68 | "boundObject": {"@": "defaultUndoManager"}, | ||
69 | "boundObjectPropertyPath": "redoStack", | ||
70 | "oneway": true | ||
71 | } | ||
72 | } | ||
73 | }, | ||
74 | |||
75 | "redoItem": { | ||
76 | "prototype": "js/panels/history-panel/history-item.reel", | ||
77 | "properties": { | ||
78 | "element": {"#": "redo_item"} | ||
79 | }, | ||
80 | "bindings": { | ||
81 | "title": { | ||
82 | "boundObject": {"@": "redoList"}, | ||
83 | "boundObjectPropertyPath": "objectAtCurrentIteration.label", | ||
84 | "oneway": true | ||
85 | } | ||
86 | } | ||
87 | } | ||
88 | } | ||
89 | </script> | ||
90 | |||
91 | </head> | ||
92 | <body> | ||
93 | |||
94 | <div data-montage-id="history_panel" class="history_panel"> | ||
95 | <div data-montage-id="scroller" class="scroller"> | ||
96 | <ul data-montage-id="undo_list" class="undo_list"> | ||
97 | <li data-montage-id="undo_item"></li> | ||
98 | </ul> | ||
99 | <ul data-montage-id="redo_list" class="redo_list"> | ||
100 | <li data-montage-id="redo_item"></li> | ||
101 | </ul> | ||
102 | </div> | ||
103 | </div> | ||
104 | |||
105 | </body> | ||
106 | </html> \ No newline at end of file | ||