1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

aria modals

This commit is contained in:
Kyle Spearrin 2019-04-01 23:27:54 -04:00
parent 28ed98b324
commit a91a521722
12 changed files with 33 additions and 33 deletions

View File

@ -1,5 +1,5 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" attr.aria-label="{{'settings' | i18n}}">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<form class="modal-content" (ngSubmit)="submit()"> <form class="modal-content" (ngSubmit)="submit()">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="premiumTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="premiumTitle">
{{'premiumMembership' | i18n}} {{'premiumMembership' | i18n}}
</div> </div>
<div class="box-content box-content-padded"> <div class="box-content box-content-padded">

View File

@ -1,5 +1,5 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" attr.aria-label="{{'settings' | i18n}}">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body form"> <div class="modal-body form">
<div class="box"> <div class="box">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="twoStepTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="twoStepTitle">
{{'twoStepOptions' | i18n}} {{'twoStepOptions' | i18n}}
</div> </div>
<div class="box-content"> <div class="box-content">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="attachmentsTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise"> <form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
<div class="modal-body"> <div class="modal-body">
<div class="box" *ngIf="cipher && cipher.hasAttachments"> <div class="box" *ngIf="cipher && cipher.hasAttachments">
<div class="box-header"> <div class="box-header" id="attachmentsTitle">
{{'attachments' | i18n}} {{'attachments' | i18n}}
</div> </div>
<div class="box-content no-hover"> <div class="box-content no-hover">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="collectionsTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise"> <form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="collectionsTitle">
{{'collections' | i18n}} {{'collections' | i18n}}
</div> </div>
<div class="box-content" *ngIf="!collections || !collections.length"> <div class="box-content" *ngIf="!collections || !collections.length">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="exportTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<form class="modal-content" #form (ngSubmit)="submit()"> <form class="modal-content" #form (ngSubmit)="submit()">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="exportTitle">
{{'exportVault' | i18n}} {{'exportVault' | i18n}}
</div> </div>
<div class="box-content"> <div class="box-content">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="folderAddEditTitle">
<div class="modal-dialog modal-sm"> <div class="modal-dialog modal-sm" role="document">
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise"> <form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="folderAddEditTitle">
{{title}} {{title}}
</div> </div>
<div class="box-content"> <div class="box-content">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="passwordGenHistoryTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="passwordGenHistoryTitle">
{{'passwordHistory' | i18n}} {{'passwordHistory' | i18n}}
</div> </div>
<div class="box-content condensed"> <div class="box-content condensed">

View File

@ -1,5 +1,5 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" attr.aria-label="{{'generatePassword' | i18n}}">
<div class="modal-dialog modal-sm"> <div class="modal-dialog modal-sm" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body"> <div class="modal-body">
<div class="password-block"> <div class="password-block">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="passwordHistoryTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="passwordHistoryTitle">
{{'passwordHistory' | i18n}} {{'passwordHistory' | i18n}}
</div> </div>
<div class="box-content condensed"> <div class="box-content condensed">

View File

@ -1,9 +1,9 @@
<div class="modal fade"> <div class="modal fade" tabindex="-1" role="dialog" aria-modal="true" aria-labelledby="shareTitle">
<div class="modal-dialog"> <div class="modal-dialog" role="document">
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise"> <form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
<div class="modal-body"> <div class="modal-body">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header" id="shareTitle">
{{'share' | i18n}} {{'share' | i18n}}
</div> </div>
<div class="box-content" *ngIf="!organizations || !organizations.length"> <div class="box-content" *ngIf="!organizations || !organizations.length">