Guest User

Untitled

a guest
Apr 13th, 2017
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.49 KB | None | 0 0
  1. {
  2. "$jason": {
  3. "head": {
  4. "title": "demo travel guide",
  5. "actions": {
  6. "$foreground": {
  7. "type": "$reload"
  8. },
  9. "$pull": {
  10. "type": "$reload"
  11. }
  12. },
  13. "data": {
  14. "tweets": [
  15. {
  16. "text": "test1111",
  17. "image": "https://upload.wikimedia.org/wikipedia/commons/d/d2/Chennai_train_station.jpg"
  18. },
  19. {
  20. "text": "test222222",
  21. "image": "https://upload.wikimedia.org/wikipedia/commons/d/d2/Chennai_train_station.jpg"
  22. }
  23. ]
  24. }
  25. },
  26.  
  27. "body": {
  28. "header": {
  29. "title": {
  30. "type": "label",
  31. "text": "Travel Chennai App",
  32. "style": {
  33. "width": "80",
  34. "height": "50",
  35. "background": "#ff0000",
  36. "color": "#ffffff",
  37. "align": "center"
  38.  
  39. }
  40. }
  41. },
  42. "sections": [
  43. {
  44.  
  45. "items": [
  46.  
  47. {
  48. "type": "vertical",
  49. "components": [
  50. {
  51. "type": "image",
  52. "url": "http://www.livemint.com/rf/Image-621x414/LiveMint/Period1/2015/12/26/Photos/photo-kcYB--621x414@LiveMint.jpg",
  53. "href": {
  54. "url": "https://en.wikipedia.org/wiki/Marina_Beach",
  55. "view": "Web"
  56. },
  57. "style": {
  58. "width": "100%",
  59. "height": "200"
  60. }
  61. },
  62. {
  63. "type": "label",
  64. "text": "Marina Beach",
  65. "style": {
  66. "color": "#000000",
  67. "size": "15",
  68. "align": "center"
  69. }
  70. }
  71. ]
  72. },
  73. {
  74. "type": "map",
  75. "region": {
  76. "coord": "13.054576, 80.283835",
  77. "width": "600",
  78. "height": "600"
  79. },
  80. "pins": [
  81. {
  82. "title": "Marina Beach",
  83. "coord": "13.054576, 80.283835",
  84. "style": {
  85. "selected": "true"
  86. }
  87. }
  88. ],
  89. "style": {
  90. "width": "100%",
  91. "height": "200"
  92. }
  93. },
  94. {
  95. "type": "vertical",
  96. "components": [
  97. {
  98. "type": "image",
  99. "url": "http://www.remotetraveler.com/wp-content/uploads/2014/10/Kapaleeshwarar-Temple-Chennai.jpg",
  100. "href": {
  101. "url": "https://en.wikipedia.org/wiki/Kapaleeshwarar_Temple",
  102. "view": "Web"
  103. },
  104. "style": {
  105. "width": "100%",
  106. "height": "200"
  107. }
  108. },
  109. {
  110. "type": "label",
  111. "text": "Kapaleeshwarar Temple",
  112. "style": {
  113. "align": "center"
  114. }
  115. }
  116. ]
  117. },
  118. {
  119. "type": "map",
  120. "region": {
  121. "coord": "13.033627, 80.270190",
  122. "width": "200",
  123. "height": "200"
  124. },
  125. "pins": [
  126. {
  127. "title": "Kapaleeshwarar Temple",
  128. "coord": "13.033627, 80.270190",
  129. "style": {
  130. "selected": "true"
  131. }
  132. }
  133. ],
  134. "style": {
  135. "width": "100%",
  136. "height": "200"
  137. }
  138. },
  139. {
  140. "type": "vertical",
  141. "components": [
  142. {
  143. "type": "image",
  144. "url": "https://upload.wikimedia.org/wikipedia/commons/d/d2/Chennai_train_station.jpg",
  145. "href": {
  146. "url": "https://en.wikipedia.org/wiki/Chennai_Central_railway_station",
  147. "view": "Web"
  148. },
  149. "style": {
  150. "width": "100%",
  151. "height": "200"
  152. }
  153. },
  154. {
  155. "type": "label",
  156. "text": "Chennai Train Station",
  157. "style": {
  158. "align": "center"
  159. }
  160. }
  161. ]
  162. },
  163. {
  164. "type": "map",
  165. "region": {
  166. "coord": "13.086957, 80.275044",
  167. "width": "600",
  168. "height": "600"
  169. },
  170. "pins": [
  171. {
  172. "title": "Chennai Train Station",
  173. "coord": "13.086957, 80.275044",
  174. "style": {
  175. "selected": "true"
  176. }
  177. }
  178. ],
  179. "style": {
  180. "width": "100%",
  181. "height": "200"
  182. }
  183. },
  184. {
  185. "type": "vertical",
  186. "components": [
  187. {
  188. "type": "image",
  189. "url": "https://upload.wikimedia.org/wikipedia/commons/6/69/Chennai_National_Art_Gallery.jpg",
  190. "href": {
  191. "url": "https://en.wikipedia.org/wiki/The_National_Art_Gallery_(Chennai)",
  192. "view": "Web"
  193. },
  194. "style": {
  195. "width": "100%",
  196. "height": "200"
  197. }
  198. },
  199. {
  200. "type": "label",
  201. "text": "National Art Gallery",
  202. "style": {
  203. "align": "center"
  204. }
  205. }
  206. ]
  207. },
  208. {
  209. "type": "map",
  210. "region": {
  211. "coord": "13.069790, 80.256050",
  212. "width": "200",
  213. "height": "200"
  214. },
  215. "pins": [
  216. {
  217. "title": "National Art Gallery",
  218. "coord": "13.069790, 80.256050",
  219. "style": {
  220. "selected": "true"
  221. }
  222. }
  223. ],
  224. "style": {
  225. "width": "100%",
  226. "height": "200"
  227. }
  228. },
  229. {
  230. "type": "vertical",
  231. "components": [
  232. {
  233. "type": "image",
  234. "url": "https://upload.wikimedia.org/wikipedia/commons/b/b0/Fort_St._George%2C_Chennai_2.jpg",
  235. "href": {
  236. "url": "https://en.wikipedia.org/wiki/Fort_St._George,_India",
  237. "view": "Web"
  238. },
  239. "style": {
  240. "width": "100%",
  241. "height": "200"
  242. }
  243. },
  244. {
  245. "type": "label",
  246. "text": "Fort St. George",
  247. "style": {
  248. "align": "center"
  249. }
  250. }
  251. ]
  252. },
  253. {
  254. "type": "map",
  255. "region": {
  256. "coord": "13.079599, 80.287409",
  257. "width": "200",
  258. "height": "200"
  259. },
  260. "pins": [
  261. {
  262. "title": "Fort St. George",
  263. "coord": "13.079599, 80.287409",
  264. "style": {
  265. "selected": "true"
  266. }
  267. }
  268. ],
  269. "style": {
  270. "width": "100%",
  271. "height": "200"
  272. }
  273. },
  274. {
  275. "type": "vertical",
  276. "components": [
  277. {
  278. "type": "image",
  279. "url": "https://upload.wikimedia.org/wikipedia/commons/6/62/Chennai_High_Court.jpg",
  280. "href": {
  281. "url": "https://en.wikipedia.org/wiki/Madras_High_Court",
  282. "view": "Web"
  283. },
  284. "style": {
  285. "width": "100%",
  286. "height": "200"
  287. }
  288. },
  289. {
  290. "type": "label",
  291. "text": "High Court",
  292. "style": {
  293. "align": "center"
  294. }
  295. }
  296. ]
  297. },
  298. {
  299. "type": "map",
  300. "region": {
  301. "coord": "13.087215, 80.286362",
  302. "width": "200",
  303. "height": "200"
  304. },
  305. "pins": [
  306. {
  307. "title": "High Court",
  308. "coord": "13.087215, 80.286362",
  309. "style": {
  310. "selected": "true"
  311. }
  312. }
  313. ],
  314. "style": {
  315. "width": "100%",
  316. "height": "200"
  317. }
  318. },
  319. {
  320. "type": "vertical",
  321. "components": [
  322. {
  323. "type": "image",
  324. "url": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Church_stmt.jpg",
  325. "href": {
  326. "url": "https://en.wikipedia.org/wiki/St._Thomas_Mount",
  327. "view": "Web"
  328. },
  329. "style": {
  330. "width": "100%",
  331. "height": "200"
  332. }
  333. },
  334. {
  335. "type": "label",
  336. "text": "St.Thomas Mount",
  337. "style": {
  338. "align": "center"
  339. }
  340. }
  341. ]
  342. },
  343. {
  344. "type": "map",
  345. "region": {
  346. "coord": "13.087215, 80.286362",
  347. "width": "200",
  348. "height": "200"
  349. },
  350. "pins": [
  351. {
  352. "title": "St.Thomas Mount",
  353. "coord": "13.087215, 80.286362",
  354. "style": {
  355. "selected": "true"
  356. }
  357. }
  358. ],
  359. "style": {
  360. "width": "100%",
  361. "height": "200"
  362. }
  363. },
  364. {
  365. "type": "vertical",
  366. "components": [
  367. {
  368. "type": "image",
  369. "url": "http://www.chennai-webcity.com/image-files/sunset-elliots-beach.jpg",
  370. "href": {
  371. "url": "https://en.wikipedia.org/wiki/Edward_Elliot%27s_Beach",
  372. "view": "Web"
  373. },
  374. "style": {
  375. "width": "100%",
  376. "height": "200"
  377. }
  378. },
  379. {
  380. "type": "label",
  381. "text": "Elliot Beach",
  382. "style": {
  383. "align": "center"
  384. }
  385. }
  386. ]
  387. },
  388. {
  389. "type": "map",
  390. "region": {
  391. "coord": "12.998930, 80.271706",
  392. "width": "500",
  393. "height": "500"
  394. },
  395. "pins": [
  396. {
  397. "title": "Elliot Beach",
  398. "coord": "12.998930, 80.271706",
  399. "style": {
  400. "selected": "true"
  401. }
  402. }
  403. ],
  404. "style": {
  405. "width": "100%",
  406. "height": "200"
  407. }
  408. },
  409. {
  410. "type": "vertical",
  411. "components": [
  412. {
  413. "type": "image",
  414. "url": "https://upload.wikimedia.org/wikipedia/commons/4/47/Ripon_building%2C_Chennai_2.jpg",
  415. "href": {
  416. "url": "https://en.wikipedia.org/wiki/Ripon_Building",
  417. "view": "Web"
  418. },
  419. "style": {
  420. "width": "100%",
  421. "height": "200"
  422. }
  423. },
  424. {
  425. "type": "label",
  426. "text": "Ripon Building",
  427. "style": {
  428. "align": "center"
  429. }
  430. }
  431. ]
  432. },
  433. {
  434. "type": "map",
  435. "region": {
  436. "coord": "13.081911, 80.271624",
  437. "width": "200",
  438. "height": "200"
  439. },
  440. "pins": [
  441. {
  442. "title": "Ripon Building",
  443. "coord": "13.081911, 80.271624",
  444. "style": {
  445. "selected": "true"
  446. }
  447. }
  448. ],
  449. "style": {
  450. "width": "100%",
  451. "height": "200"
  452. }
  453. }
  454.  
  455.  
  456. ]
  457. }
  458.  
  459. ],
  460.  
  461.  
  462. "footer": {
  463. "tabs": {
  464. "style": {
  465. "background": "rgba(255,255,255,0.8)",
  466. "color:disabled": "#cecece",
  467. "color": "#009efa"
  468. },
  469. "items": [
  470. {
  471. "image": "http://img.freepik.com/free-icon/home-icon-silhouette_318-85097.jpg?size=338c&ext=jpg",
  472. "text": "home",
  473. "style": {
  474. "height": "20"
  475. },
  476. "href": {
  477. "url": "http://cnsitdc2.cns-inc.com:3000/mPOC/travel?travel=1"
  478. }
  479. },
  480. {
  481. "image": "http://www.iconsdb.com/icons/preview/black/contacts-xxl.png",
  482. "text": "contact",
  483. "style": {
  484. "height": "20"
  485. },
  486.  
  487. "href": {
  488. "url": "http://cnsitdc2.cns-inc.com:3000/mPOC/travel?travel=1"
  489. }
  490. }
  491. ]
  492. }
  493. }
  494.  
  495.  
  496.  
  497.  
  498. }
  499. }
  500. }
Add Comment
Please, Sign In to add comment