mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Decaf mobile: an (almost) Javascript-free theme
This commit is contained in:
parent
8e62c8b27c
commit
488a38cd85
300 changed files with 11117 additions and 328 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- <script>
|
||||
{#<!-- <script>
|
||||
$(document).ready( function () {
|
||||
$(document).mouseup(function(e) {
|
||||
var container = $("#comment-edit-wrapper-$id");
|
||||
|
@ -8,25 +8,25 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
</script>-->
|
||||
</script>-->#}
|
||||
|
||||
<div class="comment-wwedit-wrapper $indent" id="comment-edit-wrapper-$id" style="display: block;" >
|
||||
<form class="comment-edit-form $indent" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;" >
|
||||
<!-- <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
|
||||
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->
|
||||
{#<!-- <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
|
||||
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->#}
|
||||
<input type="hidden" name="type" value="$type" />
|
||||
<input type="hidden" name="source" value="$sourceapp" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$parent" />
|
||||
<input type="hidden" name="return" value="$return_path" />
|
||||
{#<!--<input type="hidden" name="return" value="$return_path" />-->#}
|
||||
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||
<input type="hidden" name="post_id_random" value="$rand_num" />
|
||||
|
||||
<!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->
|
||||
{#<!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->#}
|
||||
<a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||
<!--</div>-->
|
||||
<!--<div class="comment-edit-photo-end"></div>-->
|
||||
{#<!--</div>-->#}
|
||||
{#<!--<div class="comment-edit-photo-end"></div>-->#}
|
||||
<ul class="comment-edit-bb-$id">
|
||||
<li><a class="editicon boldbb shadow"
|
||||
style="cursor: pointer;" title="$edbold"
|
||||
|
@ -43,7 +43,7 @@
|
|||
<li><a class="editicon codebb shadow"
|
||||
style="cursor: pointer;" title="$edcode"
|
||||
onclick="insertFormatting('$comment','code', $id);"></a></li>
|
||||
<!-- <li><a class="editicon imagebb shadow"
|
||||
{#<!-- <li><a class="editicon imagebb shadow"
|
||||
style="cursor: pointer;" title="$edimg"
|
||||
onclick="insertFormatting('$comment','img', $id);"></a></li>
|
||||
<li><a class="editicon urlbb shadow"
|
||||
|
@ -51,10 +51,10 @@
|
|||
onclick="insertFormatting('$comment','url', $id);"></a></li>
|
||||
<li><a class="editicon videobb shadow"
|
||||
style="cursor: pointer;" title="$edvideo"
|
||||
onclick="insertFormatting('$comment','video', $id);"></a></li>-->
|
||||
onclick="insertFormatting('$comment','video', $id);"></a></li>-->#}
|
||||
</ul>
|
||||
<!--<div class="comment-edit-bb-end"></div>-->
|
||||
<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
|
||||
{#<!--<div class="comment-edit-bb-end"></div>-->#}
|
||||
{#<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->#}
|
||||
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
|
||||
{{ if $qcomment }}
|
||||
<select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
|
||||
|
@ -68,11 +68,11 @@
|
|||
<div class="comment-edit-text-end"></div>
|
||||
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
|
||||
<input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
|
||||
<!--<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="preview-link fakelink">$preview</span>
|
||||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->
|
||||
{#<!--<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="preview-link fakelink">$preview</span>
|
||||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->#}
|
||||
</div>
|
||||
|
||||
<!--<div class="comment-edit-end"></div>-->
|
||||
{#<!--<div class="comment-edit-end"></div>-->#}
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -5,16 +5,22 @@
|
|||
onmouseover="if (typeof t$contact.id != 'undefined') clearTimeout(t$contact.id);"
|
||||
onmouseout="t$contact.id=setTimeout('closeMenu(\'contact-photo-menu-$contact.id\');',200)" >
|
||||
|
||||
<!-- <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>-->
|
||||
{#<!-- <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>-->#}
|
||||
<span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">
|
||||
<img src="$contact.thumb" $contact.sparkle alt="$contact.name" />
|
||||
</span>
|
||||
|
||||
{{ if $contact.photo_menu }}
|
||||
<!-- <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>-->
|
||||
{#<!-- <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>-->#}
|
||||
<div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
|
||||
<ul>
|
||||
$contact.photo_menu
|
||||
{{ for $contact.photo_menu as $c }}
|
||||
{{ if $c.2 }}
|
||||
<li><a target="redir" href="$c.1">$c.0</a></li>
|
||||
{{ else }}
|
||||
<li><a href="$c.1">$c.0</a></li>
|
||||
{{ endif }}
|
||||
{{ endfor }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
</div>
|
||||
<div id="photos-upload-exist-end"></div>
|
||||
|
||||
$default_upload_box
|
||||
|
||||
<div id="photos-upload-noshare-div" class="photos-upload-noshare-div" >
|
||||
<input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" checked />
|
||||
<label id="photos-upload-noshare-text" for="photos-upload-noshare" >$nosharetext</label>
|
||||
|
@ -39,9 +41,9 @@
|
|||
|
||||
<div id="photos-upload-spacer"></div>
|
||||
|
||||
$uploader
|
||||
$alt_uploader
|
||||
|
||||
$default
|
||||
$default_upload_submit
|
||||
|
||||
<div class="photos-upload-end" ></div>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue