44 Commits

Author SHA1 Message Date
Kyle Fang
fb36a5657a Add word-wrap to comment and post content 2013-12-29 19:26:24 +08:00
Kyle Fang
b3065226a6 fix long text breaking page layout 2013-12-29 17:29:08 +08:00
Kyle Fang
fe71e67adb Add footer page, so that it's easy to click next page 2013-12-29 17:26:41 +08:00
Kyle Fang
83753ff540 Add logout functionality 2013-12-29 17:19:42 +08:00
Kyle Fang
1b9705e80d Fix login style 2013-12-29 17:19:42 +08:00
Kyle Fang
a82c360bc8 Add Readme, and little enhancement. 2013-12-29 09:46:44 +08:00
Kyle Fang
eacfe32dce Add pageing on both comments and receipts 2013-12-29 09:35:19 +08:00
Kyle Fang
7ba2cb2395 Add paging on receipts 2013-12-29 09:16:13 +08:00
Kyle Fang
66588f278c Post comment to server and refresh local 2013-12-29 08:35:11 +08:00
Kyle Fang
34221f14cf Add style to comments 2013-12-29 06:31:18 +08:00
Kyle Fang
a45a27c9b8 Add result to comment for display 2013-12-29 06:23:33 +08:00
Kyle Fang
1820e951d6 Add comments MVC 2013-12-29 06:03:06 +08:00
Kyle Fang
37b78d0057 Add post body and attachments to the page 2013-12-29 05:27:35 +08:00
Kyle Fang
96bd264078 Add style on post page header 2013-12-29 04:33:53 +08:00
Kyle Fang
362afc68c1 Refactor with _variable, extra same colors 2013-12-29 04:19:32 +08:00
Kyle Fang
bd41d7b520 Add content for post header, and styled image 2013-12-29 03:31:15 +08:00
Kyle Fang
49811720a7 Move 7px margin to _content.scss 2013-12-29 03:04:17 +08:00
Kyle Fang
d9fe677f9a Add postview, now able to receive post from server 2013-12-29 02:57:13 +08:00
Kyle Fang
11cceef4a2 Add login index swap 2013-12-29 02:27:58 +08:00
Kyle Fang
78914e3632 Replace stub data with real one on header 2013-12-29 01:32:21 +08:00
Kyle Fang
8c8ce79c74 Add login manager event, hide header when logout 2013-12-29 01:27:17 +08:00
Kyle Fang
27369809f5 Move all Cookie access to loginManager 2013-12-29 00:31:52 +08:00
Kyle Fang
c7a9476ffb Add helper.scsss for globel config settings 2013-12-29 00:05:20 +08:00
Kyle Fang
af9454d010 Add basic header style and content 2013-12-29 00:04:00 +08:00
Kyle Fang
6e28543ece Move localization setting to helper.js 2013-12-28 23:04:13 +08:00
Kyle Fang
2f81f79952 Add Chinese localization for postDate 2013-12-28 23:02:20 +08:00
Kyle Fang
fcb3f1a0b1 Add link to post on receipt body 2013-12-28 22:43:44 +08:00
Kyle Fang
50e9a2ba73 Add momentjs for date rendering 2013-12-28 22:09:23 +08:00
Kyle Fang
b4caed977c Adjust style and update gruntfile to watch html template. 2013-12-28 21:44:49 +08:00
Kyle Fang
056115f19c Add style to the receipt title. 2013-12-28 20:25:39 +08:00
Kyle Fang
55cfa37399 Add login checking. 2013-12-28 12:22:29 +08:00
Kyle Fang
5b3e83a472 Add all the receipt data needed and styled 2013-12-28 02:51:00 +08:00
Kyle Fang
409ed11e53 Add Receipt basic element and style 2013-12-28 01:48:16 +08:00
Kyle Fang
b5a4a7b5c3 Fix navigation, prevent creating duplicated views 2013-12-28 01:47:22 +08:00
Kyle Fang
10c2c61aff Helper method has to run before initialize, or cookie won't work 2013-12-28 01:14:06 +08:00
Kyle Fang
d234a1152f Add private_token to the header field
So that we don't have to set it at every single request.
2013-12-28 00:50:13 +08:00
Kyle Fang
026caf8193 Revert container class for mobile 2013-12-28 00:21:18 +08:00
Kyle Fang
98e1432ee3 Add User Login and Receipts fetch
Map login function to user model, and fetch receipts on receips
collection.
2013-12-26 02:34:47 +08:00
Kyle Fang
f1fe139213 Getting user input from backbone 2013-12-15 23:10:36 +08:00
Kyle Fang
d552f02631 Changed login to Backbone style.... wow 2013-12-15 22:48:29 +08:00
Kyle Fang
e405b3ddda Added RequireJS basic, set up backbone. 2013-12-15 22:14:30 +08:00
Kyle Fang
652a9f240e Added basic login style. 2013-12-15 22:09:59 +08:00
Kyle Fang
e839e37385 Remove boilplat 2013-12-15 21:25:11 +08:00
Kyle Fang
4e7693a1b3 Init webapp 2013-12-15 21:04:47 +08:00