mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-26 03:01:53 +01:00
[PM-17185] Remove Bootstrap style from SsoComponent in bitwarden_license (#13417)
* Replace Bootstrap with Tailwind equivalents
* Remove debug code
* Leverage bitLink directive
* use bitTypography directive
* Remove typo
* Replace Boostrap styles in subcomponents with Tailwind
* Remove unused class defininition
* Revert "Remove unused class defininition"
This reverts commit 22fba6c3d1
.
* Revert changes to non-sso component files
* Revert change to non sso file
* Use bitTypography directive instead of custom tailwind classes
* Remove typo
This commit is contained in:
parent
5384914276
commit
a50cff75ff
@ -3,7 +3,7 @@
|
|||||||
<bit-container>
|
<bit-container>
|
||||||
<ng-container *ngIf="loading">
|
<ng-container *ngIf="loading">
|
||||||
<i
|
<i
|
||||||
class="bwi bwi-spinner bwi-spin text-muted"
|
class="bwi bwi-spinner bwi-spin tw-text-muted"
|
||||||
title="{{ 'loading' | i18n }}"
|
title="{{ 'loading' | i18n }}"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
></i>
|
></i>
|
||||||
@ -148,7 +148,7 @@
|
|||||||
aria-live="polite"
|
aria-live="polite"
|
||||||
*ngIf="haveTestedKeyConnector && !keyConnectorUrl.hasError('invalidUrl')"
|
*ngIf="haveTestedKeyConnector && !keyConnectorUrl.hasError('invalidUrl')"
|
||||||
>
|
>
|
||||||
<small class="text-success">
|
<small class="tw-text-success-600">
|
||||||
<i class="bwi bwi-check-circle" aria-hidden="true"></i>
|
<i class="bwi bwi-check-circle" aria-hidden="true"></i>
|
||||||
{{ "keyConnectorTestSuccess" | i18n }}
|
{{ "keyConnectorTestSuccess" | i18n }}
|
||||||
</small>
|
</small>
|
||||||
@ -173,8 +173,10 @@
|
|||||||
*ngIf="ssoConfigForm.get('configType').value === ssoType.OpenIdConnect"
|
*ngIf="ssoConfigForm.get('configType').value === ssoType.OpenIdConnect"
|
||||||
[formGroup]="openIdForm"
|
[formGroup]="openIdForm"
|
||||||
>
|
>
|
||||||
<div class="config-section">
|
<div>
|
||||||
<h2 class="secondary-header">{{ "openIdConnectConfig" | i18n }}</h2>
|
<h2 bitTypography="h2">
|
||||||
|
{{ "openIdConnectConfig" | i18n }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>{{ "callbackPath" | i18n }}</bit-label>
|
<bit-label>{{ "callbackPath" | i18n }}</bit-label>
|
||||||
@ -246,14 +248,15 @@
|
|||||||
|
|
||||||
<!-- Optional customizations -->
|
<!-- Optional customizations -->
|
||||||
<div
|
<div
|
||||||
class="section-header d-flex flex-row align-items-center mt-3 mb-3"
|
class="tw-flex tw-flex-row tw-items-center tw-my-3 tw-text-main hover:tw-cursor-pointer"
|
||||||
(click)="toggleOpenIdCustomizations()"
|
(click)="toggleOpenIdCustomizations()"
|
||||||
>
|
>
|
||||||
<h3 class="mb-0 mr-2" id="customizations-header">
|
<h3 class="tw-mb-0 tw-mr-2 tw-font-normal tw-uppercase" id="customizations-header">
|
||||||
{{ "openIdOptionalCustomizations" | i18n }}
|
{{ "openIdOptionalCustomizations" | i18n }}
|
||||||
</h3>
|
</h3>
|
||||||
<button
|
<button
|
||||||
class="mb-1 btn btn-link"
|
bitLink
|
||||||
|
linkType="primary"
|
||||||
type="button"
|
type="button"
|
||||||
appStopClick
|
appStopClick
|
||||||
role="button"
|
role="button"
|
||||||
@ -314,8 +317,10 @@
|
|||||||
<!-- SAML2 SP -->
|
<!-- SAML2 SP -->
|
||||||
<div *ngIf="ssoConfigForm.get('configType').value === ssoType.Saml2" [formGroup]="samlForm">
|
<div *ngIf="ssoConfigForm.get('configType').value === ssoType.Saml2" [formGroup]="samlForm">
|
||||||
<!-- SAML2 SP -->
|
<!-- SAML2 SP -->
|
||||||
<div class="config-section">
|
<div>
|
||||||
<h2 class="secondary-header">{{ "samlSpConfig" | i18n }}</h2>
|
<h2 bitTypography="h2">
|
||||||
|
{{ "samlSpConfig" | i18n }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
<bit-form-control>
|
<bit-form-control>
|
||||||
<bit-label>{{ "spUniqueEntityId" | i18n }}</bit-label>
|
<bit-label>{{ "spUniqueEntityId" | i18n }}</bit-label>
|
||||||
@ -457,8 +462,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- SAML2 IDP -->
|
<!-- SAML2 IDP -->
|
||||||
<div class="config-section">
|
<div>
|
||||||
<h2 class="secondary-header">{{ "samlIdpConfig" | i18n }}</h2>
|
<h2 bitTypography="h2">
|
||||||
|
{{ "samlIdpConfig" | i18n }}
|
||||||
|
</h2>
|
||||||
|
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
<bit-label>{{ "idpEntityId" | i18n }}</bit-label>
|
<bit-label>{{ "idpEntityId" | i18n }}</bit-label>
|
||||||
|
Loading…
Reference in New Issue
Block a user