sync
authorAlan Knowles <alan@roojs.com>
Mon, 8 Dec 2014 07:28:11 +0000 (15:28 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 8 Dec 2014 07:28:11 +0000 (15:28 +0800)
Reddit/Import.php [moved from Pman/Reddit/Import.php with 94% similarity]
Reddit/Reddit.Index.bjs [new file with mode: 0644]
Reddit/Reddit.Index.js [new file with mode: 0644]
Reddit/templates/Reddit.Index.html [new file with mode: 0644]
Reddit/templates/master.html [new file with mode: 0644]
Reddit/templates/reddit.html [new file with mode: 0644]

similarity index 94%
rename from Pman/Reddit/Import.php
rename to Reddit/Import.php
index 3d2ab8e..95da7de 100644 (file)
@@ -3,7 +3,7 @@
 
 require_once 'Pman.php';
 
-class Pman_Reddit_Import extends Pman {
+class Reddit_Import extends Pman {
     
     function getAuth()
     {
diff --git a/Reddit/Reddit.Index.bjs b/Reddit/Reddit.Index.bjs
new file mode 100644 (file)
index 0000000..de016fc
--- /dev/null
@@ -0,0 +1,297 @@
+{
+    "name" : "Reddit.Index",
+    "parent" : "",
+    "title" : "",
+    "path" : "/home/alan/gitlive/web.Reddit/Reddit/Reddit.Index.bjs",
+    "permname" : "",
+    "modOrder" : "001",
+    "items" : [
+        {
+            "xtype" : "Body",
+            "$ xns" : "Roo.bootstrap",
+            "items" : [
+                {
+                    "$ String brand_href" : "baseURL",
+                    "String cls" : "headroom animated",
+                    "String position" : "fixed-top",
+                    "xtype" : "NavHeaderbar",
+                    "Boolean inverse" : true,
+                    "String brand" : "Reddit Archive - Occupy Central Civil Disobedience Movement (Umbrella Revolution)",
+                    "$ xns" : "Roo.bootstrap",
+                    "items" : [
+                        {
+                            "String type" : "nav",
+                            "xtype" : "NavGroup",
+                            "String align" : "right",
+                            "$ xns" : "Roo.bootstrap",
+                            "String style" : "margin-right:20px"
+                        }
+                    ]
+                },
+                {
+                    "xtype" : "Container",
+                    "$ xns" : "Roo.bootstrap",
+                    "String style" : "margin-top:100px",
+                    "items" : [
+                        {
+                            "String tag" : "ol",
+                            "String cls" : "breadcrumb",
+                            "xtype" : "Container",
+                            "$ xns" : "Roo.bootstrap",
+                            "items" : [
+                                {
+                                    "xtype" : "Row",
+                                    "$ xns" : "Roo.bootstrap",
+                                    "items" : [
+                                        {
+                                            "Number md" : 4,
+                                            "xtype" : "Column",
+                                            "Number lg" : 3,
+                                            "$ xns" : "Roo.bootstrap",
+                                            "items" : [
+                                                {
+                                                    "xtype" : "Form",
+                                                    "$ xns" : "Roo.bootstrap",
+                                                    "items" : [
+                                                        {
+                                                            "String cls" : "widget",
+                                                            "xtype" : "Row",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "items" : [
+                                                                {
+                                                                    "String cls" : "col-xs-12",
+                                                                    "xtype" : "Element",
+                                                                    "$ xns" : "Roo.bootstrap"
+                                                                },
+                                                                {
+                                                                    "xtype" : "Column",
+                                                                    "Number xs" : 12,
+                                                                    "$ xns" : "Roo.bootstrap",
+                                                                    "items" : [
+                                                                        {
+                                                                            "xtype" : "Header",
+                                                                            "Number level" : 4,
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "Day selector"
+                                                                        },
+                                                                        {
+                                                                            "String tag" : "p",
+                                                                            "xtype" : "Element",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "Small Calendar here."
+                                                                        },
+                                                                        {
+                                                                            "xtype" : "Element",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "&nbsp;"
+                                                                        },
+                                                                        {
+                                                                            "String tag" : "a",
+                                                                            "String cls" : "col-md-12",
+                                                                            "Boolean preventDefault" : false,
+                                                                            "String weight" : "info",
+                                                                            "xtype" : "Button",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "Download Day as PDF",
+                                                                            "$ String href" : "baseURL + '/TalentMain'"
+                                                                        },
+                                                                        {
+                                                                            "xtype" : "Element",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "&nbsp;"
+                                                                        },
+                                                                        {
+                                                                            "String tag" : "a",
+                                                                            "String cls" : "col-md-12",
+                                                                            "String weight" : "info",
+                                                                            "Boolean preventDefault" : false,
+                                                                            "xtype" : "Button",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "Download All as PDF",
+                                                                            "$ String href" : "baseURL + '/Download'"
+                                                                        }
+                                                                    ]
+                                                                }
+                                                            ]
+                                                        }
+                                                    ]
+                                                }
+                                            ]
+                                        },
+                                        {
+                                            "String cls" : "col-md-8 maincontent",
+                                            "xtype" : "Container",
+                                            "$ xns" : "Roo.bootstrap",
+                                            "items" : [
+                                                {
+                                                    "String tag" : "header",
+                                                    "String cls" : "page-header",
+                                                    "xtype" : "Element",
+                                                    "$ xns" : "Roo.bootstrap",
+                                                    "items" : [
+                                                        {
+                                                            "String cls" : "page-title",
+                                                            "xtype" : "Header",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "Number level" : 1,
+                                                            "String html" : "29 October 2014"
+                                                        }
+                                                    ]
+                                                },
+                                                {
+                                                    "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 cls" : "top-space",
+                    "xtype" : "Container",
+                    "$ xns" : "Roo.bootstrap",
+                    "items" : [
+                        {
+                            "String cls" : "footer1",
+                            "xtype" : "Container",
+                            "$ xns" : "Roo.bootstrap",
+                            "items" : [
+                                {
+                                    "xtype" : "Container",
+                                    "$ xns" : "Roo.bootstrap",
+                                    "items" : [
+                                        {
+                                            "xtype" : "Row",
+                                            "$ xns" : "Roo.bootstrap",
+                                            "items" : [
+                                                {
+                                                    "String cls" : "col-md-3 widget",
+                                                    "xtype" : "Element",
+                                                    "$ xns" : "Roo.bootstrap",
+                                                    "items" : [
+                                                        {
+                                                            "String cls" : "widget-title",
+                                                            "xtype" : "Header",
+                                                            "Number level" : 3,
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "String html" : "Contact"
+                                                        },
+                                                        {
+                                                            "String cls" : "widget-body",
+                                                            "xtype" : "Element",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "items" : [
+                                                                {
+                                                                    "String tag" : "p",
+                                                                    "xtype" : "Element",
+                                                                    "$ xns" : "Roo.bootstrap",
+                                                                    "String html" : "+234 23 9873237\n<br>\n<a href=\"mailto:#\">some.email@somewhere.com</a>\n<br>\n<br>\nThe address goes here   \n\t\t\t\t\t\t\t"
+                                                                }
+                                                            ]
+                                                        }
+                                                    ]
+                                                },
+                                                {
+                                                    "String cls" : "col-md-3 widget",
+                                                    "xtype" : "Element",
+                                                    "$ xns" : "Roo.bootstrap",
+                                                    "items" : [
+                                                        {
+                                                            "String cls" : "widget-title",
+                                                            "xtype" : "Header",
+                                                            "Number level" : 3,
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "String html" : "Follow me"
+                                                        },
+                                                        {
+                                                            "String cls" : "widget-body",
+                                                            "xtype" : "Element",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "items" : [
+                                                                {
+                                                                    "String tag" : "p",
+                                                                    "String cls" : "follow-me-icons",
+                                                                    "xtype" : "Element",
+                                                                    "$ xns" : "Roo.bootstrap",
+                                                                    "items" : [
+                                                                        {
+                                                                            "String tag" : "a",
+                                                                            "xtype" : "Element",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "<i class=\"fa fa-twitter fa-2\"></i>"
+                                                                        },
+                                                                        {
+                                                                            "String tag" : "a",
+                                                                            "xtype" : "Element",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "<i class=\"fa fa-dribbble fa-2\"></i>"
+                                                                        },
+                                                                        {
+                                                                            "String tag" : "a",
+                                                                            "xtype" : "Element",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "<i class=\"fa fa-github fa-2\"></i>"
+                                                                        },
+                                                                        {
+                                                                            "String tag" : "a",
+                                                                            "xtype" : "Element",
+                                                                            "$ xns" : "Roo.bootstrap",
+                                                                            "String html" : "<i class=\"fa fa-facebook fa-2\"></i>"
+                                                                        }
+                                                                    ]
+                                                                }
+                                                            ]
+                                                        }
+                                                    ]
+                                                },
+                                                {
+                                                    "String cls" : "col-md-6 widget",
+                                                    "xtype" : "Element",
+                                                    "$ xns" : "Roo.bootstrap",
+                                                    "items" : [
+                                                        {
+                                                            "String cls" : "widget-title",
+                                                            "xtype" : "Header",
+                                                            "Number level" : 3,
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "String html" : "Our Privacy Statement"
+                                                        },
+                                                        {
+                                                            "String cls" : "widget-body",
+                                                            "xtype" : "Element",
+                                                            "$ xns" : "Roo.bootstrap",
+                                                            "items" : [
+                                                                {
+                                                                    "String tag" : "p",
+                                                                    "xtype" : "Element",
+                                                                    "$ xns" : "Roo.bootstrap",
+                                                                    "String html" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi, dolores, quibusdam architecto voluptatem amet fugiat nesciunt placeat provident cumque accusamus itaque voluptate modi quidem dolore optio velit hic iusto vero praesentium repellat commodi ad id expedita cupiditate repellendus possimus unde?"
+                                                                },
+                                                                {
+                                                                    "String tag" : "p",
+                                                                    "xtype" : "Element",
+                                                                    "$ xns" : "Roo.bootstrap",
+                                                                    "String html" : "Eius consequatur nihil quibusdam! Laborum, rerum, quis, inventore ipsa autem repellat provident assumenda labore soluta minima alias temporibus facere distinctio quas adipisci nam sunt explicabo officia tenetur at ea quos doloribus dolorum voluptate reprehenderit architecto sint libero illo et hic."
+                                                                }
+                                                            ]
+                                                        }
+                                                    ]
+                                                }
+                                            ]
+                                        }
+                                    ]
+                                }
+                            ]
+                        }
+                    ]
+                }
+            ]
+        }
+    ]
+}
\ No newline at end of file
diff --git a/Reddit/Reddit.Index.js b/Reddit/Reddit.Index.js
new file mode 100644 (file)
index 0000000..9d66a8a
--- /dev/null
@@ -0,0 +1,370 @@
+//<script type="text/javascript">
+
+// Auto generated file - created by app.Builder.js- do not edit directly (at present!)
+
+Roo.namespace('Reddit');
+
+Reddit.Index = new Roo.XComponent({
+    part     :  ["Reddit", "Index" ],
+    order    : '001-Reddit.Index',
+    region   : 'center',
+    parent   : false,
+    name     : "unnamed module",
+    disabled : false, 
+    permname : '', 
+    _tree : function()
+    {
+        var _this = this;
+        var MODULE = this;
+        return {
+            '|xns' : 'Roo.bootstrap',
+            xtype : 'Body',
+            xns : Roo.bootstrap,
+            items : [
+               {
+                    '|xns' : 'Roo.bootstrap',
+                    brand_href : baseURL,
+                    cls : 'headroom animated',
+                    position : 'fixed-top',
+                    xtype : 'NavHeaderbar',
+                    inverse : true,
+                    brand : 'Reddit Archive - Occupy Central Civil Disobedience Movement (Umbrella Revolution)',
+                    xns : Roo.bootstrap,
+                    items : [
+                       {
+                            '|xns' : 'Roo.bootstrap',
+                            type : 'nav',
+                            xtype : 'NavGroup',
+                            align : 'right',
+                            xns : Roo.bootstrap,
+                            style : 'margin-right:20px'
+                        }
+                    ]
+
+                },
+               {
+                    '|xns' : 'Roo.bootstrap',
+                    xtype : 'Container',
+                    xns : Roo.bootstrap,
+                    style : 'margin-top:100px',
+                    items : [
+                       {
+                            '|xns' : 'Roo.bootstrap',
+                            tag : 'ol',
+                            cls : 'breadcrumb',
+                            xtype : 'Container',
+                            xns : Roo.bootstrap,
+                            items : [
+                               {
+                                    '|xns' : 'Roo.bootstrap',
+                                    xtype : 'Row',
+                                    xns : Roo.bootstrap,
+                                    items : [
+                                       {
+                                            '|xns' : 'Roo.bootstrap',
+                                            md : 4,
+                                            xtype : 'Column',
+                                            lg : 3,
+                                            xns : Roo.bootstrap,
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.bootstrap',
+                                                    xtype : 'Form',
+                                                    xns : Roo.bootstrap,
+                                                    items : [
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'widget',
+                                                            xtype : 'Row',
+                                                            xns : Roo.bootstrap,
+                                                            items : [
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    cls : 'col-xs-12',
+                                                                    xtype : 'Element',
+                                                                    xns : Roo.bootstrap
+                                                                },
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    xtype : 'Column',
+                                                                    xs : 12,
+                                                                    xns : Roo.bootstrap,
+                                                                    items : [
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            xtype : 'Header',
+                                                                            level : 4,
+                                                                            xns : Roo.bootstrap,
+                                                                            html : 'Day selector'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            tag : 'p',
+                                                                            xtype : 'Element',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : 'Small Calendar here.'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            xtype : 'Element',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : '&nbsp;'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            tag : 'a',
+                                                                            cls : 'col-md-12',
+                                                                            preventDefault : false,
+                                                                            weight : 'info',
+                                                                            xtype : 'Button',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : 'Download Day as PDF',
+                                                                            href : baseURL + '/TalentMain'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            xtype : 'Element',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : '&nbsp;'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            tag : 'a',
+                                                                            cls : 'col-md-12',
+                                                                            weight : 'info',
+                                                                            preventDefault : false,
+                                                                            xtype : 'Button',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : 'Download All as PDF',
+                                                                            href : baseURL + '/Download'
+                                                                        }
+                                                                    ]
+
+                                                                }
+                                                            ]
+
+                                                        }
+                                                    ]
+
+                                                }
+                                            ]
+
+                                        },
+                                       {
+                                            '|xns' : 'Roo.bootstrap',
+                                            cls : 'col-md-8 maincontent',
+                                            xtype : 'Container',
+                                            xns : Roo.bootstrap,
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.bootstrap',
+                                                    tag : 'header',
+                                                    cls : 'page-header',
+                                                    xtype : 'Element',
+                                                    xns : Roo.bootstrap,
+                                                    items : [
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'page-title',
+                                                            xtype : 'Header',
+                                                            xns : Roo.bootstrap,
+                                                            level : 1,
+                                                            html : '29 October 2014'
+                                                        }
+                                                    ]
+
+                                                },
+                                               {
+                                                    '|xns' : 'Roo.bootstrap',
+                                                    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>'
+                                                }
+                                            ]
+
+                                        }
+                                    ]
+
+                                }
+                            ]
+
+                        }
+                    ]
+
+                },
+               {
+                    '|xns' : 'Roo.bootstrap',
+                    cls : 'top-space',
+                    xtype : 'Container',
+                    xns : Roo.bootstrap,
+                    items : [
+                       {
+                            '|xns' : 'Roo.bootstrap',
+                            cls : 'footer1',
+                            xtype : 'Container',
+                            xns : Roo.bootstrap,
+                            items : [
+                               {
+                                    '|xns' : 'Roo.bootstrap',
+                                    xtype : 'Container',
+                                    xns : Roo.bootstrap,
+                                    items : [
+                                       {
+                                            '|xns' : 'Roo.bootstrap',
+                                            xtype : 'Row',
+                                            xns : Roo.bootstrap,
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.bootstrap',
+                                                    cls : 'col-md-3 widget',
+                                                    xtype : 'Element',
+                                                    xns : Roo.bootstrap,
+                                                    items : [
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'widget-title',
+                                                            xtype : 'Header',
+                                                            level : 3,
+                                                            xns : Roo.bootstrap,
+                                                            html : 'Contact'
+                                                        },
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'widget-body',
+                                                            xtype : 'Element',
+                                                            xns : Roo.bootstrap,
+                                                            items : [
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    tag : 'p',
+                                                                    xtype : 'Element',
+                                                                    xns : Roo.bootstrap,
+                                                                    html : '+234 23 9873237\n<br>\n<a href=\"mailto:#\">some.email@somewhere.com</a>\n<br>\n<br>\nThe address goes here   \n\t\t\t\t\t\t\t'
+                                                                }
+                                                            ]
+
+                                                        }
+                                                    ]
+
+                                                },
+                                               {
+                                                    '|xns' : 'Roo.bootstrap',
+                                                    cls : 'col-md-3 widget',
+                                                    xtype : 'Element',
+                                                    xns : Roo.bootstrap,
+                                                    items : [
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'widget-title',
+                                                            xtype : 'Header',
+                                                            level : 3,
+                                                            xns : Roo.bootstrap,
+                                                            html : 'Follow me'
+                                                        },
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'widget-body',
+                                                            xtype : 'Element',
+                                                            xns : Roo.bootstrap,
+                                                            items : [
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    tag : 'p',
+                                                                    cls : 'follow-me-icons',
+                                                                    xtype : 'Element',
+                                                                    xns : Roo.bootstrap,
+                                                                    items : [
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            tag : 'a',
+                                                                            xtype : 'Element',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : '<i class=\"fa fa-twitter fa-2\"></i>'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            tag : 'a',
+                                                                            xtype : 'Element',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : '<i class=\"fa fa-dribbble fa-2\"></i>'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            tag : 'a',
+                                                                            xtype : 'Element',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : '<i class=\"fa fa-github fa-2\"></i>'
+                                                                        },
+                                                                       {
+                                                                            '|xns' : 'Roo.bootstrap',
+                                                                            tag : 'a',
+                                                                            xtype : 'Element',
+                                                                            xns : Roo.bootstrap,
+                                                                            html : '<i class=\"fa fa-facebook fa-2\"></i>'
+                                                                        }
+                                                                    ]
+
+                                                                }
+                                                            ]
+
+                                                        }
+                                                    ]
+
+                                                },
+                                               {
+                                                    '|xns' : 'Roo.bootstrap',
+                                                    cls : 'col-md-6 widget',
+                                                    xtype : 'Element',
+                                                    xns : Roo.bootstrap,
+                                                    items : [
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'widget-title',
+                                                            xtype : 'Header',
+                                                            level : 3,
+                                                            xns : Roo.bootstrap,
+                                                            html : 'Our Privacy Statement'
+                                                        },
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            cls : 'widget-body',
+                                                            xtype : 'Element',
+                                                            xns : Roo.bootstrap,
+                                                            items : [
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    tag : 'p',
+                                                                    xtype : 'Element',
+                                                                    xns : Roo.bootstrap,
+                                                                    html : 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi, dolores, quibusdam architecto voluptatem amet fugiat nesciunt placeat provident cumque accusamus itaque voluptate modi quidem dolore optio velit hic iusto vero praesentium repellat commodi ad id expedita cupiditate repellendus possimus unde?'
+                                                                },
+                                                               {
+                                                                    '|xns' : 'Roo.bootstrap',
+                                                                    tag : 'p',
+                                                                    xtype : 'Element',
+                                                                    xns : Roo.bootstrap,
+                                                                    html : 'Eius consequatur nihil quibusdam! Laborum, rerum, quis, inventore ipsa autem repellat provident assumenda labore soluta minima alias temporibus facere distinctio quas adipisci nam sunt explicabo officia tenetur at ea quos doloribus dolorum voluptate reprehenderit architecto sint libero illo et hic.'
+                                                                }
+                                                            ]
+
+                                                        }
+                                                    ]
+
+                                                }
+                                            ]
+
+                                        }
+                                    ]
+
+                                }
+                            ]
+
+                        }
+                    ]
+
+                }
+            ]
+
+        };    }
+});
diff --git a/Reddit/templates/Reddit.Index.html b/Reddit/templates/Reddit.Index.html
new file mode 100644 (file)
index 0000000..397bf36
--- /dev/null
@@ -0,0 +1,131 @@
+  
+       
+         
+    
+
+        
+  <HEADER class="navbar navbar-inverse navbar-fixed-top headroom animated" role="navigation" xbuilderid="roo-gen2" xtype="Roo.bootstrap.NavHeaderbar">
+    <DIV class="navbar-header">
+      <BUTTON type="button" class="navbar-toggle" data-toggle="collapse" xbuilderid="roo-gen3">
+        <SPAN class="sr-only">Toggle navigation</SPAN>
+        <SPAN class="icon-bar"></SPAN>
+        <SPAN class="icon-bar"></SPAN>
+        <SPAN class="icon-bar"></SPAN>
+      </BUTTON>
+      <A href="http://localhost/" class="navbar-brand">Reddit Archive - Occupy Central Civil Disobedience Movement (Umbrella Revolution)</A>
+    </DIV>
+    <DIV class="collapse navbar-collapse" xbuilderid="roo-gen6">
+      <UL class="nav navbar-nav navbar-right" xbuilderid="roo-gen7" style="margin-right: 20px;" xtype="Roo.bootstrap.NavGroup"></UL>
+    </DIV>
+    <DIV class="x-dlg-mask" xbuilderid="roo-gen5" style="width: 1289px; height: 100px; display: none;"></DIV>
+  </HEADER>
+  <DIV class="container" xbuilderid="roo-gen8" style="margin-top: 100px;" xtype="Roo.bootstrap.Container">
+    <OL class=" breadcrumb" xbuilderid="roo-gen9" xtype="Roo.bootstrap.Container">
+      <DIV class="row clearfix" xbuilderid="roo-gen10" xtype="Roo.bootstrap.Row">
+        <DIV class="column col-md-4 col-lg-3" xbuilderid="roo-gen11" xtype="Roo.bootstrap.Column">
+          <FORM method="POST" xbuilderid="roo-gen12" class="" xtype="Roo.bootstrap.Form">
+            <DIV class="row clearfix widget" xbuilderid="roo-gen15" xtype="Roo.bootstrap.Row">
+              <DIV class="col-xs-12 col-xs-12" xbuilderid="roo-gen16" xtype="Roo.bootstrap.Element"></DIV>
+              <DIV class="column col-xs-12" xbuilderid="roo-gen17" xtype="Roo.bootstrap.Column">
+                <H4 xbuilderid="roo-gen18" xtype="Roo.bootstrap.Header">Day selector</H4>
+                <P class="" xbuilderid="roo-gen19" xtype="Roo.bootstrap.Element">Small Calendar here.</P>
+                <DIV class="" xbuilderid="roo-gen20" xtype="Roo.bootstrap.Element"> </DIV>
+                <A class="btn roo-button btn-info col-md-12" href="http://localhost//TalentMain" xbuilderid="roo-gen21" xtype="Roo.bootstrap.Button">
+                  <SPAN class="roo-button-text">Download Day as PDF</SPAN>
+                </A>
+                <DIV class="" xbuilderid="roo-gen23" xtype="Roo.bootstrap.Element"> </DIV>
+                <A class="btn roo-button btn-info col-md-12" href="http://localhost//Download" xbuilderid="roo-gen24" xtype="Roo.bootstrap.Button">
+                  <SPAN class="roo-button-text">Download All as PDF</SPAN>
+                </A>
+              </DIV>
+            </DIV>
+          </FORM>
+        </DIV>
+        <DIV class=" col-md-8 maincontent" xbuilderid="roo-gen26" xtype="Roo.bootstrap.Container">
+          <HEADER class="page-header page-header" xbuilderid="roo-gen27" xtype="Roo.bootstrap.Element">
+            <H1 xbuilderid="roo-gen28" class="page-title" xtype="Roo.bootstrap.Header">29 October 2014</H1>
+          </HEADER>
+          <P class="" xbuilderid="roo-gen29">
+
+</P>
+          <H3>10am</H3>
+
+          <HR></HR>
+
+
+
+
+          <P> some text goes here 
+
+</P>
+          <P> the image associated with it goes here </P>
+
+          <P>
+            <A href="#">{original url}</A> 
+          </P>
+
+
+
+          <P> 
+            <SMALL>
+              <B>10:15am</B>
+            </SMALL> | 
+            <A href="#">/reddit/user</A> |  
+            <A href="#">Download as PDF</A> 
+          </P>
+          <P xbuilderid="roo-gen30" xtype="Roo.bootstrap.Element"></P>
+        </DIV>
+      </DIV>
+    </OL>
+  </DIV>
+  <DIV class=" top-space" xbuilderid="roo-gen31" xtype="Roo.bootstrap.Container">
+    <DIV class=" footer1" xbuilderid="roo-gen32" xtype="Roo.bootstrap.Container">
+      <DIV class="container" xbuilderid="roo-gen33" xtype="Roo.bootstrap.Container">
+        <DIV class="row clearfix" xbuilderid="roo-gen34" xtype="Roo.bootstrap.Row">
+          <DIV class="col-md-3 widget col-md-3 widget" xbuilderid="roo-gen35" xtype="Roo.bootstrap.Element">
+            <H3 xbuilderid="roo-gen36" class="widget-title" xtype="Roo.bootstrap.Header">Contact</H3>
+            <DIV class="widget-body widget-body" xbuilderid="roo-gen37" xtype="Roo.bootstrap.Element">
+              <P class="" xbuilderid="roo-gen38" xtype="Roo.bootstrap.Element">+234 23 9873237
+
+                <BR/>
+
+                <A href="mailto:#">some.email@somewhere.com</A>
+
+                <BR/>
+
+                <BR/>
+The address goes here   
+                                                       
+              </P>
+            </DIV>
+          </DIV>
+          <DIV class="col-md-3 widget col-md-3 widget" xbuilderid="roo-gen39" xtype="Roo.bootstrap.Element">
+            <H3 xbuilderid="roo-gen40" class="widget-title" xtype="Roo.bootstrap.Header">Follow me</H3>
+            <DIV class="widget-body widget-body" xbuilderid="roo-gen41" xtype="Roo.bootstrap.Element">
+              <P class="follow-me-icons follow-me-icons" xbuilderid="roo-gen42" xtype="Roo.bootstrap.Element">
+                <A class="" xbuilderid="roo-gen43" xtype="Roo.bootstrap.Element">
+                  <I class="fa fa-twitter fa-2"></I>
+                </A>
+                <A class="" xbuilderid="roo-gen44" xtype="Roo.bootstrap.Element">
+                  <I class="fa fa-dribbble fa-2"></I>
+                </A>
+                <A class="" xbuilderid="roo-gen45" xtype="Roo.bootstrap.Element">
+                  <I class="fa fa-github fa-2"></I>
+                </A>
+                <A class="" xbuilderid="roo-gen46" xtype="Roo.bootstrap.Element">
+                  <I class="fa fa-facebook fa-2"></I>
+                </A>
+              </P>
+            </DIV>
+          </DIV>
+          <DIV class="col-md-6 widget col-md-6 widget" xbuilderid="roo-gen47" xtype="Roo.bootstrap.Element">
+            <H3 xbuilderid="roo-gen48" class="widget-title" xtype="Roo.bootstrap.Header">Our Privacy Statement</H3>
+            <DIV class="widget-body widget-body" xbuilderid="roo-gen49" xtype="Roo.bootstrap.Element">
+              <P class="" xbuilderid="roo-gen50" xtype="Roo.bootstrap.Element">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Excepturi, dolores, quibusdam architecto voluptatem amet fugiat nesciunt placeat provident cumque accusamus itaque voluptate modi quidem dolore optio velit hic iusto vero praesentium repellat commodi ad id expedita cupiditate repellendus possimus unde?</P>
+              <P class="" xbuilderid="roo-gen51" xtype="Roo.bootstrap.Element">Eius consequatur nihil quibusdam! Laborum, rerum, quis, inventore ipsa autem repellat provident assumenda labore soluta minima alias temporibus facere distinctio quas adipisci nam sunt explicabo officia tenetur at ea quos doloribus dolorum voluptate reprehenderit architecto sint libero illo et hic.</P>
+            </DIV>
+          </DIV>
+        </DIV>
+      </DIV>
+    </DIV>
+  </DIV>
diff --git a/Reddit/templates/master.html b/Reddit/templates/master.html
new file mode 100644 (file)
index 0000000..4e95a88
--- /dev/null
@@ -0,0 +1,99 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:html="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 
+
+   <title> </title>
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+
+   <meta name="google" value="notranslate">
+    
+   <link href="{rootURL}/bootswatch/Progressus/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />  
+    <link href="{rootURL}/bootswatch/AdminLTE-master/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> 
+    
+    
+    <link href="{rootURL}/bootswatch/Progressus/assets/css/bootstrap-theme.css" rel="stylesheet" type="text/css" /> 
+    <link href="{rootURL}/bootswatch/Progressus/assets/css/main-cls.css" rel="stylesheet" type="text/css" /> 
+    <!--   <link href="http://localhost/bootswatch/AdminLTE-master/css/AdminLTE.css" rel="stylesheet" type="text/css" /> -->
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/datepicker.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/mask.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/calendar.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/sticky-footer.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/combobox.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/checkbox.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/tweaks.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/table.css">
+    <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/select2.css">
+
+      
+            
+        <link rel="stylesheet" href="{rootURL}/roojs1/css-bootstrap/font-awesome.css">
+         
+  
+    <head>
+      
+        
+        
+    <body class="" xtype="Roo.bootstrap.Body">
+        
+        {outputBody()}
+         
+        <!-- for testing -->
+        
+    </body>
+    
+    <flexy:toJSON
+        baseURL="baseURL"    
+        rootURL="rootURL"
+       
+    ></flexy:toJSON>
+    
+    <script src="{rootURL}/roojs1/roojs-core-debug.js" type="text/javascript"></script>
+    <script src="{rootURL}/roojs1/roojs-bootstrap-debug.js" type="text/javascript"></script>
+    
+    <script type="text/javascript">
+        Hydra = { Dialog : {} };
+        Pman = {};
+        Roo.rootURL = rootURL +'/roojs1/';
+    </script>
+    
+    <script type="text/javascript" src="{rootURL}/Pman/Core/Pman.Download.js"></script>
+    
+    <script type="text/javascript" src="/Pman.Core/Pman.Request.js"></script>
+
+    <!-- <script type="text/javascript" src="/g.raphael/raphael-min.js"></script>
+    <script type="text/javascript" src="/g.raphael/g.raphael.0.51.js"></script>
+    <script type="text/javascript" src="/g.raphael/g.bar.0.51.js"></script>
+    <script type="text/javascript" src="/g.raphael/g.pie.js"></script>
+
+    <script type="text/javascript" src="{rootURL}/roojs1/Roo/bootstrap/dash/NumberBox.js"></script>
+    <script type="text/javascript" src="{rootURL}/roojs1/Roo/bootstrap/dash/TabBox.js"></script>
+    <script type="text/javascript" src="{rootURL}/roojs1/Roo/bootstrap/dash/TabPane.js"></script>
+    <script type="text/javascript" src="{rootURL}/roojs1/Roo/bootstrap/dash/TabGroup.js"></script>
+    <script type="text/javascript" src="{rootURL}/roojs1/Roo/bootstrap/dash/TabItem.js"></script>
+    <script type="text/javascript" src="{rootURL}/roojs1/Roo/bootstrap/Graph.js"></script>
+-->
+    <script type="text/javascript" src="{rootURL}/Hydra/Hydra.Header.js"></script>
+    <script type="text/javascript" src="{rootURL}/Hydra/Hydra.Footer.js"></script>
+        {outputJavascriptIncludes()}
+        
+        
+ <script type="text/javascript">
+//     Roo.debug = 1;
+    
+    Roo.XComponent.hideProgress = true;
+    Roo.XComponent.build();
+    Roo.XComponent.on('buildcomplete', function() {
+        try {
+            var length = Roo.XComponent.modules.length;
+            Roo.XComponent.modules[length - 1].el.fireEvent('render');
+            
+        } catch(e) {}
+         
+    });
+    
+    
+    
+ </script>
+<!--<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4de34a7510c1e36e"></script>-->
+</html>
diff --git a/Reddit/templates/reddit.html b/Reddit/templates/reddit.html
new file mode 100644 (file)
index 0000000..ff31375
--- /dev/null
@@ -0,0 +1,39 @@
+<head>
+    
+    <title>[live] Occupy Central Civil Disobedience Movement (Umbrella Revolution)</title>
+    <link rel="stylesheet" type="text/css" href="//www.redditstatic.com/reddit.mLSG3fve1T8.css" media="all">
+    <link rel="stylesheet" type="text/css" href="//www.redditstatic.com/old-markdown.Lcx8i-O12_8.css" media="all">
+    <link rel="stylesheet" type="text/css" href="//www.redditstatic.com/liveupdate.Prtaco0M08M.css" media="all">
+    
+    </head>
+    <body>
+        
+        <ol class="liveupdate-listing">
+                
+            <li flexy:foreach="feed,r" data-fullname="LiveUpdate_{r.uid}"
+                class="liveupdate id-LiveUpdate_{r.uid}">
+                <a href="/live/tnc30xhiiqom/updates/{r.uid}" target="_blank">
+                    <time title="{r.created_local_dt}" datetime="{r.created_local_dt}" class="live-timestamp">{r.created_local_dt}</time>
+                </a>
+                <div class="body">
+                    
+                    {r.body_html:h}
+                    
+                    <div class="md" flexy:if="r.url()">
+                        <iframe class="embedFrame" id="embed-LiveUpdate_{r.uid}"
+                                src="//www.redditmedia.com/mediaembed/liveupdate/tnc30xhiiqom/LiveUpdate_{r.uid}/0"
+                                height="300"
+                                width="800"
+                                scrolling="no"
+                                frameborder="0"></iframe>
+                    </div>
+                    
+                    <br/>
+                    <a href="/user/{r.author}" class="author" data-name="{r.author}">/u/{r.author}</a>
+                </div>
+            </li>
+        </ol>
+        
+
+    </body>
+</html>
\ No newline at end of file