diff options
author | hwc487 | 2012-05-31 17:11:08 -0700 |
---|---|---|
committer | hwc487 | 2012-05-31 17:11:08 -0700 |
commit | 1c445cf5d905f79937998cf2f1115594ea8c1074 (patch) | |
tree | 35271ad7ffec86fde9102af3dd954fa3a2974582 /node_modules/montage/ui/token-field/token.reel/token.html | |
parent | 335ce503996e3ccbd2909086328d0a31fbd03370 (diff) | |
parent | 6042bdc5f2aada4412912fd01602d32c9088dc26 (diff) | |
download | ninja-1c445cf5d905f79937998cf2f1115594ea8c1074.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Conflicts:
js/io/system/ninjalibrary.json
Diffstat (limited to 'node_modules/montage/ui/token-field/token.reel/token.html')
-rw-r--r-- | node_modules/montage/ui/token-field/token.reel/token.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/node_modules/montage/ui/token-field/token.reel/token.html b/node_modules/montage/ui/token-field/token.reel/token.html new file mode 100644 index 00000000..54ba266e --- /dev/null +++ b/node_modules/montage/ui/token-field/token.reel/token.html | |||
@@ -0,0 +1,45 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
5 | <title>Token Template</title> | ||
6 | <link rel="stylesheet" type="text/css" href="token.css"> | ||
7 | |||
8 | <script type="text/montage-serialization"> | ||
9 | { | ||
10 | |||
11 | "tokenText": { | ||
12 | "prototype": "montage/ui/dynamic-text.reel", | ||
13 | "properties": { | ||
14 | "element": {"#": "token-text"} | ||
15 | }, | ||
16 | "bindings": { | ||
17 | "value": {"<-": "@owner.text"} | ||
18 | } | ||
19 | }, | ||
20 | "tokenDelete": { | ||
21 | "prototype": "montage/ui/dynamic-text.reel", | ||
22 | "properties": { | ||
23 | "element": {"#": "token-delete"}, | ||
24 | "value": "✕" | ||
25 | } | ||
26 | }, | ||
27 | |||
28 | "owner": { | ||
29 | "prototype": "montage/ui/token-field/token.reel", | ||
30 | "properties": { | ||
31 | "element": {"#": "token"}, | ||
32 | "_deleteEl": {"#": "token-delete"} | ||
33 | } | ||
34 | } | ||
35 | } | ||
36 | </script> | ||
37 | |||
38 | </head> | ||
39 | <body> | ||
40 | <span data-montage-id="token" class="montage-token"> | ||
41 | <span data-montage-id="token-text" class="montage-token-text"></span> | ||
42 | <span data-montage-id="token-delete" class="montage-token-delete">✕</span> | ||
43 | </span> | ||
44 | </body> | ||
45 | </html> | ||