2021-10-25 08:26:12 +02:00
|
|
|
<div class="modal fade" role="dialog" aria-modal="true" aria-labelledby="passwordGenHistoryTitle">
|
2019-04-02 05:27:54 +02:00
|
|
|
<div class="modal-dialog" role="document">
|
2018-02-18 04:37:43 +01:00
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="box">
|
2019-04-02 05:27:54 +02:00
|
|
|
<div class="box-header" id="passwordGenHistoryTitle">
|
2018-02-18 04:37:43 +01:00
|
|
|
{{ "passwordHistory" | i18n }}
|
|
|
|
</div>
|
|
|
|
<div class="box-content condensed">
|
|
|
|
<div class="box-content-row box-content-row-flex" *ngFor="let h of history">
|
|
|
|
<div class="row-main">
|
2019-04-01 19:40:49 +02:00
|
|
|
<div
|
2022-03-29 21:01:57 +02:00
|
|
|
class="generated-wrapper monospaced"
|
2019-04-01 19:40:49 +02:00
|
|
|
appSelectCopy
|
2019-02-21 22:53:32 +01:00
|
|
|
[innerHTML]="h.password | colorPassword"
|
|
|
|
></div>
|
2018-02-18 04:37:43 +01:00
|
|
|
<span class="detail">{{ h.date | date: "medium" }}</span>
|
|
|
|
</div>
|
|
|
|
<div class="action-buttons">
|
Change links to buttons, expose `aria-pressed` for toggles, add `aria-expanded` to send view's "Options" (#1437)
* Change links to buttons, expose `aria-pressed` for toggles
- also make existing `<a routerLink...>` type controls keyboard focusable with the addition of `tabindex="0"`
* Correctly set aria-pressed
now that I have a working build environment, could verify correct way to set this with my limited Angular knowledge
* Change more links to buttons, initial style changes
* Fix layout of <button> elements with .box-content-row
* Update jslib submodule
* Add `aria-expanded` to the send view's "Show options" expand/collapse control
* Fix position of "Edit" pencil when hovering over folders
* Update jslib
* Change sends list links to buttons
* Add `aria-pressed` to vault and send list buttons
Programmatically denote which of the buttons is currently active/shown in the right-most panel
* Fix incorrect "Options" expand/collapse button in add-edit view
Currently, that buttons lacks an accName because the "Options" text is outside of it.
* Add `aria-pressed` to the send left-hand column filters
* Simplify base, list, and vault styles
Since links are now buttons, no need to double up selectors for both types of elements. No need to double-up theming in base, as this also causes incorrect "x" in toasts.
* Remove unnecessary `position:relative`
Fixes issue with cut-off focus outlines, has no other adverse effect
* Fix styling for last child of action buttons
Old approach of making right padding smaller results in unsightly, off-center icon (noticeable when focus outline is visible). This visually remains the same, but reduces right-hand margin instead.
2022-04-30 16:09:41 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
2019-04-02 04:43:42 +02:00
|
|
|
class="row-btn"
|
|
|
|
appStopClick
|
|
|
|
appA11yTitle="{{ 'copyPassword' | i18n }}"
|
2019-04-03 06:04:42 +02:00
|
|
|
(click)="copy(h.password)"
|
|
|
|
>
|
2022-01-27 18:21:53 +01:00
|
|
|
<i class="bwi bwi-lg bwi-clone" aria-hidden="true"></i>
|
Change links to buttons, expose `aria-pressed` for toggles, add `aria-expanded` to send view's "Options" (#1437)
* Change links to buttons, expose `aria-pressed` for toggles
- also make existing `<a routerLink...>` type controls keyboard focusable with the addition of `tabindex="0"`
* Correctly set aria-pressed
now that I have a working build environment, could verify correct way to set this with my limited Angular knowledge
* Change more links to buttons, initial style changes
* Fix layout of <button> elements with .box-content-row
* Update jslib submodule
* Add `aria-expanded` to the send view's "Show options" expand/collapse control
* Fix position of "Edit" pencil when hovering over folders
* Update jslib
* Change sends list links to buttons
* Add `aria-pressed` to vault and send list buttons
Programmatically denote which of the buttons is currently active/shown in the right-most panel
* Fix incorrect "Options" expand/collapse button in add-edit view
Currently, that buttons lacks an accName because the "Options" text is outside of it.
* Add `aria-pressed` to the send left-hand column filters
* Simplify base, list, and vault styles
Since links are now buttons, no need to double up selectors for both types of elements. No need to double-up theming in base, as this also causes incorrect "x" in toasts.
* Remove unnecessary `position:relative`
Fixes issue with cut-off focus outlines, has no other adverse effect
* Fix styling for last child of action buttons
Old approach of making right padding smaller results in unsightly, off-center icon (noticeable when focus outline is visible). This visually remains the same, but reduces right-hand margin instead.
2022-04-30 16:09:41 +02:00
|
|
|
</button>
|
2018-02-18 04:37:43 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-04-02 04:43:42 +02:00
|
|
|
<div class="box-content-row" *ngIf="!history.length">
|
|
|
|
{{ "noPasswordsInList" | i18n }}
|
2018-02-18 04:37:43 +01:00
|
|
|
</div>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-02-18 04:37:43 +01:00
|
|
|
</div>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-02-18 04:37:43 +01:00
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" data-dismiss="modal">{{ "close" | i18n }}</button>
|
|
|
|
<div class="right">
|
2021-12-20 15:47:17 +01:00
|
|
|
<button
|
2018-02-18 04:37:43 +01:00
|
|
|
type="button"
|
2019-04-02 04:43:42 +02:00
|
|
|
(click)="clear()"
|
2021-10-25 08:26:12 +02:00
|
|
|
class="danger"
|
2019-04-02 04:43:42 +02:00
|
|
|
appA11yTitle="{{ 'clear' | i18n }}"
|
2021-12-20 15:47:17 +01:00
|
|
|
>
|
2022-01-27 18:21:53 +01:00
|
|
|
<i class="bwi bwi-trash bwi-lg bwi-fw" aria-hidden="true"></i>
|
2018-02-18 04:37:43 +01:00
|
|
|
</button>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-18 04:37:43 +01:00
|
|
|
</div>
|
2021-12-20 15:47:17 +01:00
|
|
|
</div>
|
2018-02-18 04:37:43 +01:00
|
|
|
</div>
|