aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-11 02:52:47 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-11 02:52:47 -0700
commit7a21a000a2b02e7dd443fd0f3ee09172de825b08 (patch)
treea73734b36b404da7f3028a12c5e10e2a3a7a35fa /view
parenta42c9616f97125b059f395b9b023fe1516a52d75 (diff)
downloadvolse-hubzilla-7a21a000a2b02e7dd443fd0f3ee09172de825b08.tar.gz
volse-hubzilla-7a21a000a2b02e7dd443fd0f3ee09172de825b08.tar.bz2
volse-hubzilla-7a21a000a2b02e7dd443fd0f3ee09172de825b08.zip
lots of little stuff
Diffstat (limited to 'view')
-rw-r--r--view/contact_edit.tpl2
-rw-r--r--view/profile-hide-friends.tpl16
-rw-r--r--view/profile_edit.tpl2
-rw-r--r--view/style.css21
4 files changed, 36 insertions, 5 deletions
diff --git a/view/contact_edit.tpl b/view/contact_edit.tpl
index 91ae30ec1..4a94f7083 100644
--- a/view/contact_edit.tpl
+++ b/view/contact_edit.tpl
@@ -28,7 +28,7 @@ $blocked
<form action="contacts/$contact_id" method="post" >
<input type="hidden" name="contact_id" value="$contact_id">
-<div class="contact-edit-profile-select-text">
+<div id="contact-edit-profile-select-text">
<h4>Profile Visibility</h4>
<p>Please choose the profile you would like to display to $name - when he/she connects securely to your profile page.
</p>
diff --git a/view/profile-hide-friends.tpl b/view/profile-hide-friends.tpl
new file mode 100644
index 000000000..54ade00fe
--- /dev/null
+++ b/view/profile-hide-friends.tpl
@@ -0,0 +1,16 @@
+<p id="hide-friends-text">
+Hide my contact/friend list from viewers of this profile?
+</p>
+
+ <div id="hide-friends-yes-wrapper">
+ <label id="hide-friends-yes-label" for="hide-friends-yes">Yes</label>
+ <input type="radio" name="hide-friends" id="hide-friends-yes" $yes_selected value="1" />
+
+ <div id="hide-friends-break" ></div>
+ </div>
+ <div id="hide-friends-no-wrapper">
+ <label id="hide-friends-no-label" for="hide-friends-no">No</label>
+ <input type="radio" name="hide-friends" id="hide-friends-no" $no_selected value="0" />
+
+ <div id="hide-friends-end"></div>
+ </div>
diff --git a/view/profile_edit.tpl b/view/profile_edit.tpl
index 789da873c..3dcf8df2c 100644
--- a/view/profile_edit.tpl
+++ b/view/profile_edit.tpl
@@ -32,6 +32,8 @@ $dob $age
</div>
<div id="profile-edit-dob-end"></div>
+$hide_friends
+
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
</div>
diff --git a/view/style.css b/view/style.css
index 169a89589..86876a697 100644
--- a/view/style.css
+++ b/view/style.css
@@ -316,12 +316,17 @@ input#dfrn-url {
#profile-edit-politic,
#profile-edit-religion,
#profile-in-dir-yes,
-#profile-in-dir-no {
+#profile-in-dir-no,
+#hide-friends-yes,
+#hide-friends-no {
float: left;
margin-bottom: 20px;
}
-#profile-in-dir-yes-label, #profile-in-dir-no-label {
+#profile-in-dir-yes-label,
+#profile-in-dir-no-label,
+#hide-friends-yes-label,
+#hide-friends-no-label {
margin-left: 125px;
float: left;
width: 50px;
@@ -347,10 +352,16 @@ input#dfrn-url {
#profile-edit-religion-end,
#profile-edit-homepage-end,
#profile-in-dir-break,
-#profile-in-dir-end {
+#profile-in-dir-end,
+#hide-friends-break,
+#hide-friends-end {
clear: both;
}
+
+
+
+
#gender-select, #marital-select, #sexual-select {
width: 220px;
}
@@ -663,7 +674,9 @@ input#dfrn-url {
margin-left: 30px;
}
-
+#contact-edit-photo-wrapper {
+ margin-bottom: 20px;
+}
#contact-edit-links img {
margin-left: 20px;
border: none;