1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

File Explorer order files alphabetically. Add file timestamp.

This commit is contained in:
Gunther Brunner 2015-10-01 18:56:03 +09:00
parent 2f3de3f516
commit c17dede8c0

View file

@ -28,7 +28,7 @@
th th
div(translate) Permissions div(translate) Permissions
tbody tbody
tr.header(ng-repeat='f in files | filter:search | orderBy: "-mode|isdir"') tr.header(ng-repeat='f in files | filter:search | orderBy: ["-mode|isdir", "+name"]')
td td
button.btn.btn-sm.btn-primary-outline( button.btn.btn-sm.btn-primary-outline(
ng-click='dirEnter(f.name)', ng-show='f.mode|isdir') ng-click='dirEnter(f.name)', ng-show='f.mode|isdir')
@ -43,7 +43,8 @@
span {{f.name}} span {{f.name}}
td td
span(ng-show='f.mode|isdir') - span(ng-show='f.mode|isdir') -
span(ng-hide='f.mode|isdir') {{ f.size }} span(ng-hide='f.mode|isdir') {{f.size}}
td Date td
span {{f.mtime}}
td td
i {{f.mode|mode2unix}} i {{f.mode|mode2unix}}