diff options
author | Jose Antonio Marquez | 2012-03-18 16:14:34 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-03-18 16:14:34 -0700 |
commit | 06a790e0f830d01539dc9e80c90e2bcdabaa666b (patch) | |
tree | 474f3f1e0ea147b0400ff8528e1c33566179b211 /node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html | |
parent | fda7b595c96d99177fdd93de8da9030348a3f8fb (diff) | |
parent | 3056d540f32bb24927d06bfc516240cc6a0001f8 (diff) | |
download | ninja-06a790e0f830d01539dc9e80c90e2bcdabaa666b.tar.gz |
Merge branch 'refs/heads/francoisfrisch-Ninja-Internal' into FileIO-Montage-Components
Diffstat (limited to 'node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html')
-rw-r--r-- | node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html b/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html new file mode 100644 index 00000000..213b4602 --- /dev/null +++ b/node_modules/montage/ui/feed-reader/feed-entry.reel/feed-entry.html | |||
@@ -0,0 +1,90 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
5 | <title>Feed Entry</title> | ||
6 | <script type="text/montage-serialization"> | ||
7 | { | ||
8 | "title": { | ||
9 | "module": "montage/ui/dynamic-text.reel", | ||
10 | "name": "DynamicText", | ||
11 | "properties": { | ||
12 | "element": {"#": "entry-title"} | ||
13 | }, | ||
14 | "bindings": { | ||
15 | "value": { | ||
16 | "boundObject": {"@": "owner"}, | ||
17 | "boundObjectPropertyPath": "entry.title", | ||
18 | "oneway": true | ||
19 | } | ||
20 | } | ||
21 | }, | ||
22 | "entryLink": { | ||
23 | "module": "montage/ui/anchor.reel", | ||
24 | "name": "Anchor", | ||
25 | "properties": { | ||
26 | "element": {"#": "entry-url"} | ||
27 | }, | ||
28 | "bindings": { | ||
29 | "href": { | ||
30 | "boundObject": {"@": "owner"}, | ||
31 | "boundObjectPropertyPath": "entry.link", | ||
32 | "oneway": true | ||
33 | } | ||
34 | } | ||
35 | }, | ||
36 | "description": { | ||
37 | "module": "montage/ui/dynamic-text.reel", | ||
38 | "name": "DynamicText", | ||
39 | "properties": { | ||
40 | "element": {"#": "entry-description"} | ||
41 | }, | ||
42 | "bindings": { | ||
43 | "value": { | ||
44 | "boundObject": {"@": "owner"}, | ||
45 | "boundObjectPropertyPath": "entry.contentSnippet", | ||
46 | "oneway": true | ||
47 | } | ||
48 | } | ||
49 | }, | ||
50 | "owner": { | ||
51 | "module": "montage/ui/feed-reader/feed-entry.reel", | ||
52 | "name": "FeedEntry", | ||
53 | "properties": { | ||
54 | "element": {"#": "feed-entry"} | ||
55 | } | ||
56 | } | ||
57 | } | ||
58 | </script> | ||
59 | |||
60 | <style> | ||
61 | .feed-entry { | ||
62 | padding: 10px; | ||
63 | margin: 3px 0; | ||
64 | border: 1px solid #aaa; | ||
65 | } | ||
66 | .feed-entry h2 { | ||
67 | font-size: 24px; | ||
68 | line-height: 24px; | ||
69 | margin-bottom: 12px; | ||
70 | } | ||
71 | .feed-entry .entry-title { | ||
72 | color: #404040; | ||
73 | font-weight: bold; | ||
74 | } | ||
75 | .feed-entry .entry-url { | ||
76 | text-decoration: none; | ||
77 | } | ||
78 | </style> | ||
79 | |||
80 | |||
81 | </head> | ||
82 | <body> | ||
83 | <div class="feed-entry" id="feed-entry"> | ||
84 | |||
85 | <a target="_blank" id="entry-url" class="entry-url"><h2 id="entry-title" class="entry-title"></h2></a> | ||
86 | <p id="entry-description" class="entry-description"></p> | ||
87 | </div> | ||
88 | |||
89 | </body> | ||
90 | </html> | ||