# HG changeset patch # User Brian Neal # Date 1471570601 18000 # Node ID 4f81c9fe8705e709610ae16a42a7e36f78a3d043 # Parent 5f63cd3db8ccdbf1703641c368cfef3c2e974757 Convert edit elsewhere links page to V3 design. diff -r 5f63cd3db8cc -r 4f81c9fe8705 bio/static/css/bio.css --- a/bio/static/css/bio.css Wed Aug 17 20:43:35 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -div.user_profile th { - font-weight: bold; - text-align: left; - padding: 5px 5px; -} -div.user_profile td { - font-weight: normal; - text-align: left; - padding: 5px 5px; -} - -div.members-list table { - border-collapse: collapse; - width: 95%; - border: 1px solid black; - margin: 1em auto 1em auto; -} - -div.members-list th { - font-weight: bold; - text-align: center; - padding: 5px 5px; -} - -div.members-list tr { - border-top: 1px solid black; - border-bottom: 1px solid black; - text-align: center; -} - -div.members-list td { - padding: 5px 5px; - text-align: center; -} - -div.members-list tr.odd { - background-color: #ddd; -} - -div.flag { - float:left; - text-size: small; - font-weight: bold; -} -div.flag img { - vertical-align: middle; - margin-bottom: 3px; -} diff -r 5f63cd3db8cc -r 4f81c9fe8705 bio/views.py --- a/bio/views.py Wed Aug 17 20:43:35 2016 -0500 +++ b/bio/views.py Thu Aug 18 20:36:41 2016 -0500 @@ -251,6 +251,7 @@ 'sn_form': sn_form, 'im_form': im_form, 'w_form': w_form, + 'V3_DESIGN': True, }) ####################################################################### diff -r 5f63cd3db8cc -r 4f81c9fe8705 sg101/templates/bio/base.html --- a/sg101/templates/bio/base.html Wed Aug 17 20:43:35 2016 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -{% extends 'base.html' %} -{% load static from staticfiles %} -{% block custom_css %} - -{% block bio_css %}{% endblock %} -{% endblock %} -{% block content %} -{% endblock %} diff -r 5f63cd3db8cc -r 4f81c9fe8705 sg101/templates/bio/edit_elsewhere.html --- a/sg101/templates/bio/edit_elsewhere.html Wed Aug 17 20:43:35 2016 -0500 +++ b/sg101/templates/bio/edit_elsewhere.html Thu Aug 18 20:36:41 2016 -0500 @@ -1,7 +1,18 @@ -{% extends 'bio/base.html' %} +{% extends 'v3/base.html' %} {% load static from staticfiles %} {% block title %}Edit Your Elsewhere Links{% endblock %} {% block content %} + + +

Edit Your Elsewhere Links

Social Networks

{% if request.user.social_network_profiles.all %} @@ -14,7 +25,7 @@ {{ profile.name }}
{% csrf_token %} - +
{% endfor %} @@ -27,16 +38,15 @@
Add a Social Network {{ sn_form.as_p }} -

- For Facebook, you must enter your profile ID in the Username box. Visit your - Facebook profile. Look at your browser's URL (address) bar. If you see a link of the form - http://www.facebook.com/profile.php?id=1234567890, you want that number after the - id= part. If you don't see a link like that, hover your mouse over your - profile picture, and a link of the above form should appear in your browser's status bar - (usually at the bottom). You can right-click on your photo and choose "copy link address" - (the exact message will vary by browser) to copy the link. Then paste into the - Username box, then delete everything but the long number. -

+
+

Choose a social network and enter your user ID or username in the boxes, above.

+

+ + For Facebook, you need to enter your numeric profile ID. If you don't know your profile ID, + please use this helper website: findmyfbid.com. Enter + the number you get from that website in the Username field, above. +

+

@@ -52,7 +62,7 @@ {{ profile.name }}: {{ profile.username }}
{% csrf_token %} - +
{% endfor %} @@ -78,7 +88,7 @@ {{ profile.name }}
{% csrf_token %} - +
{% endfor %}