From d5afd0d7c223161b673dca529830be3bfc739cd2 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 11 Jul 2016 12:49:53 +0200 Subject: do not use visibility for fullscreen button and move fullscreen button to the right --- view/tpl/chat.tpl | 4 ++-- view/tpl/events-js.tpl | 4 ++-- view/tpl/events_cal-js.tpl | 4 ++-- view/tpl/photo_album.tpl | 4 ++-- view/tpl/photos_recent.tpl | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index 341ff7649..31be4136f 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -1,8 +1,6 @@
- - {{if $is_owner}}
@@ -10,6 +8,8 @@
{{/if}} + +

{{$room_name}}

diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl index 3397411a8..6299242ce 100755 --- a/view/tpl/events-js.tpl +++ b/view/tpl/events-js.tpl @@ -2,8 +2,6 @@
+ +

diff --git a/view/tpl/events_cal-js.tpl b/view/tpl/events_cal-js.tpl index 121c06cb5..b7836cfab 100755 --- a/view/tpl/events_cal-js.tpl +++ b/view/tpl/events_cal-js.tpl @@ -2,13 +2,13 @@
- -
+ +

diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index e6cb61637..b391a00a1 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,8 +1,6 @@
- - {{if $order}} {{/if}} @@ -14,6 +12,8 @@ {{/if}}
+ +

{{$album}}

diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index c40dda145..139f27a23 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -1,11 +1,11 @@
- - {{if $can_post}} {{/if}} + +

{{$title}}

-- cgit v1.2.3 From 7ee7f00bf34b11d0427f03df9494088cf56ef9ee Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 14 Jul 2016 22:41:53 -0700 Subject: Here's the basic UI for the Zot Access Tokens, requires some minor cleanup --- view/tpl/settings_tokens.tpl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 view/tpl/settings_tokens.tpl (limited to 'view/tpl') diff --git a/view/tpl/settings_tokens.tpl b/view/tpl/settings_tokens.tpl new file mode 100644 index 000000000..8763a681c --- /dev/null +++ b/view/tpl/settings_tokens.tpl @@ -0,0 +1,28 @@ +
+
+

{{$title}}

+
+
+
+ + {{if $atoken}}{{/if}} +
+ {{include file="field_input.tpl" field=$name}} + {{include file="field_input.tpl" field=$token}} + {{include file="field_input.tpl" field=$expires}} +
+ +
+
+
+ {{if $tokens}} +
+ +
+ {{/if}} + +
-- cgit v1.2.3 From 5e475acb85cac2dd87f92f6c8d51dc0071e5c2eb Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 15 Jul 2016 01:33:28 -0700 Subject: cleanup and debug of atoken feature --- view/tpl/settings_tokens.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/settings_tokens.tpl b/view/tpl/settings_tokens.tpl index 8763a681c..73c6e9a64 100644 --- a/view/tpl/settings_tokens.tpl +++ b/view/tpl/settings_tokens.tpl @@ -17,9 +17,9 @@ {{if $tokens}}
-
-- cgit v1.2.3 From d54f5a3831ec003468e33185318a060711cb9c09 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 15 Jul 2016 01:43:09 -0700 Subject: more cleanup of atoken UI --- view/tpl/settings_tokens.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view/tpl') diff --git a/view/tpl/settings_tokens.tpl b/view/tpl/settings_tokens.tpl index 73c6e9a64..a81d65dfc 100644 --- a/view/tpl/settings_tokens.tpl +++ b/view/tpl/settings_tokens.tpl @@ -3,6 +3,7 @@

{{$title}}

