Reader/Feed.bjs
[web.Reader] / Reader / Feed.bjs
1 {
2  "name" : "Feed",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/alan/gitlive/web.Reader/Reader/Feed.bjs",
6  "permname" : "",
7  "modOrder" : "",
8  "strings" : {
9   "8287b137f969bcae66ca51f7abf14308" : "Show Previously Read ",
10   "d9cd9f7b44e0493c9604e9f8fb7a6c07" : "Mark All Read",
11   "b7436cc90ecf26f15baeead978f09040" : "name of feed",
12   "83ca9a18d9507324a9453c92a7420dd2" : "Report Issue"
13  },
14  "items" : [
15   {
16    "xtype" : "Body",
17    "$ xns" : "Roo.bootstrap",
18    "items" : [
19     {
20      "String tag" : "div",
21      "xtype" : "Element",
22      "$ xns" : "Roo.bootstrap",
23      "String html" : "name of feed",
24      "String style" : "font-weight: bold;\nfont-size: 22px;\n \nposition: absolute;\nleft: 100px;\ntop: 10px;\nz-Index: 1000;\ncolor: white;"
25     },
26     {
27      "$ String brand_href" : "baseURL + '/Feeds'",
28      "xtype" : "NavHeaderbar",
29      "Boolean inverse" : true,
30      "String brand" : "<i class=\"fa fa-chevron-left\"></i> Feeds",
31      "$ xns" : "Roo.bootstrap",
32      "items" : [
33       {
34        "xtype" : "NavGroup",
35        "String align" : "right",
36        "$ xns" : "Roo.bootstrap",
37        "items" : [
38         {
39          "xtype" : "NavItem",
40          "$ xns" : "Roo.bootstrap",
41          "String html" : "Mark All Read"
42         },
43         {
44          "xtype" : "NavItem",
45          "$ xns" : "Roo.bootstrap",
46          "String html" : "Show Previously Read "
47         },
48         {
49          "xtype" : "NavItem",
50          "$ xns" : "Roo.bootstrap",
51          "String html" : "Report Issue"
52         }
53        ]
54       }
55      ]
56     },
57     {
58      "listeners" : {
59       "render" : "function (_self)\n{\n    this.store.load({});\n}"
60      },
61      "boolean striped" : true,
62      "boolean hover" : true,
63      "boolean responsive" : true,
64      "xtype" : "Table",
65      "Boolean thead" : false,
66      "$ xns" : "Roo.bootstrap",
67      "items" : [
68       {
69        "listeners" : {
70         "beforeload" : "function (_self, o)\n{\n    o.params = o.params || {};\n    o.params.feed = 83;\n}"
71        },
72        "xtype" : "Store",
73        "boolean remoteSort" : true,
74        "$ xns" : "Roo.data",
75        "* prop" : "store",
76        "items" : [
77         {
78          "xtype" : "HttpProxy",
79          "$ xns" : "Roo.data",
80          "String method" : "GET",
81          "* prop" : "proxy",
82          "$ String url" : "baseURL + '/Api/Reader_read'"
83         },
84         {
85          "$ Array fields" : "[\n        \"id\",\n            \"article_id\",\n            \"has_read\",\n            \"article_id_id\" ,\n            \"article_id_published_dt\" ,\n            \"article_id_headline\" ,\n            \"article_id_body\" ,\n            \"article_id_real_url\" \n        ]\n    ",
86          "xtype" : "JsonReader",
87          "$ xns" : "Roo.data",
88          "* prop" : "reader"
89         }
90        ]
91       },
92       {
93        "String dataIndex" : "article_id_headline",
94        "$ Function renderer" : "function(v,x,r) {\n   \n   return String.format(\n            '<h3>{0}</h3><small>{1}</small><i class=\"rss-list-body\">{2}</i>' + \n                '<span class=\"badge\">{3}</span><i class=\"fa fa-chevron-right\"></i>',\n        r.data.article_id_headline,\n        r.data.article_id_published_dt,\n        r.data.article_id_body_txt,\n        r.data.has_read ? \"Read\" : ''\n    );\n            \n\n\n }",
95        "xtype" : "ColumnModel",
96        "$ xns" : "Roo.grid",
97        "* prop" : "cm[]"
98       }
99      ]
100     }
101    ]
102   }
103  ]
104 }