{{post.body}}
137 |138 |
145 | Edit Delete 146 | {%endif%} 147 |
148 |
149 | 173 | 174 |
175 |
177 |
178 |
179 | {%endfor%} 180 | {%endif%} 181 |
{{ post.body }}
26 |Dear {{ user.f_name }},
2 |3 | To reset your password 4 | 5 | click here 6 | . 7 |
8 |Alternatively, you can paste the following link in your browser's address bar:
9 |{{ url_for('reset_password', token=token, _external=True) }}
10 |If you have not requested a password reset simply ignore this message.
11 |Sincerely,
12 |The Facebook Team
-------------------------------------------------------------------------------- /facebook/templates/email/reset_password.txt: -------------------------------------------------------------------------------- 1 | Dear {{ user.f_name }}, 2 | 3 | To reset your password click on the following link: 4 | 5 | {{ url_for('reset_password', token=token, _external=True) }} 6 | 7 | If you have not requested a password reset simply ignore this message. 8 | 9 | Sincerely, 10 | 11 | The Facebook Team -------------------------------------------------------------------------------- /facebook/templates/explore.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% import 'bootstrap/wtf.html' as wtf %} 3 | {% set active_page = "explore" %} 4 | 5 | {% block styles %} 6 | {{super()}} 7 | 12 | {% endblock %} 13 | 14 | 15 | {% block app_content %} 16 | 17 |Don't have an account?, click to Register!
37 |38 | Forgot Your Password? 39 | Click to Reset It 40 |
41 |{{ user.about_me }}
58 | {% if user == current_user %} 59 | Edit 60 | {%endif%} 61 |{{ user.followers.count() }} followers
| {{ user.followed.count() }} following 62 | {% if user != current_user and user.is_following(current_user) %} 63 | | Follows you 64 | {% endif %} 65 | 66 | 67 | {% if not current_user.is_following(user) and user != current_user %} 68 |69 |
73 | 74 | {% elif current_user.is_following(user) and user!= current_user %} 75 |76 |
80 | 81 | {% endif %} 82 |Last seen on: {{ moment(user.last_seen).format('LLL') }}
83 | {% if user != current_user %} 84 |85 | 87 | Send a Private Message 88 | 89 |
90 | {% endif %} 91 |Already have an account?, click to Login!
36 |