diff options
author | Valerio Virgillito | 2012-05-16 15:23:48 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-16 15:23:48 -0700 |
commit | 13ae16997d4bbca14e255d5989d1c44a76eac72c (patch) | |
tree | d9ebb1dcc6bebee4cb910b950ecb67c1a2d593cd /node_modules/montage/ui/token-field/token.reel/token.html | |
parent | 99f16ae08fbb0a6dfe6008c9833f2253b18c19e5 (diff) | |
download | ninja-13ae16997d4bbca14e255d5989d1c44a76eac72c.tar.gz |
montage v.0.10 integration
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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> | ||