ode-csslib-openent-moncollege 3.2.20 → 3.2.21

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.
@@ -17,5 +17,7 @@
17
17
  "email.reset.infos" : "Si vous n'êtes pas à l'origine de cette demande, vous pouvez ignorer cet email. Notez que ceci est un email automatique et qu’aucune réponse ne sera donnée à cette adresse.",
18
18
  "email.signature" : "L'équipe de MonCollege.essonne.fr",
19
19
  "password.rules.activation": "Votre mot de passe doit contenir au moins un chiffre, une lettre et avoir une longueur minimale de 8 caractères.",
20
- "password.rules.reset": "Votre mot de passe doit contenir au moins un chiffre, une lettre et avoir une longueur minimale de 8 caractères. Il doit aussi être différent des précédents mots de passe déjà utilisés."
20
+ "password.rules.reset": "Votre mot de passe doit contenir au moins un chiffre, une lettre et avoir une longueur minimale de 8 caractères. Il doit aussi être différent des précédents mots de passe déjà utilisés.",
21
+ "label.accept.cgu.5": "et j’ai bien pris connaissance des mentions sur la protection de mes données personnelles.",
22
+ "terms.revalidate.checkbox": "J'ai lu la charte d'utilisation, les Conditions Générales d'Utilisation et j'ai bien pris connaissance des mentions sur la protection de mes données personnelles."
21
23
  }
