@okjavis/nodebb-theme-javis 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,95 +0,0 @@
1
- <!-- IMPORT partials/breadcrumbs-json-ld.tpl -->
2
- {{{ if config.theme.enableBreadcrumbs }}}
3
- <!-- IMPORT partials/breadcrumbs.tpl -->
4
- {{{ end }}}
5
-
6
- <div class="category-header d-flex flex-column gap-2">
7
- <div class="d-flex gap-2 align-items-center mb-1 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
8
- {buildCategoryIcon(@value, "40px", "rounded-1 flex-shrink-0")}
9
- <h1 class="tracking-tight fs-2 fw-semibold mb-0">{./name}</h1>
10
- </div>
11
- {{{ if ./descriptionParsed }}}
12
- <div class="description text-secondary text-sm w-100 {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}} line-clamp-4 clamp-fade-4">
13
- {./descriptionParsed}
14
- </div>
15
- {{{ end }}}
16
- <!-- ActivityPub handle - hidden by default, can show via tooltip -->
17
- {{{ if ./handleFull }}}
18
- <div class="activitypub-handle d-none">
19
- <p class="text-secondary text-sm fst-italic mb-0">
20
- [[category:handle.description, {handleFull}]]
21
- <a href="#" class="link-secondary" data-action="copy" data-clipboard-text="{handleFull}"><i class="fa fa-fw fa-copy" aria-hidden="true"></i></a>
22
- </p>
23
- </div>
24
- {{{ end }}}
25
- <div class="d-flex flex-wrap gap-2 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
26
- <span class="badge text-body border border-gray-300 stats text-xs">
27
- <span title="{totalTopicCount}" class="fw-bold">{humanReadableNumber(totalTopicCount)}</span>
28
- <span class="text-lowercase fw-normal">[[global:topics]]</span>
29
- </span>
30
- <span class="badge text-body border border-gray-300 stats text-xs">
31
- <span title="{totalPostCount}" class="fw-bold">{humanReadableNumber(totalPostCount)}</span>
32
- <span class="text-lowercase fw-normal">[[global:posts]]</span>
33
- </span>
34
- {{{ if !isNumber(cid) }}}
35
- <a href="{./url}" class="badge text-body border border-gray-300 text-xs" data-ajaxify="false">
36
- <span class="fw-normal">View Original</span>
37
- <i class="fa fa-external-link"></i>
38
- </a>
39
- {{{ end }}}
40
- </div>
41
- </div>
42
-
43
- {{{ if widgets.header.length }}}
44
- <div data-widget-area="header">
45
- {{{ each widgets.header }}}
46
- {{widgets.header.html}}
47
- {{{ end }}}
48
- </div>
49
- {{{ end }}}
50
-
51
-
52
- <div class="row flex-fill mt-3">
53
- <div class="category d-flex flex-column {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
54
- <!-- IMPORT partials/category/subcategory.tpl -->
55
- {{{ if (topics.length || privileges.topics:create) }}}
56
- <!-- IMPORT partials/topic-list-bar.tpl -->
57
- {{{ end }}}
58
-
59
- {{{ if (./inbox && (./hasFollowers == false)) }}}
60
- <div class="alert alert-warning mb-4" id="category-no-followers" data-bs-toggle="dropdown" data-bs-target='[component="topic/watch"] button' aria-hidden="true">
61
- <i class="fa fa-triangle-exclamation pe-2"></i>
62
- [[category:no-followers]]
63
- <a href="#" class="stretched-link"></a>
64
- </div>
65
- {{{ end }}}
66
-
67
- {{{ if (!topics.length && privileges.topics:create) }}}
68
- <div class="alert alert-info" id="category-no-topics">
69
- [[category:no-topics]]
70
- </div>
71
- {{{ end }}}
72
-
73
- <!-- IMPORT partials/topics_list.tpl -->
74
-
75
- {{{ if config.usePagination }}}
76
- <!-- IMPORT partials/paginator.tpl -->
77
- {{{ end }}}
78
- </div>
79
- <div data-widget-area="sidebar" class="col-lg-3 col-sm-12 {{{ if !widgets.sidebar.length }}}hidden{{{ end }}}">
80
- {{{ each widgets.sidebar }}}
81
- {{widgets.sidebar.html}}
82
- {{{ end }}}
83
- </div>
84
- </div>
85
- <div data-widget-area="footer">
86
- {{{each widgets.footer}}}
87
- {{widgets.footer.html}}
88
- {{{end}}}
89
- </div>
90
-
91
- {{{ if !config.usePagination }}}
92
- <noscript>
93
- <!-- IMPORT partials/paginator.tpl -->
94
- </noscript>
95
- {{{ end }}}