passman/templates/views/show_vault.html

66 lines
1.9 KiB
HTML
Raw Normal View History

2016-09-12 04:14:11 +08:00
<div id="controls">
<div class="breadcrumb">
<!--<div class="crumb svg last" data-dir="/"><a-->
<!--href="/ncdev/index.php/apps/files?dir=/"><img class="svg"-->
<!--src="/ncdev/core/img/places/home.svg"-->
<!--alt="Home"></a>-->
<!--</div>-->
</div>
<div class="actions creatable">
2016-09-12 05:40:06 +08:00
<span ng-click="menuOpen = !menuOpen" class="button new" ng-init="menuOpen = false" off-click="menuOpen = false;">
<span
>New</span></span>
<div class="actionList popovermenu bubble menu" ng-show="menuOpen">
<ul>
<li>
<span ng-click="addCredential()" class="menuitem action">
<span
class="icon icon-rename"></span>
<span>New credential</span>
</span>
2016-09-12 05:40:06 +08:00
</li>
<li>
<span href="#" class="menuitem action">
<span class="icon icon-shared"></span>
<span>New shared credential</span>
</span>
2016-09-12 05:40:06 +08:00
</li>
</ul>
</div>
2016-09-12 04:14:11 +08:00
</div>
</div>
<table class="credential-table" ng-init="menuOpen = false">
<tr ng-repeat="credential in credentials">
<td>
<span class="label">{{credential.label}}</span>
2016-09-12 05:40:06 +08:00
<span class="icon icon-more" ng-click="menuOpen = !menuOpen"
off-click="menuOpen = false;"></span>
2016-09-12 04:14:11 +08:00
<span class="tags">
<span class="tag">Tag 1</span>
<span class="tag">Tag 2</span>
<span class="tag">Tag 4</span>
<span class="tag">Tag 4</span>
<span class="tag">Long tag xD</span>
</span>
<div class="actionList popovermenu bubble menu" ng-show="menuOpen">
<ul>
<li><span
2016-09-12 05:40:06 +08:00
class="menuitem action"
><span
2016-09-12 04:14:11 +08:00
class="icon icon-rename"></span><span>Edit</span></span>
</li>
<li><span href="#"
2016-09-12 05:40:06 +08:00
class="menuitem action"
><span
2016-09-12 04:14:11 +08:00
class="icon icon-share"></span><span>Share</span></span>
</li>
<li><span
2016-09-12 05:40:06 +08:00
class="menuitem action"
data-action="Delete"><span
2016-09-12 04:14:11 +08:00
class="icon icon-delete"></span><span>Delete</span></span>
</li>
</ul>
</div>
</td>
</tr>
</table>