Reddit/Reddit.Index.bjs
[web.Reddit] / Reddit / Reddit.Index.js
index 1019443..c78a678 100644 (file)
@@ -24,8 +24,8 @@ Reddit.Index = new Roo.XComponent({
                {
                     '|xns' : 'Roo.bootstrap',
                     brand_href : baseURL,
-                    position : 'fixed-top',
                     cls : 'headroom animated',
+                    position : 'fixed-top',
                     xtype : 'NavHeaderbar',
                     inverse : true,
                     brand : 'Reddit Archive - Occupy Central Civil Disobedience Movement (Umbrella Revolution)',
@@ -63,8 +63,8 @@ Reddit.Index = new Roo.XComponent({
                                        {
                                             '|xns' : 'Roo.bootstrap',
                                             md : 4,
-                                            lg : 3,
                                             xtype : 'Column',
+                                            lg : 3,
                                             xns : Roo.bootstrap,
                                             items : [
                                                {
@@ -93,8 +93,8 @@ Reddit.Index = new Roo.XComponent({
                                                                        {
                                                                             '|xns' : 'Roo.bootstrap',
                                                                             xtype : 'Header',
-                                                                            xns : Roo.bootstrap,
                                                                             level : 4,
+                                                                            xns : Roo.bootstrap,
                                                                             html : 'Day selector'
                                                                         },
                                                                        {
@@ -179,7 +179,7 @@ Reddit.Index = new Roo.XComponent({
                                                     tag : 'p',
                                                     xtype : 'Element',
                                                     xns : Roo.bootstrap,
-                                                    html : '\n<!-- {feed:r} -->\n\n<div flexy:foreach=\"feed,f\">\n\n<!-- <h3>10am</h3> -->\n<hr />\n\n\n\n<p> {r.body_html:h} </p>\n\n\n\n<p> the image associated with it goes here </p>\n<p><a href=\"#\">{original url}</a> </p>\n\n\n<p> <small><B>{r.creaded_local_dt}</B></small> | <a href=\"#\">/reddit/{r.author}</a> |  <a href=\"#\">Download as PDF</a> </p>\n</div>'
+                                                    html : '\n<!-- {feed:r} -->\n\n<div flexy:foreach=\"feed,f\">\n\n<!-- <h3>10am</h3> -->\n<hr />\n\n\n\n<p> {f.body_html:h} </p>\n\n<div flexy:foreach=\"f.embeds,e\">\n\n</div>\n<p> the image associated with it goes here </p>\n<p><a href=\"#\">{e.original url}</a> </p>\n\n\n<p> <small><B>{f.creaded_local_dt}</B></small> | <a href=\"#\">/reddit/{f.author}</a> |  <a href=\"#\">Download as PDF</a> </p>\n</div>'
                                                 }
                                             ]