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

re-style password change history in box footer

This commit is contained in:
Kyle Spearrin 2018-07-30 22:22:17 -04:00
parent 1423dc0505
commit 5c9bc1f493
3 changed files with 18 additions and 18 deletions

2
jslib

@ -1 +1 @@
Subproject commit cfa4664b3182840ec3f8dac6da8e8562d11468d3 Subproject commit 13769a7fcba0d6ba67519b78e590019573776993

View File

@ -246,25 +246,21 @@
</div> </div>
</div> </div>
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-footer">
{{'other' | i18n}} <div>
</div> <b class="font-weight-semibold">{{'dateUpdated' | i18n}}:</b>
<div class="box-content">
<div class="box-content-row">
<span class="row-label">{{'dateUpdated' | i18n}}</span>
{{cipher.revisionDate | date:'medium'}} {{cipher.revisionDate | date:'medium'}}
</div> </div>
<div class="box-content-row box-content-row-flex" *ngIf="cipher.passwordRevisionDisplayDate"> <div *ngIf="cipher.passwordRevisionDisplayDate">
<div class="row-main"> <b class="font-weight-semibold">{{'datePasswordUpdated' | i18n}}:</b>
<span class="row-label">{{'datePasswordUpdated' | i18n}}</span> {{cipher.passwordRevisionDisplayDate | date:'medium'}}
{{cipher.passwordRevisionDisplayDate | date:'medium'}} </div>
</div> <div *ngIf="cipher.hasPasswordHistory">
<div class="action-buttons" *ngIf="cipher.hasPasswordHistory"> <b class="font-weight-semibold">{{'passwordHistory' | i18n}}:</b>
<a class="row-btn" href="#" appStopClick title="{{'passwordHistory' | i18n}}" <a href="#" (click)="viewHistory()" appStopClick title="{{'passwordHistory' | i18n}}"
(click)="viewHistory()"> class="text-muted">
<i class="fa fa-lg fa-clock-o"></i> {{cipher.passwordHistory.length}}
</a> </a>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -36,6 +36,10 @@ small {
margin: 0 !important; margin: 0 !important;
} }
.font-weight-semibold {
font-weight: 600;
}
p.lead { p.lead {
font-size: $font-size-large; font-size: $font-size-large;
margin-bottom: 20px; margin-bottom: 20px;