2016-09-14 05:03:12 +08:00
|
|
|
<div class="row file_tab">
|
|
|
|
<div class="col-xs-12 col-md-6">
|
|
|
|
<input type="file" file-select success="fileLoaded" error="fileLoadError" progress="fileSelectProgress">
|
|
|
|
<span ng-if="fileprogress.file_percent > 0">
|
|
|
|
<div progress-bar="fileprogress.file_percent"></div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row files" ng-if="storedCredential.files.length > 0">
|
|
|
|
<div class="col-xs-12 table">
|
|
|
|
<table>
|
2016-09-14 21:09:55 +08:00
|
|
|
<thead use-theme>
|
2016-09-14 05:03:12 +08:00
|
|
|
<tr>
|
|
|
|
<th class="field_label">Filename</th>
|
|
|
|
<th class="field_value">Upload date</th>
|
2016-09-15 00:57:38 +08:00
|
|
|
<th class="field_secret">Size</th>
|
2016-09-14 05:03:12 +08:00
|
|
|
<th class="field_actions">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tr ng-repeat="file in storedCredential.files">
|
|
|
|
<td>
|
|
|
|
<a href="#" editable-text="file.filename">{{ file.filename || "empty" }}</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
2016-09-16 20:01:25 +08:00
|
|
|
{{file.created * 1000 | date:'dd-MM-yyyy @ HH:mm:ss'}}
|
2016-09-14 05:03:12 +08:00
|
|
|
</td>
|
2016-09-15 04:50:14 +08:00
|
|
|
<td>{{file.size | bytes}}</td>
|
2016-09-14 05:03:12 +08:00
|
|
|
<td class="field_actions">
|
|
|
|
<i class="fa fa-trash" ng-click="deleteFile(file)"></i>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|