From dd1f9494f1f520e30ee85a86129e982c509e9f5e Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 14 Apr 2023 06:04:44 +0000 Subject: css fix --- view/tpl/navbar_default.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index ca61bcb8e..c0bcd02c2 100644 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -183,7 +183,7 @@ {{else}} -
+
{{if $name}}
-- cgit v1.2.3 From f851c272fa5cc95f11bfaa0b5399028c6d91247e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 26 Apr 2023 12:50:37 +0200 Subject: enable dir admins to flag or hide entries --- view/tpl/direntry.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 5a8e19d12..61dbbcc37 100644 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -1,14 +1,14 @@
- {{if $entry.viewrate}} - {{if $entry.total_ratings}}{{$entry.total_ratings}}{{/if}} - {{/if}} {{if $entry.ignlink}} {{$entry.ignore_label}} {{/if}} + {{if $entry.censor_2}} + {{$entry.censor_2_label}} + {{/if}} {{if $entry.censor}} - {{$entry.censor_label}} + {{$entry.censor_label}} {{/if}} {{if $entry.connect}} {{$entry.conn_label}} -- cgit v1.2.3 From 0bf65bcad5f11be5b8d8e3280fc2f96f150a8830 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 26 Apr 2023 13:46:25 +0200 Subject: remove rate entry and move ignore button to the right --- view/tpl/direntry.tpl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 61dbbcc37..50714c072 100644 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -1,21 +1,18 @@
- {{if $entry.ignlink}} - {{$entry.ignore_label}} - {{/if}} {{if $entry.censor_2}} {{$entry.censor_2_label}} {{/if}} {{if $entry.censor}} {{$entry.censor_label}} {{/if}} + {{if $entry.ignlink}} + {{$entry.ignore_label}} + {{/if}} {{if $entry.connect}} {{$entry.conn_label}} {{/if}} - {{if $entry.viewrate}} - {{if $entry.canrate}}{{/if}} - {{/if}}

{{if $entry.public_forum}} {{/if}}{{$entry.name}}{{if $entry.online}} {{/if}}

