Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

个人主页 #7

Closed
davidsun opened this issue Oct 20, 2012 · 8 comments
Closed

个人主页 #7

davidsun opened this issue Oct 20, 2012 · 8 comments
Assignees

Comments

@davidsun
Copy link
Owner

Templates: templates/sns/users/show.haml
Views: sns/views/users.py#show

显示内容:
左侧:留言按钮、关注按钮,该用户的新鲜事
右侧:他关注的人,以及关注他的人

@ghost ghost assigned soshkt and Kimi-Arthur Oct 20, 2012
@Kimi-Arthur
Copy link
Collaborator

基本完成,没有什么polish,修改了main的界面变为三列

@ghost ghost assigned davidsun Oct 27, 2012
@Kimi-Arthur Kimi-Arthur reopened this Oct 27, 2012
@davidsun
Copy link
Owner Author

@Kimi-Arthur 提交代码吧 :)

@Kimi-Arthur
Copy link
Collaborator

失误了。。。

@davidsun
Copy link
Owner Author

@Kimi-Arthur
留言功能需要改进一下,做成一个按钮,然后点击弹出Model。不需要单独做一个框的。

@Kimi-Arthur
Copy link
Collaborator

ok,我晚上看看

On Sun, Oct 28, 2012 at 10:49 PM, Sun Zheng notifications@github.comwrote:

@Kimi-Arthur https://github.com/Kimi-Arthur
留言功能需要改进一下,做成一个按钮,然后点击弹出Model。不需要单独做一个框的。


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-9846441.

@davidsun
Copy link
Owner Author

davidsun commented Nov 4, 2012

@Kimi-Arthur
这个功能是这样的:
在“关注”按钮旁边,是“留言”按钮。在“留言”按钮被点击后,弹出 Bootstrap 的 Model,请用户输入留言内容。注意对留言输入错误的判断。

@Kimi-Arthur
Copy link
Collaborator

这里有个问题,我之前碰到后无法解决就搁置了。是这样的,因为你留言的话需要post,就需要他的那个csrf之类的东西,但是如果使用modal的话会出现:1.地址中携带了csrf信息,2.无法成功提交信息,望调研。

@davidsun
Copy link
Owner Author

@Kimi-Arthur
现在 OK 了。详见 4b14def

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants