1818 <CrlValidation />
1919 <DocMDP />
2020 <SettingsPolicyWorkbench />
21- <div class =" policy-workbench-frozen-preview" >
22- <div class =" policy-workbench-frozen-preview__header" >
23- <div >
24- <h3 >{{ t('libresign', 'Frozen workbench reference') }}</h3 >
25- <p >{{ t('libresign', 'Comparison reference rendered from the frozen implementation.') }}</p >
26- </div >
27- <button
28- type =" button"
29- data-testid =" toggle-frozen-preview"
30- class =" policy-workbench-frozen-preview__toggle"
31- @click =" showFrozenPreview = !showFrozenPreview" >
32- {{ showFrozenPreview ? t('libresign', 'Hide reference') : t('libresign', 'Show reference') }}
33- </button >
34- </div >
35- <FrozenSettingsPolicyWorkbench v-if =" showFrozenPreview" />
36- </div >
3721 <SigningMode v-if =" false" />
3822 <AllowedGroups />
3923 <LegalInformation />
4933</template >
5034
5135<script setup lang="ts">
52- import { ref } from ' vue'
53- import { t } from ' @nextcloud/l10n'
54-
5536import AllowedGroups from ' ./AllowedGroups.vue'
5637import CertificateEngine from ' ./CertificateEngine.vue'
5738import ConfigureCheck from ' ./ConfigureCheck.vue'
@@ -68,7 +49,6 @@ import LegalInformation from './LegalInformation.vue'
6849import Reminders from ' ./Reminders.vue'
6950import RootCertificateCfssl from ' ./RootCertificateCfssl.vue'
7051import RootCertificateOpenSsl from ' ./RootCertificateOpenSsl.vue'
71- import FrozenSettingsPolicyWorkbench from ' ./_frozen/PolicyWorkbenchPoc/SettingsPolicyWorkbench.vue'
7252import SignatureEngine from ' ./SignatureEngine.vue'
7353import SettingsPolicyWorkbench from ' ./PolicyWorkbench/RealPolicyWorkbench.vue'
7454import SignatureHashAlgorithm from ' ./SignatureHashAlgorithm.vue'
@@ -78,8 +58,6 @@ import SupportProject from './SupportProject.vue'
7858import TSA from ' ./TSA.vue'
7959import Validation from ' ./Validation.vue'
8060
81- const showFrozenPreview = ref (false )
82-
8361defineOptions ({
8462 name: ' Settings' ,
8563 components: {
@@ -99,7 +77,6 @@ defineOptions({
9977 Reminders ,
10078 RootCertificateCfssl ,
10179 RootCertificateOpenSsl ,
102- FrozenSettingsPolicyWorkbench ,
10380 SettingsPolicyWorkbench ,
10481 SignatureEngine ,
10582 SignatureHashAlgorithm ,
@@ -111,42 +88,3 @@ defineOptions({
11188 },
11289})
11390 </script >
114-
115- <style scoped>
116- .policy-workbench-frozen-preview {
117- margin-top : 24px ;
118- padding-top : 16px ;
119- border-top : 1px solid var (--color-border-maxcontrast );
120- }
121-
122- .policy-workbench-frozen-preview__header {
123- display : flex ;
124- justify-content : space-between ;
125- align-items : flex-start ;
126- gap : 12px ;
127- margin-bottom : 14px ;
128- }
129-
130- .policy-workbench-frozen-preview__toggle {
131- height : 32px ;
132- padding : 0 12px ;
133- border-radius : 999px ;
134- border : 1px solid var (--color-border-maxcontrast );
135- background : var (--color-main-background );
136- color : var (--color-main-text );
137- font-weight : 600 ;
138- cursor : pointer ;
139- }
140-
141- .policy-workbench-frozen-preview h3 {
142- margin : 0 0 6px ;
143- font-size : 16px ;
144- font-weight : 600 ;
145- }
146-
147- .policy-workbench-frozen-preview p {
148- margin : 0 0 14px ;
149- color : var (--color-text-maxcontrast );
150- font-size : 13px ;
151- }
152- </style >
0 commit comments