aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-09-10 08:00:18 +0000
committerMario <mario@mariovavti.com>2023-09-10 08:00:18 +0000
commit0e8ecbc9fc108b4903eb013ca0a4a1f4beb5fbe1 (patch)
treec091dfac3e1b5743bb50a7bf7165ae226e0543b8 /view/tpl
parenta88236b36fc9828e6dccbbc044aa37b2f7b46581 (diff)
downloadvolse-hubzilla-0e8ecbc9fc108b4903eb013ca0a4a1f4beb5fbe1.tar.gz
volse-hubzilla-0e8ecbc9fc108b4903eb013ca0a4a1f4beb5fbe1.tar.bz2
volse-hubzilla-0e8ecbc9fc108b4903eb013ca0a4a1f4beb5fbe1.zip
theme fixes to make a barebones theme work slightly better
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/messages_widget.tpl10
-rw-r--r--view/tpl/navbar_default.tpl2
-rw-r--r--view/tpl/notifications_widget.tpl9
-rw-r--r--view/tpl/settings_display.tpl6
4 files changed, 14 insertions, 13 deletions
diff --git a/view/tpl/messages_widget.tpl b/view/tpl/messages_widget.tpl
index 5770abffc..9b6c6d03b 100644
--- a/view/tpl/messages_widget.tpl
+++ b/view/tpl/messages_widget.tpl
@@ -25,11 +25,11 @@
<div id="messages-widget" class="border-start border-end border-bottom overflow-auto mb-3 clearfix" style="height: 70vh;">
<div id="messages-template" rel="template" class="d-none">
<a href="{6}" class="list-group-item list-group-item-action message" data-b64mid="{0}">
- <div class="mb-2">
- <img src="{9}" loading="lazy" class="rounded menu-img-2">
+ <div class="mb-2 align-middle">
+ <img src="{9}" loading="lazy" class="rounded float-start me-2 menu-img-2">
<div class="text-nowrap">
<div class="d-flex justify-content-between align-items-center lh-sm">
- <div class="text-truncate pe-1">
+ <div class="text-truncate">
{7}
<strong title="{4}">{4}</strong>
</div>
@@ -55,8 +55,8 @@
</div>
{{foreach $entries as $e}}
<a href="{{$e.href}}" class="list-group-item list-group-item-action message" data-b64mid="{{$e.b64mid}}">
- <div class="mb-2">
- <img src="{{$e.author_img}}" loading="lazy" class="rounded menu-img-2">
+ <div class="mb-2 align-middle">
+ <img src="{{$e.author_img}}" loading="lazy" class="rounded float-start me-2 menu-img-2">
<div class="text-nowrap">
<div class="d-flex justify-content-between align-items-center lh-sm">
<div class="text-truncate pe-1">
diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl
index ea8723e8b..c6f350b09 100644
--- a/view/tpl/navbar_default.tpl
+++ b/view/tpl/navbar_default.tpl
@@ -4,7 +4,7 @@
<div class="d-flex" style="max-width: 50%">
<div class="dropdown">
<div class="cursor-pointer usermenu" data-bs-toggle="dropdown">
- <img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}">
+ <img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}" class="rounded">
<i class="navbar-text fa fa-caret-down"></i>
</div>
{{if $is_owner}}
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index bae1c1469..b4b0c02ef 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -416,9 +416,10 @@
function sse_updateNotifications(type, mid) {
+ /*
if(type === 'pubs')
return true;
-
+ */
if(type === 'notify' && (mid !== bParam_mid || sse_type !== 'notify'))
return true;
/*
@@ -533,9 +534,9 @@
<div id="no_notifications" class="d-xl-none">
{{$no_notifications}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span>
</div>
- <div id="nav-notifications-template" rel="template">
+ <div id="nav-notifications-template" rel="template" class="d-none">
<a class="list-group-item list-group-item-action notification {6}" href="{0}" title="{13}" data-b64mid="{7}" data-notify_id="{8}" data-thread_top="{9}" data-contact_name="{2}" data-contact_addr="{3}" data-when="{5}">
- <img data-src="{1}" loading="lazy" class="rounded menu-img-2">
+ <img data-src="{1}" loading="lazy" class="rounded float-start me-2 menu-img-2">
<div class="text-nowrap">
<div class="d-flex justify-content-between align-items-center lh-sm">
<div class="text-truncate pe-1">
@@ -547,7 +548,7 @@
</div>
</a>
</div>
- <div id="nav-notifications-forums-template" rel="template">
+ <div id="nav-notifications-forums-template" rel="template" class="d-none">
<a class="list-group-item list-group-item-action justify-content-between align-items-center d-flex notification notification-forum" href="{0}" title="{4} - {3}" data-b64mid="{7}" data-notify_id="{8}" data-thread_top="{9}" data-contact_name="{2}" data-contact_addr="{3}" data-b64mids='{12}'>
<div>
<img class="menu-img-1" data-src="{1}" loading="lazy">
diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl
index 70b9bac80..d745d14b5 100644
--- a/view/tpl/settings_display.tpl
+++ b/view/tpl/settings_display.tpl
@@ -30,6 +30,7 @@
</div>
</div>
{{/if}}
+ {{if $theme_config}}
<div class="panel">
<div class="section-subtitle-wrapper" role="tab" id="custom-settings-title">
<h3>
@@ -40,12 +41,11 @@
</div>
<div id="custom-settings-content" class="collapse{{if !$theme}} in{{/if}}" role="tabpanel" aria-labelledby="custom-settings" data-bs-parent="#settings" >
<div class="section-content-tools-wrapper">
- {{if $theme_config}}
- {{$theme_config}}
- {{/if}}
+ {{$theme_config}}
</div>
</div>
</div>
+ {{/if}}
<div class="panel">
<div class="section-subtitle-wrapper" role="tab" id="content-settings-title">
<h3>