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>
|
2016-09-13 06:10:24 +08:00
|
|
|
<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>
|
2016-09-13 06:10:24 +08:00
|
|
|
<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>
|
2016-09-15 03:12:10 +08:00
|
|
|
<table class="credential-table" ng-init="menuOpen = false;">
|
|
|
|
<tr ng-repeat="credential in credentials" ng-if="credential.hidden == 0 && credential.delete_time == 0" ng-click="selectCredential(credential)" ng-class="{'selected': selectedCredential.credential_id == credential.credential_id}">
|
2016-09-12 04:14:11 +08:00
|
|
|
<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>
|
2016-09-15 03:12:10 +08:00
|
|
|
<li ng-click="editCredential(credential)"><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>
|
2016-09-15 03:12:10 +08:00
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class="view_pane" ng-class="{'item_selected': selectedCredential}" >
|
|
|
|
<div class="row">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
2016-09-15 03:12:10 +08:00
|
|
|
Label
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
|
|
|
{{selectedCredential.label}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
2016-09-15 03:12:10 +08:00
|
|
|
Account
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
2016-09-15 03:23:55 +08:00
|
|
|
{{selectedCredential.username}}
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
2016-09-15 03:12:10 +08:00
|
|
|
Password
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
2016-09-15 03:23:55 +08:00
|
|
|
{{selectedCredential.password}}
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
|
|
|
E-mail
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
2016-09-15 03:23:55 +08:00
|
|
|
{{selectedCredential.email}}
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-15 03:23:55 +08:00
|
|
|
|
2016-09-15 03:12:10 +08:00
|
|
|
<div class="row">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
|
|
|
Files
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div ng-repeat="file in selectedCredential.files" class="link">
|
|
|
|
{{file.filename}} ({{file.size}})
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row" ng-repeat="field in selectedCredential.custom_fields">
|
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
|
|
|
{{field.label}}
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
|
|
|
{{field.value}}
|
|
|
|
{{field.secret}}
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
2016-09-15 03:12:10 +08:00
|
|
|
Changed
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
2016-09-15 03:23:55 +08:00
|
|
|
{{selectedCredential.changed * 1000 | date:'dd-MM-yyyy @ HH:mm:ss'}}
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2016-09-15 03:23:55 +08:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-2">
|
2016-09-15 03:12:10 +08:00
|
|
|
Created
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-sm-4 col-md-4">
|
2016-09-15 03:23:55 +08:00
|
|
|
{{selectedCredential.created * 1000 | date:'dd-MM-yyyy @ HH:mm:ss'}}
|
2016-09-15 03:12:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|