diff --git a/src/app/features/administration/form/form.component.html b/src/app/features/administration/form/form.component.html index db7dd99d..db422b1f 100644 --- a/src/app/features/administration/form/form.component.html +++ b/src/app/features/administration/form/form.component.html @@ -22,9 +22,12 @@

{{ 'creation.want' | translate }}

- - - + + + - - - - + + + - -

- {{ 'creation.choices_hint' | translate }} -

- -
-
-
- - {{ i * 1 + 1 }}) -
-
- - -
- - -
-
-
+ +
+ + + {{ 'creation.choices_hint' | translate }} + +
+
+
+
+ + {{ i * 1 + 1 }}) +
+
+ + +
+ + +
+
+
+
diff --git a/src/app/features/administration/form/text-select/text-select.component.ts b/src/app/features/administration/form/text-select/text-select.component.ts index f821e3ed..35d77dd5 100644 --- a/src/app/features/administration/form/text-select/text-select.component.ts +++ b/src/app/features/administration/form/text-select/text-select.component.ts @@ -9,8 +9,13 @@ import { FormGroup } from '@angular/forms'; export class TextSelectComponent implements OnInit { @Input() public form: FormGroup; + public choices = []; constructor() {} ngOnInit(): void {} + reinitChoices(): void {} + addChoice(): void {} + deleteChoiceField(i): void {} + keyOnChoice($event, i): void {} } diff --git a/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.html b/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.html index 9a12a9fe..329af972 100644 --- a/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.html +++ b/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.html @@ -100,7 +100,7 @@ suffit donc de les convertir en nombre et faire des opérations plus ou moins complexes avec. Voici un texte que l'on voudrait chiffrer:
- +
Vous pouvez le changer, la page se met à jour automatiquement. Le texte clair fait {{ plainText.length }} caractères. @@ -194,7 +194,7 @@

Déchiffrement simple

Collez ici le texte chiffré à convertir en truc lisible par l'opération - du saint esprit réalisée dans l'autre sens. + du saint esprit réalisée dans l'autre sens.

@@ -229,7 +229,9 @@ {{ getEntropy(plainText).toFixed(3) }} - + + + {{ getEntropy(simpleCipheredText).toFixed(3) }} diff --git a/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.ts b/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.ts index 639d1fa0..6f4f1d9a 100644 --- a/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.ts +++ b/src/app/features/shared/components/ui/static-pages/ciphering/ciphering.component.ts @@ -26,7 +26,7 @@ export class CipheringComponent implements OnInit { public dico: string[]; public separatedCouples: any[]; public codingMatrice = '2 3 5 8'; - private cipheredTextCIL: string; + public cipheredTextCIL: string; constructor() { this.alphab = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 .+-*/_!?,éèêëàçôî'âù()@&$";