1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

Adjust autofill to handle sites with no username/password

This commit is contained in:
Kyle Spearrin
2016-10-13 23:42:08 -04:00
parent 6b3416a367
commit 9e2b64d0c4
4 changed files with 40 additions and 30 deletions

View File

@@ -18,7 +18,7 @@
<span class="item-label">Name</span>
{{site.name}}
</div>
<div class="list-section-item" ng-show="site.uri">
<div class="list-section-item" ng-if="site.uri">
<a class="btn-list" href="" title="Launch Website" ng-click="launchWebsite(site)"
ng-show="site.showLaunch">
<i class="fa fa-lg fa-share-square-o"></i>
@@ -26,7 +26,7 @@
<span class="item-label">Website</span>
{{site.website}}
</div>
<div class="list-section-item" ng-show="site.username">
<div class="list-section-item" ng-if="site.username">
<a class="btn-list" href="" title="Copy Username" ngclipboard ngclipboard-error="clipboardError(e)"
ngclipboard-success="clipboardSuccess(e, 'Username')" data-clipboard-target="#username">
<i class="fa fa-lg fa-clipboard"></i>
@@ -34,7 +34,7 @@
<span class="item-label">Username</span>
<span id="username" class="monospaced">{{site.username}}</span>
</div>
<div class="list-section-item" ng-show="site.password">
<div class="list-section-item" ng-if="site.password">
<a class="btn-list" href="" title="Copy Password" ngclipboard ngclipboard-error="clipboardError(e)"
ngclipboard-success="clipboardSuccess(e, 'Password')" data-clipboard-target="#password">
<i class="fa fa-lg fa-clipboard"></i>
@@ -48,7 +48,7 @@
</div>
</div>
</div>
<div class="list-section" ng-show="site.notes">
<div class="list-section" ng-if="site.notes">
<div class="list-section-header">
Notes
</div>

View File

@@ -6,6 +6,10 @@
@import "plugins.less";
@import "pages.less";
html {
-webkit-font-smoothing: antialiased;
}
body {
width: 320px !important;
height: 568px !important;