fixed the sidebar edit thingy. haven't synced dispy yet.

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu 2012-03-15 17:27:06 -04:00
parent eee2eed588
commit 5c75d40c0b
2 changed files with 27 additions and 24 deletions

View File

@ -1,24 +1,23 @@
<div class="vcard"> <div class="vcard">
<div class="fn label">$profile.name</div> {{ if $profile.edit }}
<div class="action">
{{ if $profile.edit }} <span class="icon-profile-edit"></span>
<div class="action"> <a href="#" rel="#profiles-menu" class="ttright" id="profiles-menu-trigger" title="$profile.edit.3">$profile.edit.1</a>
<span class="icon-profile-edit"></span> <ul id="profiles-menu" class="menu-popup">
<a href="#" rel="#profiles-menu" class="ttright" id="profiles-menu-trigger" title="$profile.edit.3">$profile.edit.1</a> {{ for $profile.menu.entries as $e }}
<ul id="profiles-menu" class="menu-popup"> <li>
{{ for $profile.menu.entries as $e }} <a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
<li> </li>
<a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a> {{ endfor }}
</li> <li><a href="profile_photo" >$profile.menu.chg_photo</a></li>
{{ endfor }} <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li>
<li><a href="profile_photo" >$profile.menu.chg_photo</a></li>
<li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li> </ul>
</ul>
</div>
{{ endif }}
</div> </div>
{{ endif }}
<div class="fn label">$profile.name</div>
{{ if $pdesc }} {{ if $pdesc }}
<div class="title">$profile.pdesc</div> <div class="title">$profile.pdesc</div>

View File

@ -694,7 +694,7 @@ aside #viewcontacts {
margin: 30px 0px; margin: 30px 0px;
} }
.ttright { .ttright {
margin: 0px 0px 0px 5px; margin: 0px 0px 0px 0px;
} }
/** /**
@ -835,6 +835,7 @@ aside #viewcontacts {
border: 0; border: 0;
text-decoration: none; text-decoration: none;
float: right; float: right;
cursor: pointer;
} }
#profile-jot-perms { #profile-jot-perms {
float: right; float: right;
@ -1702,7 +1703,6 @@ div[id$="wrapper"] br {
} }
/** /**
* register, settings & profile forms * register, settings & profile forms
*/ */
@ -1767,21 +1767,25 @@ div[id$="wrapper"] br {
/*margin: 3px 0px 0px 70px;*/ /*margin: 3px 0px 0px 70px;*/
/*}*/ /*}*/
#profiles-menu-trigger { #profiles-menu-trigger {
width: 100px; margin: 0px 0px 0px 25px;
} }
.profile-listing { .profile-listing {
float: left; float: left;
margin: 20px 20px 0px 0px; margin: 20px 20px 0px 0px;
} }
.icon-profile-edit { .icon-profile-edit {
background: url("icons.png") no-repeat scroll -150px 0px transparent; background: url("icons.png") -150px 0px no-repeat;
border: 0 none; border: 0;
cursor: pointer;
display: block; display: block;
float: right; float: right;
width: 20px;
height: 20px; height: 20px;
margin: 0 0 -18px; margin: 0 0 -18px;
position: absolute;
text-decoration: none; text-decoration: none;
cursor: pointer; top: 18px;
right: 226px;
} }
#profile-edit-links ul { #profile-edit-links ul {
margin: 20px 0; margin: 20px 0;