+
{{$desc}}
{{if $atoken}}{{/if}} -- cgit v1.2.3 From 2e32b5f467e9bb66e339c56308ad8a82163566e6 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 15 Jul 2016 13:20:00 +0200 Subject: upgrade to jquery-3.1 and minor fixes --- view/tpl/contact_block.tpl | 1 - view/tpl/cover_photo_widget.tpl | 20 ++++++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/contact_block.tpl b/view/tpl/contact_block.tpl index a32437212..6a29abaef 100755 --- a/view/tpl/contact_block.tpl +++ b/view/tpl/contact_block.tpl @@ -11,4 +11,3 @@
{{/if}}
-
diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl index 8254fc87d..5e97d3773 100755 --- a/view/tpl/cover_photo_widget.tpl +++ b/view/tpl/cover_photo_widget.tpl @@ -1,8 +1,17 @@ -- cgit v1.2.3 From 4a2fb8336e71557757f13136ae62639cc9732c22 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 15 Jul 2016 14:23:10 +0200 Subject: round up height --- view/tpl/cover_photo_widget.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl index 5e97d3773..4e210a300 100755 --- a/view/tpl/cover_photo_widget.tpl +++ b/view/tpl/cover_photo_widget.tpl @@ -48,7 +48,7 @@ }); function slideUpCover() { - $('html, body').animate({scrollTop: $('#cover-photo').height() + 1 + 'px' }); + $('html, body').animate({scrollTop: Math.ceil($('#cover-photo').height()) + 'px' }); } -- cgit v1.2.3 From f3aff45042096ab113b77492c0018d5e6b47c7e4 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 15 Jul 2016 16:31:21 -0700 Subject: provide examples for using access tokens in urls --- view/tpl/settings_tokens.tpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/settings_tokens.tpl b/view/tpl/settings_tokens.tpl index a81d65dfc..6819a2e58 100644 --- a/view/tpl/settings_tokens.tpl +++ b/view/tpl/settings_tokens.tpl @@ -4,6 +4,10 @@
{{$desc}}
+
{{$desc2}}
+
{{$url1}}&f=&zat=
+
{{$url2}}&f=&zat=
+
{{if $atoken}}{{/if}} -- cgit v1.2.3 From f39d20ac978e6ea8a0d2993f9953d051e5f31254 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 17 Jul 2016 11:29:37 +0200 Subject: some work on guest access token ui --- view/tpl/settings_tokens.tpl | 45 +++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/settings_tokens.tpl b/view/tpl/settings_tokens.tpl index 6819a2e58..7e4b19507 100644 --- a/view/tpl/settings_tokens.tpl +++ b/view/tpl/settings_tokens.tpl @@ -3,31 +3,38 @@

{{$title}}

-
{{$desc}}
-
{{$desc2}}
-
{{$url1}}&f=&zat=
-
{{$url2}}&f=&zat=
-
- - - {{if $atoken}}{{/if}} -
+
+ + + + + {{if $atoken}}{{/if}} {{include file="field_input.tpl" field=$name}} {{include file="field_input.tpl" field=$token}} {{include file="field_input.tpl" field=$expires}} -
+
-
- + +
{{$desc2}}
+
    +
  • {{$url1}}&f=&zat=
  • +
  • {{$url2}}&f=&zat=
  • +
+
{{if $tokens}} -
- +
+ + {{foreach $tokens as $t}} + + + + + {{/foreach}} +
{{$t.atoken_name}}
+
{{/if}} -
-- cgit v1.2.3 From 5d0ddb3123f27fb1a2afef9fba62743ad8851736 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 17 Jul 2016 02:49:41 -0700 Subject: booboo --- view/tpl/settings_tokens.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/settings_tokens.tpl b/view/tpl/settings_tokens.tpl index 7e4b19507..22af381e9 100644 --- a/view/tpl/settings_tokens.tpl +++ b/view/tpl/settings_tokens.tpl @@ -20,8 +20,8 @@
{{$desc2}}
    -
  • {{$url1}}&f=&zat=
  • -
  • {{$url2}}&f=&zat=
  • +
  • {{$url1}}?f=&zat=
  • +
  • {{$url2}}?f=&zat=
{{if $tokens}} -- cgit v1.2.3 From 2b674d4cd983d637ddc863f9b87b9d863542e250 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 17 Jul 2016 12:54:10 +0200 Subject: hide fullscreen button in embedphotos modal album view --- view/tpl/photo_album.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index b391a00a1..f097646e4 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -12,8 +12,10 @@ {{/if}}
+ {{if !$no_fullscreen_btn}} + {{/if}}

{{$album}}

-- cgit v1.2.3