mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(path) links: add data-name
This commit is contained in:
parent
5d1d9e3433
commit
2fe3595fc6
3 changed files with 4 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
<div data-name="js-path" class="reduce-text" title="{{ fullPath }}"><span class="path-icon clear-storage" title="clear storage (Ctrl+D)"></span><a data-name="js-refresh" href="{{ link }}" class="path-icon refresh-icon" title="refresh (Ctrl+R)"></a><span class=links>{{ path }}</span></div>
|
||||
<div data-name="js-path" class="reduce-text" title="{{ fullPath }}"><span class="path-icon clear-storage" title="clear storage (Ctrl+D)"></span><a data-name="js-refresh" href="{{ link }}" class="path-icon refresh-icon" title="refresh (Ctrl+R)"></a><span data-name="js-links" class=links>{{ path }}</span></div>
|
||||
|
|
@ -85,7 +85,7 @@ var Util, DOM, CloudCmd;
|
|||
panel = DOM.getById(panelId),
|
||||
filesElement = DOM.getByDataName('js-files', panel),
|
||||
pathElement = DOM.getByDataName('js-path', panel),
|
||||
pathLinks = DOM.getByClass('links', pathElement).children,
|
||||
pathLinks = DOM.getByDataName('js-links', pathElement).children,
|
||||
clearStorage = DOM.getByClass('clear-storage', pathElement),
|
||||
refresh = DOM.getByDataName('js-refresh', pathElement);
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ var Util, DOM, CloudCmd;
|
|||
panel = DOM.getById(panelId),
|
||||
filesElement = DOM.getByDataName('js-files', panel),
|
||||
pathElement = DOM.getByDataName('js-path', panel),
|
||||
pathLinks = DOM.getByClass('links', pathElement).children,
|
||||
pathLinks = DOM.getByDataName('js-links', pathElement).children,
|
||||
clearStorage = DOM.getByClass('clear-storage', pathElement),
|
||||
refresh = DOM.getByDataName('js-refresh', pathElement);
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
'</span>' +
|
||||
'<a data-name="js-refresh" href="/fs/etc/X11" ' +
|
||||
'class="path-icon refresh-icon" title="refresh (Ctrl+R)"></a>' +
|
||||
'<span class=links>' +
|
||||
'<span data-name="js-links" class=links>' +
|
||||
'<a href="/fs" title="/">/</a>' +
|
||||
'<a href="/fs/etc" title="/etc">' +
|
||||
'etc' +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue