1
0
Fork 0

Merge pull request #405 from fermionic/support-for-mobile-themes

changes to support a mobile theme
This commit is contained in:
friendica 2012-07-23 20:18:23 -07:00
commit aa5e60248a
12 changed files with 260 additions and 40 deletions

View file

@ -1,5 +1,5 @@
<ul class="tabs">
{{ for $tabs as $tab }}
<li><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li>
<li id="$tab.id"><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li>
{{ endfor }}
</ul>

View file

@ -283,9 +283,9 @@ function enableOnUser(){
if(reply && reply.length) {
commentBusy = true;
$('body').css('cursor', 'wait');
$.get('filer/' + id + '?term=' + reply);
if(timer) clearTimeout(timer);
timer = setTimeout(NavUpdate,3000);
$.get('filer/' + id + '?term=' + reply, NavUpdate);
// if(timer) clearTimeout(timer);
// timer = setTimeout(NavUpdate,3000);
liking = 1;
$.fancybox.close();
} else {

View file

@ -28,7 +28,7 @@
<div id="photo-edit-rotate-end"></div>
<div id="photo-edit-perms" class="photo-edit-perms" >
<a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button" title="$permissions"/>
<a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button popupbox" title="$permissions"/>
<span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions
</a>
<div id="photo-edit-perms-menu-end"></div>
@ -47,9 +47,4 @@
<div id="photo-edit-end"></div>
</form>
<script>
$("a#photo-edit-perms-menu").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none'
});
</script>

View file

@ -23,7 +23,7 @@
<div id="photos-upload-perms" class="photos-upload-perms" >
<a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="button" />
<a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="button popupbox" />
<span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions
</a>
<div id="photos-upload-perms-end"></div>
@ -43,9 +43,3 @@
<div class="photos-upload-end" ></div>
</form>
<script>
$("a#photos-upload-perms-menu").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none'
});
</script>

View file

@ -172,7 +172,6 @@ $lbl_about
</div>
<div id="about-jot-end"></div>
</div>
<div id="interest-jot-wrapper" >
@ -184,7 +183,6 @@ $lbl_hobbies
</div>
<div id="interest-jot-end"></div>
</div>
<div id="likes-jot-wrapper" >
@ -196,7 +194,6 @@ $lbl_likes
</div>
<div id="likes-jot-end"></div>
</div>
<div id="dislikes-jot-wrapper" >
@ -208,7 +205,6 @@ $lbl_dislikes
</div>
<div id="dislikes-jot-end"></div>
</div>
<div id="contact-jot-wrapper" >
@ -220,7 +216,6 @@ $lbl_social
</div>
<div id="contact-jot-end"></div>
</div>
<div class="profile-edit-submit-wrapper" >
@ -238,7 +233,6 @@ $lbl_music
</div>
<div id="music-jot-end"></div>
</div>
<div id="book-jot-wrapper" >
<p id="book-jot-desc" >
@ -249,7 +243,6 @@ $lbl_book
</div>
<div id="book-jot-end"></div>
</div>
@ -262,7 +255,6 @@ $lbl_tv
</div>
<div id="tv-jot-end"></div>
</div>
@ -275,7 +267,6 @@ $lbl_film
</div>
<div id="film-jot-end"></div>
</div>
<div class="profile-edit-submit-wrapper" >
@ -293,7 +284,6 @@ $lbl_love
</div>
<div id="romance-jot-end"></div>
</div>
@ -306,7 +296,6 @@ $lbl_work
</div>
<div id="work-jot-end"></div>
</div>
@ -319,7 +308,6 @@ $lbl_school
</div>
<div id="education-jot-end"></div>
</div>
@ -331,4 +319,4 @@ $lbl_school
</form>
</div>
<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>
<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>