Reddit/Reddit.Index.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 23 Dec 2014 08:21:39 +0000 (16:21 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 23 Dec 2014 08:21:39 +0000 (16:21 +0800)
Reddit/Reddit.Index.js

Reddit/Reddit.Index.bjs
Reddit/Reddit.Index.js

index 3cdc426..0547be1 100644 (file)
@@ -12,8 +12,8 @@
             "items" : [
                 {
                     "$ String brand_href" : "baseURL",
-                    "String cls" : "headroom animated",
                     "String position" : "fixed-top",
+                    "String cls" : "headroom animated",
                     "xtype" : "NavHeaderbar",
                     "Boolean inverse" : true,
                     "String brand" : "Reddit Archive - Occupy Central Civil Disobedience Movement (Umbrella Revolution)",
@@ -45,8 +45,8 @@
                                     "items" : [
                                         {
                                             "Number md" : 4,
-                                            "xtype" : "Column",
                                             "Number lg" : 3,
+                                            "xtype" : "Column",
                                             "$ xns" : "Roo.bootstrap",
                                             "items" : [
                                                 {
@@ -70,8 +70,8 @@
                                                                     "items" : [
                                                                         {
                                                                             "xtype" : "Header",
-                                                                            "Number level" : 4,
                                                                             "$ xns" : "Roo.bootstrap",
+                                                                            "Number level" : 4,
                                                                             "String html" : "Day selector"
                                                                         },
                                                                         {
                                                     "String tag" : "p",
                                                     "xtype" : "Element",
                                                     "$ xns" : "Roo.bootstrap",
-                                                    "String html" : "\n<!-- {feed:r} -->\n<style>\n.feed-body-html a { display:none }\n</style>\n\n<div flexy:foreach=\"feed,f\">\n\n<!-- <h3>10am</h3> -->\n<hr />\n\n\n\n<div class=\"feed-body-html\"> {f.body_html:h} </div>\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.created_local_dt}</B></small> | <a href=\"#\">/reddit/{f.author}</a> |  <a href=\"#\">Download as PDF</a> </p>\n</div>"
+                                                    "String html" : "\n<!-- {feed:r} -->\n<style>\n.feed-body-html a { display:none }\n</style>\n\n\n\n<div flexy:foreach=\"feed,f\">\n\n    <!-- <h3>10am</h3> -->\n    <hr />\n\n\n\n    <div class=\"feed-body-html\"> {f.body_html:h} </div>\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.created_local_dt}</B></small> | <a href=\"#\">/reddit/{f.author}</a> |  <a href=\"#\">Download as PDF</a> </p>\n</div>"
                                                 }
                                             ]
                                         }
index d9fc912..f312be4 100644 (file)
@@ -24,8 +24,8 @@ Reddit.Index = new Roo.XComponent({
                {
                     '|xns' : 'Roo.bootstrap',
                     brand_href : baseURL,
-                    cls : 'headroom animated',
                     position : 'fixed-top',
+                    cls : 'headroom animated',
                     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,
-                                            xtype : 'Column',
                                             lg : 3,
+                                            xtype : 'Column',
                                             xns : Roo.bootstrap,
                                             items : [
                                                {
@@ -93,8 +93,8 @@ Reddit.Index = new Roo.XComponent({
                                                                        {
                                                                             '|xns' : 'Roo.bootstrap',
                                                                             xtype : 'Header',
-                                                                            level : 4,
                                                                             xns : Roo.bootstrap,
+                                                                            level : 4,
                                                                             html : 'Day selector'
                                                                         },
                                                                        {
@@ -179,7 +179,7 @@ Reddit.Index = new Roo.XComponent({
                                                     tag : 'p',
                                                     xtype : 'Element',
                                                     xns : Roo.bootstrap,
-                                                    html : '\n<!-- {feed:r} -->\n<style>\n.feed-body-html a { display:none }\n</style>\n\n<div flexy:foreach=\"feed,f\">\n\n<!-- <h3>10am</h3> -->\n<hr />\n\n\n\n<div class=\"feed-body-html\"> {f.body_html:h} </div>\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.created_local_dt}</B></small> | <a href=\"#\">/reddit/{f.author}</a> |  <a href=\"#\">Download as PDF</a> </p>\n</div>'
+                                                    html : '\n<!-- {feed:r} -->\n<style>\n.feed-body-html a { display:none }\n</style>\n\n\n\n<div flexy:foreach=\"feed,f\">\n\n    <!-- <h3>10am</h3> -->\n    <hr />\n\n\n\n    <div class=\"feed-body-html\"> {f.body_html:h} </div>\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.created_local_dt}</B></small> | <a href=\"#\">/reddit/{f.author}</a> |  <a href=\"#\">Download as PDF</a> </p>\n</div>'
                                                 }
                                             ]