feature(cloudcmd) readify: add support of links

This commit is contained in:
coderaiser 2018-10-10 12:54:27 +03:00
parent 03685ee390
commit 52ffc2ac28
5 changed files with 31 additions and 23 deletions

View file

@ -20,7 +20,7 @@
<span data-name="js-owner" class="owner reduce-text">root</span>
<span data-name="js-mode" class="mode reduce-text">rwx r-x r-x</span>
</li><li draggable="true" data-name="js-file-JUQwJUIwJUQwJUI5" class="">
<span data-name="js-type" class="mini-icon text-file"></span>
<span data-name="js-type" class="mini-icon file"></span>
<span data-name="js-name" class="name reduce-text"><a href="/fs/etc/X11/ай" title="ай" target="_blank" draggable="true">ай</a></span>
<span data-name="js-size" class="size reduce-text">1.30kb</span>
<span data-name="js-date" class="date reduce-text">--.--.----</span>

View file

@ -41,16 +41,18 @@ const JSON_FILES = {
path : '/etc/X11/',
files : [{
name: 'applnk',
size: 'dir',
size: '4.0.0kb',
date: '21.02.2016',
uid : 0,
mode: 'rwx r-x r-x'
mode: 'rwx r-x r-x',
type: 'directory',
}, {
name: 'ай',
size: '1.30kb',
date: 0,
uid : 0,
mode: 'rwx r-x r-x'
mode: 'rwx r-x r-x',
type: 'file',
}]
};