Merge pull request #194 from simonlnu/master

latest fixes for dispys. tweaking/repairing
This commit is contained in:
Simon 2012-04-01 00:58:08 -07:00
commit 4bf2a7bf50
5 changed files with 31 additions and 11 deletions

View File

@ -37,8 +37,10 @@
</div>
{{ endif }}
{{ if $lastusers_title }}
<h3 id="postit-header">PostIt to Friendica</h3>
<div id="postit">
<a href="$fostitJS" title="PostIt">Post to Friendica</a> from anywhere by bookmarking this link.
</div>
{{ endif }}

View File

@ -10,9 +10,8 @@
<a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
</li>
{{ endfor }}
<li><a href="profile_photo" >$profile.menu.chg_photo</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>
</div>
{{ endif }}
@ -81,4 +80,3 @@
$contact_block

View File

@ -1062,6 +1062,8 @@ section {
}
.tabs li {
display: inline;
font-size: smaller;
font-weight: bold;
}
.tab {
border: 1px solid #729fcf;
@ -1120,6 +1122,7 @@ section {
}
.wall-item-content {
overflow-x: auto;
margin: 0px 15px 0px 5px;
}
/* removing it from here, vs. putting it in .wall-item-content
* might break things for people. we shall see ;) */
@ -1203,6 +1206,7 @@ section {
.wall-item-body {
margin: 20px 20px 10px 0px;
text-align: left;
overflow-x: auto;
}
.wall-item-lock-wrapper {
float: right;
@ -2072,6 +2076,9 @@ div[id$="wrapper"] br {
float:left;
font-size:20px;
}
.event {
background: #2e2f2e;
}
.vevent {
border:1px solid #ccc;
}
@ -2083,15 +2090,14 @@ div[id$="wrapper"] br {
margin-left: 10px;
margin-right: 10px;
}
#new-event-link {
margin-bottom: 10px;
}
.edit-event-link, .plink-event-link {
float: left;
margin-top: 4px;
margin-right: 4px;
margin-bottom: 15px;
/*float: left; */
/*margin-top: 4px; */
/*margin-right: 4px;*/
/*margin-bottom: 15px;*/
}
.event-description:before {
content: url('../../../images/calendar.png');
@ -2100,6 +2106,7 @@ div[id$="wrapper"] br {
.event-start, .event-end {
margin-left: 10px;
width: 330px;
font-size: smaller;
}
.event-start .dtstart, .event-end .dtend {
float: right;
@ -2200,6 +2207,10 @@ div[id$="wrapper"] br {
#item-delete-selected-desc:hover {
text-decoration: underline;
}
.fc-state-highlight {
background: #eec;
color: #2e2f2e;
}
/**

View File

@ -113,6 +113,10 @@ EOT;
function dispydark_community_info() {
$a = get_app();
$aside['$lastusers_title'] = t('Last users');
$aside['$lastusers_items'] = array();
$publish = (get_config('system','publish_all') ? '' : " AND `publish` = 1 " );
$fostitJS = "javascript: (function() {
the_url = '".$a->get_baseurl($ssl_state)."/view/theme/dispy-dark/fpostit/fpostit.php?url=' +
encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' +
@ -138,6 +142,7 @@ function dispydark_community_info() {
}
// aside on profile page
if (($a->argv[0] . $a->argv[1]) === ("profile" . $a->user['nickname'])) {
//if (($a->argv[0] . $a->argv[1]) === ("profile" . $a->user['nickname'])) {
dispydark_community_info();
}
//}

View File

@ -146,7 +146,7 @@ a:hover {
}
.required {
display: inline;
color: #ff0;
color: #f00;
font-size: 16px;
font-weight: bold;
margin: 3px;
@ -1062,6 +1062,8 @@ section {
}
.tabs li {
display: inline;
font-size: smaller;
font-weight: bold;
}
.tab {
border: 1px solid #729fcf;
@ -1120,6 +1122,7 @@ section {
}
.wall-item-content {
overflow-x: auto;
margin: 0px 15px 0px 5px;
}
/* removing it from here, vs. putting it in .wall-item-content
* might break things for people. we shall see ;) */
@ -1203,6 +1206,7 @@ section {
.wall-item-body {
margin: 20px 20px 10px 0px;
text-align: left;
overflow-x: auto;
}
.wall-item-lock-wrapper {
float: right;