ode-csslib-openent-adm 3.3.20 → 3.3.22

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.
@@ -5,60 +5,78 @@
5
5
  <head>
6
6
  <title>{{#i18n}}directory.admin.massMailing{{/i18n}}</title>
7
7
  <style type="text/css">
8
- * {
9
- box-sizing: border-box;
10
- }
11
- body {
12
- font-family: Arial, sans-serif;
13
- color: #555;
14
- line-height: 1.4;
15
- }
16
- @page {
17
- size: A4;
18
- }
19
- @media print {
20
- html, body {
21
- width: 210mm;
22
- height: 297mm;
23
- }
24
- }
25
- p {
26
- font-size: 12px;
27
- margin: 0;
28
- }
29
- strong {
30
- color: #444;
31
- }
32
- a {
33
- color: #3889c1;
34
- }
35
- .card {
36
- float: left;
37
- width: 8cm;
38
- min-height: 5.9cm;
39
- max-height: 6cm;
40
- border: 0.5px dashed #ccc;
41
- padding: 15px;
42
- margin: 0;
43
- }
44
- .logo {
45
- width: 100px;
46
- float: right;
47
- }
48
- .grade {
49
- display: inline-block;
50
- font-size: 11px;
51
- margin-bottom: 15px;
52
- font-style: oblique;
53
- }
54
- .name {
55
- font-size: 16px;
56
- margin: 0;
57
- line-height: 1.1;
58
- }
59
- .activated {
60
- font-style: oblique;
61
- }
8
+ * {
9
+ box-sizing: border-box;
10
+ }
11
+ body {
12
+ font-family: Arial, sans-serif;
13
+ color: #555;
14
+ line-height: 1.4;
15
+ }
16
+ @page {
17
+ size: A4;
18
+ }
19
+ @media print {
20
+ html, body {
21
+ width: 210mm;
22
+ height: 297mm;
23
+ }
24
+ }
25
+ p {
26
+ font-size: 12px;
27
+ margin: 0;
28
+ }
29
+ strong {
30
+ color: #444;
31
+ }
32
+ a {
33
+ color: #3889c1;
34
+ }
35
+ .card {
36
+ float: left;
37
+ width: 8cm;
38
+ min-height: 5.9cm;
39
+ max-height: 6cm;
40
+ border: 0.5px dashed #ccc;
41
+ padding: 15px;
42
+ margin: 0;
43
+ }
44
+ .identity {
45
+ position: relative;
46
+ }
47
+ .logo {
48
+ width: 100px;
49
+ position: absolute;
50
+ right: -6px;
51
+ top: -6px;
52
+ background-color: #fff;
53
+ }
54
+ .grade {
55
+ display: inline-block;
56
+ font-size: 11px;
57
+ line-height: 12px;
58
+ font-style: oblique;
59
+ }
60
+ .relative {
61
+ height: 48px;
62
+ overflow: hidden;
63
+ }
64
+ .mt-12 {
65
+ margin-top: 12px;
66
+ }
67
+ .name {
68
+ margin: 0;
69
+ font-size: 14px;
70
+ line-height: 1.1;
71
+ }
72
+ .truncated {
73
+ text-overflow: ellipsis;
74
+ overflow: hidden;
75
+ white-space: nowrap;
76
+ }
77
+ .activated {
78
+ font-style: oblique;
79
+ }
62
80
  </style>
63
81
  </head>
64
82
 
@@ -67,21 +85,20 @@
67
85
  <div style="page-break-after:always;">
68
86
  {{#users}}
69
87
  <div class="card">
70
- <img class="logo" src="logo.png"></img>
71
- <h2 class="name">{{displayName}}</h2>
72
- {{^isGuestOrPersonnel}}
73
- <strong class="grade">{{#i18n}}{{profile}}{{/i18n}}{{#firstClass}} {{#i18n}}classAdmin.template.class{{/i18n}} <strong>{{.}}</strong>{{#otherClasses}}, <strong>{{.}}</strong>{{/otherClasses}}{{/firstClass}}.</strong>
74
- <br />
75
- {{/isGuestOrPersonnel}}
76
- {{#isGuestOrPersonnel}}
77
- <strong class="grade">{{#i18n}}{{profile}}{{/i18n}}</strong>
78
- <br />
79
- {{/isGuestOrPersonnel}}
88
+ <div class="identity">
89
+ <img class="logo" src="logo.png"></img>
90
+ <h2 class="name truncated">{{displayName}}</h2>
91
+ {{^isGuestOrPersonnel}}
92
+ <strong class="grade truncated">{{#i18n}}{{profile}}{{/i18n}}{{#firstClass}} {{#i18n}}classAdmin.template.class{{/i18n}} <strong>{{.}}</strong>{{#otherClasses}}, <strong>{{.}}</strong>{{/otherClasses}}{{/firstClass}}.</strong>
93
+ {{/isGuestOrPersonnel}}
94
+ {{#isGuestOrPersonnel}}
95
+ <strong class="grade truncated">{{#i18n}}{{profile}}{{/i18n}}</strong>
96
+ {{/isGuestOrPersonnel}}
97
+ </div>
80
98
  {{#firstChild}}
81
- <p><strong>{{#i18n}}classAdmin.template.relative{{/i18n}} : </strong><br />{{firstName}} {{lastName}}{{#otherChildren}}, {{firstName}} {{lastName}}{{/otherChildren}}</p>
82
- <br />
99
+ <p class="relative mt-12"><strong>{{#i18n}}classAdmin.template.relative{{/i18n}} : </strong><br />{{firstName}} {{lastName}}{{#otherChildren}}, {{firstName}} {{lastName}}{{/otherChildren}}</p>
83
100
  {{/firstChild}}
84
- <p><strong>{{#i18n}}classAdmin.template.id{{/i18n}} : </strong>{{login}}</p>
101
+ <p class="mt-12"><strong>{{#i18n}}classAdmin.template.id{{/i18n}} : </strong>{{login}}</p>
85
102
  {{#activationCode}}
86
103
  <p><strong>{{#i18n}}classAdmin.template.code{{/i18n}} : </strong>{{activationCode}}</p>
87
104
  {{/activationCode}}
@@ -93,8 +110,7 @@
93
110
  <p><strong>{{#i18n}}classAdmin.template.reset{{/i18n}} : </strong>{{resetCode}}</p>
94
111
  {{/resetCode}}
95
112
  {{/activationCode}}
96
- <br />
97
- <p>
113
+ <p class="mt-12">
98
114
  <strong>{{#i18n}}classAdmin.template.url{{/i18n}} :</strong><br />
99
115
  <a href="#">{{hostname}}</a><br />
100
116
  {{#i18n}}classAdmin.template.downloadAppInfo{{/i18n}}
package/dist/version.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  entcore-css-lib 21/08/2025 18:29:02
2
- ode-csslib-openent-adm 05/09/2025 16:32:44
2
+ ode-csslib-openent-adm 15/10/2025 13:30:25
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-csslib-openent-adm",
3
- "version": "3.3.20",
3
+ "version": "3.3.22",
4
4
  "description": "Open ENT theme by Edifice",
5
5
  "repository": {
6
6
  "type": "git",