mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Merge pull request #872 from annando/master
API: Supporting twidere, better supporting of the network field in the item table
This commit is contained in:
commit
7b5018fb76
12 changed files with 97 additions and 84 deletions
|
@ -480,8 +480,9 @@ div.jGrowl div.info {
|
|||
padding-left: 58px;
|
||||
}
|
||||
|
||||
div.jGrowl div.jGrowl-notification {
|
||||
margin-top: 40px;
|
||||
div.jGrowl.top-right {
|
||||
top: 40px;
|
||||
z-index: 90;
|
||||
}
|
||||
|
||||
/* header */
|
||||
|
@ -533,7 +534,8 @@ nav {
|
|||
top: 0px;
|
||||
padding: 0px;
|
||||
padding-left: 0px;
|
||||
background: #2d2d2d;
|
||||
/* background: #2d2d2d; */
|
||||
background: rgb(36, 76, 94);
|
||||
/*background: #364A84;
|
||||
background: -moz-linear-gradient(top, #516499 0%, #364a84 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#516499), color-stop(100%,#364a84));
|
||||
|
@ -1160,6 +1162,14 @@ border-bottom: 1px solid #D2D2D2;
|
|||
color: #999;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.wall-item-network {
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.wall-item-location {
|
||||
width: 350px;
|
||||
float: left;
|
||||
|
@ -1396,8 +1406,8 @@ border-bottom: 1px solid #D2D2D2;
|
|||
|
||||
.shiny {
|
||||
/* border-right: 10px solid #fce94f; */
|
||||
border-right: 1px solid #A7C7F7;
|
||||
padding-right: 12px;
|
||||
/* border-right: 1px solid #A7C7F7;
|
||||
padding-right: 12px; */
|
||||
}
|
||||
|
||||
#profile-jot-form #profile-jot-text {
|
||||
|
|
|
@ -62,6 +62,9 @@
|
|||
{{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
|
||||
{{if $item.lock}}<span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
|
||||
</span>
|
||||
<span class="wall-item-network">
|
||||
{{$item.network_name}}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div itemprop="description" class="wall-item-content">
|
||||
|
|
|
@ -11,10 +11,29 @@
|
|||
function vier_init(&$a) {
|
||||
set_template_engine($a, 'smarty3');
|
||||
|
||||
$baseurl = $a->get_baseurl();
|
||||
|
||||
$a->theme_info = array();
|
||||
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
<script type="text/javascript" src="$baseurl/view/theme/vier/js/jquery.divgrow-1.3.1.f1.min.js"></script>
|
||||
<script>
|
||||
|
||||
function collapseHeight(elems) {
|
||||
var elemName = '.wall-item-body:not(.divmore)';
|
||||
if(typeof elems != 'undefined') {
|
||||
elemName = elems + ' ' + elemName;
|
||||
}
|
||||
$(elemName).each(function() {
|
||||
if($(this).height() > 450) {
|
||||
$('html').height($('html').height());
|
||||
$(this).divgrow({ initialHeight: 400, showBrackets: false, speed: 0 });
|
||||
$(this).addClass('divmore');
|
||||
$('html').height('auto');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function insertFormatting(comment,BBcode,id) {
|
||||
|
||||
var tmpStr = $("#comment-edit-text-" + id).val();
|
||||
|
@ -32,7 +51,7 @@ function insertFormatting(comment,BBcode,id) {
|
|||
selected = document.selection.createRange();
|
||||
if (BBcode == "url"){
|
||||
selected.text = "["+BBcode+"]" + "http://" + selected.text + "[/"+BBcode+"]";
|
||||
} else
|
||||
} else
|
||||
selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
|
||||
} else if (textarea.selectionStart || textarea.selectionStart == "0") {
|
||||
var start = textarea.selectionStart;
|
||||
|
@ -62,50 +81,6 @@ function cmtBbOpen(id) {
|
|||
function cmtBbClose(id) {
|
||||
$("#comment-edit-bb-" + id).hide();
|
||||
}
|
||||
|
||||
/*
|
||||
$(document).ready(function() {
|
||||
|
||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
|
||||
|
||||
$('.group-edit-icon').hover(
|
||||
function() {
|
||||
$(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.sidebar-group-element').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
|
||||
$('.savedsearchdrop').hover(
|
||||
function() {
|
||||
$(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
$('.savedsearchterm').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).addClass('icon'); $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
*/
|
||||
</script>
|
||||
EOT;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue