Reddit/Reddit.Index.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 16 Dec 2014 09:52:55 +0000 (17:52 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 16 Dec 2014 09:52:55 +0000 (17:52 +0800)
Reddit/Reddit.Index.js

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

index de016fc..72d8b18 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\n<h3>10am</h3>\n<hr />\n\n\n\n<p> some text goes here </o>\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>10:15am</B></small> | <a href=\"#\">/reddit/user</a> |  <a href=\"#\">Download as PDF</a> </p>"
+                                                    "String html" : "\n{feed:r}\n<h3>10am</h3>\n<hr />\n\n\n\n<p> some text goes here </o>\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>10:15am</B></small> | <a href=\"#\">/reddit/user</a> |  <a href=\"#\">Download as PDF</a> </p>"
                                                 }
                                             ]
                                         }
index 9d66a8a..9d0a2fc 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\n<h3>10am</h3>\n<hr />\n\n\n\n<p> some text goes here </o>\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>10:15am</B></small> | <a href=\"#\">/reddit/user</a> |  <a href=\"#\">Download as PDF</a> </p>'
+                                                    html : '\n{feed:r}\n<h3>10am</h3>\n<hr />\n\n\n\n<p> some text goes here </o>\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>10:15am</B></small> | <a href=\"#\">/reddit/user</a> |  <a href=\"#\">Download as PDF</a> </p>'
                                                 }
                                             ]