nodebb-theme-harmony 1.0.0-beta.12 → 1.0.0-beta.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "1.0.0-beta.12",
3
+ "version": "1.0.0-beta.15",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
@@ -6,10 +6,6 @@ $composer-bg: $body-bg !default;
6
6
  background-color: $bg !important;
7
7
  }
8
8
 
9
- .composer {
10
- z-index: 3 !important;
11
- }
12
-
13
9
  .skin-noskin {
14
10
  // only using colors when there is no bootswatch skin applied
15
11
  $composer-color: $secondary;
@@ -12,6 +12,68 @@
12
12
  <hr />
13
13
 
14
14
  <div class="row">
15
+ <div class="col-sm-6">
16
+ <!-- IF gdpr_consent -->
17
+ <div class="alert alert-success">
18
+ <i class="fa fa-check float-end fa-3x"></i>
19
+ [[user:consent.received]]
20
+ </div>
21
+ <!-- ELSE -->
22
+ <div class="alert alert-warning">
23
+ [[user:consent.not_received]]
24
+ <br /><br />
25
+ <div class="text-center">
26
+ <button class="btn btn-warning" data-action="consent">[[user:consent.give]]</button>
27
+ </div>
28
+ </div>
29
+ <!-- END -->
30
+ <div class="card">
31
+ <div class="card-body">
32
+ <p>[[user:consent.email_intro]]</p>
33
+ {{{ if digest.enabled }}}
34
+ <p>[[user:consent.digest_frequency, {digest.frequency}]]</p>
35
+ {{{ else }}}
36
+ <p>[[user:consent.digest_off]]</p>
37
+ {{{ end }}}
38
+
39
+ <div class="d-grid">
40
+ <a class="btn btn-outline-secondary" href="./settings">
41
+ <i class="fa fa-cog"></i>
42
+ [[pages:account/settings]]
43
+ </a>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ <div class="col-sm-6">
49
+ <div class="card">
50
+ <div class="card-body">
51
+ <p><strong>[[user:consent.right_of_access]]</strong></p>
52
+ <p>[[user:consent.right_of_access_description]]</p>
53
+ <p><strong>[[user:consent.right_to_rectification]]</strong></p>
54
+ <p>[[user:consent.right_to_rectification_description]]</p>
55
+ <p><strong>[[user:consent.right_to_erasure]]</strong></p>
56
+ <p>[[user:consent.right_to_erasure_description]]</p>
57
+ <p><strong>[[user:consent.right_to_data_portability]]</strong></p>
58
+ <p>[[user:consent.right_to_data_portability_description]]</p>
59
+
60
+ <hr />
61
+
62
+ <div class="btn-group-vertical d-grid">
63
+ <a data-action="export-profile" class="btn btn-outline-secondary">
64
+ <i class="fa fa-download"></i> [[user:consent.export_profile]]
65
+ </a>
66
+ <a data-action="export-posts" class="btn btn-outline-secondary">
67
+ <i class="fa fa-download"></i> [[user:consent.export_posts]]
68
+ </a>
69
+ <a data-action="export-uploads" class="btn btn-outline-secondary">
70
+ <i class="fa fa-download"></i> [[user:consent.export_uploads]]
71
+ </a>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
15
77
  </div>
16
78
  </div>
17
79
  </div>
@@ -1,5 +1,5 @@
1
1
  <hr/>
2
- <a class="topic-title fw-semibold fs-5 text-reset" href="{config.relative_path}/post/{./pid}">
2
+ <a class="topic-title fw-semibold fs-5 text-reset text-break" href="{config.relative_path}/post/{./pid}">
3
3
  {{{ if !./isMainPost }}}RE: {{{ end }}}{./topic.title}
4
4
  </a>
5
5
  <li component="post" class="posts-list-item {{{ if ./deleted }}} deleted{{{ else }}}{{{ if ./topic.deleted }}} deleted{{{ end }}}{{{ end }}}{{{ if ./topic.scheduled }}} scheduled{{{ end }}}" data-pid="{./pid}" data-uid="{./uid}">
@@ -12,7 +12,7 @@
12
12
  <span class="timeago text-sm text-muted" title="{../timestampISO}"></span>
13
13
  </div>
14
14
 
15
- <div component="post/content" class="content text-sm">
15
+ <div component="post/content" class="content text-sm text-break">
16
16
  {../content}
17
17
  </div>
18
18
  </div>
@@ -35,7 +35,7 @@
35
35
  {{{ end }}}
36
36
 
37
37
  {{{ if ./text }}}
38
- <div class="text text-sm line-clamp-3">{./text}</div>
38
+ <div class="text text-sm line-clamp-3 text-break">{./text}</div>
39
39
  {{{ end }}}
40
40
  <div class="timeago text-xs text-muted" title="{./timestampISO}"></div>
41
41
  </div>