-- cgit v1.2.3 From 96ae569eafe8bec574ad3f34a0bd3717ba924d75 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 29 Apr 2023 19:38:34 +0000 Subject: trusted dir servers frontend --- view/tpl/admin_site.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index bad68361b..0e5b91376 100644 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -24,6 +24,9 @@ {{if $directory_server}} {{include file="field_select.tpl" field=$directory_server}} {{/if}} + {{if $trusted_directory_servers}} + {{include file="field_textarea.tpl" field=$trusted_directory_servers}} + {{/if}}
-- cgit v1.2.3 From ca9491d343cd03acfb0bb48017df48ca8ffb761d Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 29 Apr 2023 22:43:49 +0200 Subject: move trusted directory servers to security and implement in backend --- view/tpl/admin_security.tpl | 5 ++++- view/tpl/admin_site.tpl | 3 --- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/admin_security.tpl b/view/tpl/admin_security.tpl index 3cc23f5b2..29c6bcb34 100644 --- a/view/tpl/admin_security.tpl +++ b/view/tpl/admin_security.tpl @@ -17,7 +17,7 @@ {{include file="field_checkbox.tpl" field=$inline_pdf}} {{include file="field_textarea.tpl" field=$allowed_email}} - {{include file="field_textarea.tpl" field=$not_allowed_email}} + {{include file="field_textarea.tpl" field=$not_allowed_email}} {{include file="field_textarea.tpl" field=$whitelisted_sites}} {{include file="field_textarea.tpl" field=$blacklisted_sites}} @@ -27,6 +27,9 @@ {{include file="field_textarea.tpl" field=$embed_allow}} {{include file="field_textarea.tpl" field=$embed_deny}} + {{if $trusted_directory_servers}} + {{include file="field_textarea.tpl" field=$trusted_directory_servers}} + {{/if}}
diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index 0e5b91376..bad68361b 100644 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -24,9 +24,6 @@ {{if $directory_server}} {{include file="field_select.tpl" field=$directory_server}} {{/if}} - {{if $trusted_directory_servers}} - {{include file="field_textarea.tpl" field=$trusted_directory_servers}} - {{/if}}
-- cgit v1.2.3 From 2d4b35fbc99062d52c6c32cacd158ceda661bb31 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 3 May 2023 22:42:52 +0200 Subject: provide possibility to flag via ajax calls to prevent pageloads --- view/tpl/directory_header.tpl | 63 ++++++++++++++++++++++++++++++++++++++++++- view/tpl/direntry.tpl | 6 ++--- 2 files changed, 65 insertions(+), 4 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/directory_header.tpl b/view/tpl/directory_header.tpl index f5ce7ce0a..a261762ac 100644 --- a/view/tpl/directory_header.tpl +++ b/view/tpl/directory_header.tpl @@ -19,7 +19,68 @@ {{** make sure this element is at the bottom - we rely on that in endless scroll **}}
-
+ diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index 50714c072..16df987f4 100644 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -1,11 +1,11 @@
-
+
{{if $entry.censor_2}} - {{$entry.censor_2_label}} + {{$entry.censor_2_label}} {{/if}} {{if $entry.censor}} - {{$entry.censor_label}} + {{$entry.censor_label}} {{/if}} {{if $entry.ignlink}} {{$entry.ignore_label}} -- cgit v1.2.3 From 93278c00b745a67fda03395f73c79cb2ddeb12d7 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 6 May 2023 19:41:02 +0000 Subject: update profile vcard to implement the cover image --- view/tpl/profile_vcard.tpl | 74 ++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 35 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index beec6b3a0..4c3875fa7 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,49 +1,53 @@
-
-
-
- {{$profile.fullname}} -
-
-
- {{if $editmenu.multi}} - - {{elseif $editmenu}} - - {{/if}} - -
- {{$profile.fullname}}{{if $profile.online}}{{/if}} +
+ + {{if $connect}} + + {{$connect}} + + {{/if}} +
+
+ {{$profile.fullname}}{{if $profile.online}}{{/if}}
- {{$profile.reddress}} + {{$profile.reddress}}
- {{if $connect}} - + {{if $editmenu.multi}} + + {{elseif $editmenu}} +
+ +
+ {{/if}} +
+
+
+ {{$profile.fullname}} +
+ {{if $profile.pdesc}} +
{{$profile.pdesc}}
+ {{else}} +
+ {{$no_pdesc}} +
+ {{/if}}
{{if $details}}
- {{if $profile.pdesc}} -
{{$profile.pdesc}}
- {{/if}} {{if $location}}
{{$location}}
-- cgit v1.2.3 From edc8d17031def12739c7c664ec0b454ce135c7f3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 6 May 2023 20:42:04 +0000 Subject: slightly change online status display --- view/tpl/profile_vcard.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 4c3875fa7..9c8987b1f 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -9,7 +9,7 @@ {{/if}}
- {{$profile.fullname}}{{if $profile.online}}{{/if}} + {{$profile.fullname}}{{if $profile.online}}{{/if}}
{{$profile.reddress}} -- cgit v1.2.3 From 7185780d4e27ce1842a035c83604b4226d725392 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 7 May 2023 10:30:34 +0200 Subject: h3 adds bottom margin - remove it --- view/tpl/profile_vcard.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 9c8987b1f..a649581e0 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -8,7 +8,7 @@ {{/if}}
-
+
{{$profile.fullname}}{{if $profile.online}}{{/if}}
-- cgit v1.2.3 From be45005dbb3d17bf4215e314c19ed2b7853e6a54 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 7 May 2023 11:29:45 +0000 Subject: css fixes --- view/tpl/profile_vcard.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index a649581e0..670181c4d 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -33,9 +33,9 @@
{{/if}}
-
-
- {{$profile.fullname}} +
+
+ {{$profile.fullname}}
{{if $profile.pdesc}}
{{$profile.pdesc}}
-- cgit v1.2.3 From b25ebe12c5c231e951d5a87341f68fa161bb280e Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 7 May 2023 12:03:42 +0000 Subject: more css --- view/tpl/profile_vcard.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 670181c4d..e06c29716 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -38,7 +38,7 @@ {{$profile.fullname}}
{{if $profile.pdesc}} -
{{$profile.pdesc}}
+
{{$profile.pdesc}}
{{else}}
{{$no_pdesc}} -- cgit v1.2.3 From a56f9ab4e6e6438deffe9db843be50b05cbca1f6 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 7 May 2023 12:16:52 +0000 Subject: more css and whitespace --- view/tpl/profile_vcard.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index e06c29716..bbdb781c5 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -34,14 +34,14 @@ {{/if}}
-
- {{$profile.fullname}} +
+ {{$profile.fullname}}
{{if $profile.pdesc}} -
{{$profile.pdesc}}
+
{{$profile.pdesc}}
{{else}}
- {{$no_pdesc}} + {{$no_pdesc}}
{{/if}}
-- cgit v1.2.3 From 4d3a48d1c192ed54dfabaea5e251ddd083070b21 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 7 May 2023 12:47:13 +0000 Subject: cropper fixup --- view/tpl/cropcover.tpl | 4 ++-- view/tpl/profile_vcard.tpl | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/cropcover.tpl b/view/tpl/cropcover.tpl index ba91a2cce..eda6a7ba8 100644 --- a/view/tpl/cropcover.tpl +++ b/view/tpl/cropcover.tpl @@ -15,8 +15,8 @@ var image = document.getElementById('croppa'); var cropper = new Cropper(image, { aspectRatio: 2.75 / 1, viewMode: 1, - preview: '.crop-preview', - crop: function(e) { + preview: '#cover-photo-wrapper, .crop-preview', + crop: function(e) { $( '#x1' ).val(e.detail.x); $( '#y1' ).val(e.detail.y); $( '#x2' ).val(e.detail.x + e.detail.width); diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index bbdb781c5..8276a1b72 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,7 +1,9 @@
-
- +
-
+
{{$profile.fullname}}
{{if $profile.pdesc}}
{{$profile.pdesc}}
{{else}} -
+
{{$no_pdesc}}
{{/if}} -- cgit v1.2.3 From 4227d973b904ee6dde7c3f41d805a11cd9f271e7 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 7 May 2023 14:24:59 +0000 Subject: missing class --- view/tpl/profile_vcard.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 8276a1b72..14c96de67 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -5,7 +5,7 @@
{{if $connect}} -
+ {{$connect}} {{/if}} -- cgit v1.2.3 From 9252ae159675877e0a8a31a43004ce34a801b617 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 12 May 2023 08:01:25 +0000 Subject: css fixes --- view/tpl/profile_vcard.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 14c96de67..6cf40bf79 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -36,8 +36,8 @@ {{/if}}
-
- {{$profile.fullname}} +
+ {{$profile.fullname}}
{{if $profile.pdesc}}
{{$profile.pdesc}}
-- cgit v1.2.3