@@ -0,0 +1,92 @@
1
+ <div class="centered container row">
2
+ <section class="main">
3
+ <div class="panel activation">
4
+ <img class="logo absolute" src="/assets/themes/[[childTheme]]/img/illustrations/logo.png" alt="Logo de l'ENT">
5
+ <h1 translate content="auth.activation.header"></h1>
6
+ <p class="warning" translate content="[[error]]" ng-if="error"></p>
7
+
8
+ <form method="post" ng-submit="activate()" name="activationForm" novalidate>
9
+ <p>
10
+ <h2 translate content="auth.email"></h2>
11
+ <em><h2>[[user.login]]</h2></em>
12
+ </p>
13
+ <p>
14
+ <label translate content="auth.activation.password"></label>
15
+ <input-password required ng-pattern="passwordRegex" ng-model="user.password"
16
+ ng-change="refreshInput(activationForm, 'confirmPassword')" name="password" ng-trim="false" tabindex="1"></input-password>
17
+ <p class="input-errors" ng-if="activationForm.password.$invalid && activationForm.password.$dirty">
18
+ <i18n>password.errors</i18n><br/>
19
+ <span ng-repeat="(key, value) in activationForm.password.$error">
20
+ <label ng-if="value">[[lang.translate(key)]]</label>
21
+ </span>
22
+ </p>
23
+ <label translate content="auth.activation.confirm.password"></label>
24
+ <input-password required ng-model="user.confirmPassword"
25
+ name="confirmPassword" ng-trim="false" tabindex="2"></input-password>
26
+ <p class="input-errors" ng-if="user.password !== '' && user.confirmPassword && user.confirmPassword !== '' && user.confirmPassword !== user.password">
27
+ <i18n>password.identical</i18n>
28
+ </p>
29
+ </p>
30
+ <div class="complexity>">
31
+ <small><i18n>complexity</i18n> : [[ translateComplexity(activationForm['password'].$viewValue) ]]</small>
32
+ <div class="fill-bar">
33
+ <div style="width: [[ (passwordComplexity(activationForm['password'].$viewValue) / 20) * 100 ]]%"
34
+ ng-class="{
35
+ 'weak': passwordComplexity(user.password) < 12,
36
+ 'normal': passwordComplexity(user.password) < 20 && passwordComplexity(activationForm['password'].$viewValue) >= 12,
37
+ 'strong': passwordComplexity(user.password) >= 20 }"
38
+ ></div>
39
+ </div>
40
+ </div>
41
+ <p class="input-errors" ng-if="passwordComplexity(user.password) < 20">
42
+ <i18n>password.recommandations</i18n>
43
+ </p>
44
+ <p>
45
+ <label translate content="auth.mail"></label>
46
+ <input type="email" name="mail" ng-model="user.email" ng-required="mandatory.mail" tabindex="3"/>
47
+ <span class="input-errors" ng-if="activationForm.mail.$invalid && activationForm.mail.$dirty">
48
+ <span ng-repeat="(key, value) in activationForm.mail.$error">
49
+ <label ng-if="value">[[lang.translate(key)]]</label>
50
+ </span>
51
+ </span>
52
+ </p>
53
+ <p>
54
+ <label translate content="auth.phone"></label>
55
+ <input type="tel" ng-pattern="phonePattern" name="phone" ng-model="user.phone" ng-required="mandatory.phone" tabindex="4"/>
56
+ <span class="input-errors" ng-if="activationForm.phone.$invalid && activationForm.phone.$dirty">
57
+ <span ng-repeat="(key, value) in activationForm.phone.$error">
58
+ <label ng-if="value">[[lang.translate(key)]]</label>
59
+ </span>
60
+ </span>
61
+ </p>
62
+ <p ng-if="cgu">
63
+ <input type="checkbox" ng-model="user.acceptCGU" value="true" tabindex="5" required>
64
+ &nbsp;&nbsp;
65
+ <i18n>label.accept.cgu.1</i18n>
66
+ <a
67
+ href="[[lang.translate('auth.charter')]]"
68
+ target="_blank"
69
+ translate content="label.accept.cgu.2"
70
+ style="display: inline"
71
+ class="medium-text"
72
+ >
73
+ </a>
74
+ <i18n>label.accept.cgu.3</i18n>
75
+ <a
76
+ href="[[lang.translate('cgu.file')]]"
77
+ target="_blank"
78
+ translate content="label.accept.cgu.4"
79
+ style="display: inline"
80
+ class="medium-text"
81
+ >
82
+ </a>
83
+ <i18n>label.accept.cgu.5</i18n>
84
+ </p>
85
+ <input type="text" name="username" id="username" ng-model="user.login" hidden readonly />
86
+ <input type="submit" translate attr="value" value="auth.activate" ng-disabled="activationForm.$invalid" tabindex="6"/>
87
+ <a href="/auth/login" target="_self" class="right cell" translate content="auth.cancel"></a>
88
+ <div class="clear"></div>
89
+ </form>
90
+ </div>
91
+ </section>
92
+ </div>
@@ -0,0 +1,40 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <title>{{#i18n}}terms.revalidate.title{{/i18n}}</title>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
+ <script type="text/javascript" src="/assets/js/entcore/ng-app.js?v=@@VERSION" id="context"></script>
7
+ <script type="text/javascript" src="/auth/public/dist/application.js?v=@@VERSION"></script>
8
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
9
+ {{#notLoggedIn}}
10
+ <script type="text/javascript">var notLoggedIn = true;</script>
11
+ {{/notLoggedIn}}
12
+ </head>
13
+
14
+ <body class="login" ng-controller="TermsRevalidationController">
15
+ <default-styles>
16
+ <div class="row">
17
+ <section class="center-component">
18
+ <div class="login panel">
19
+ <div class="rigid-grid panels-container">
20
+ <form>
21
+ <h2><i18n>terms.revalidate.title</i18n></h2>
22
+ <p><i18n>terms.revalidate.body</i18n></p>
23
+ <p><i18n>terms.revalidate.chartAndCguLinks</i18n></p>
24
+
25
+ <input id="revalidate" type="checkbox" ng-model="checked">
26
+ <label for="revalidate" style="display: inline; float: none; line-height: 30px;"><i18n>terms.revalidate.checkbox</i18n></label>
27
+
28
+ <div class="flex-row justify-end">
29
+ <button ng-click="validate()" ng-disabled="!checked" class="vertical-spacing-four">
30
+ <i18n>cgu.revalidate.action</i18n>
31
+ </button>
32
+ </div>
33
+ </form>
34
+ </div>
35
+ </div>
36
+ </section>
37
+ </div>
38
+ </default-styles>
39
+ </body>
40
+ </html>
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "auth": [
3
3
  "forgot-form",
4
- "forgot-form"
4
+ "forgot-form",
5
+ "activation-form",
6
+ "revalidate-terms"
5
7
  ],
6
8
  "portal": [
7
9
  "conversation-unread"
package/dist/version.txt CHANGED
@@ -1,2 +1,2 @@
1
1
  entcore-css-lib 04/03/2024 11:13:41
2
- ode-csslib-openent-moncollege 15/07/2024 18:04:34
2
+ ode-csslib-openent-moncollege 02/08/2024 09:36:31
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-csslib-openent-moncollege",
3
- "version": "3.2.20",
3
+ "version": "3.2.21",
4
4
  "description": "Open ENT theme by Edifice",
5
5
  "repository": {
6
6
  "type": "git",